Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::GoogleBigQueryLinkedService

Inherits:
LinkedService
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb

Overview

Google BigQuery service linked service.

Instance Attribute Summary collapse

Attributes inherited from LinkedService

#additional_properties, #annotations, #connect_via, #description, #parameters

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGoogleBigQueryLinkedService

Returns a new instance of GoogleBigQueryLinkedService.



16
17
18
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 16

def initialize
  @type = "GoogleBigQuery"
end

Instance Attribute Details

#additional_projectsObject

Returns A comma-separated list of public BigQuery projects to access.

Returns:

  • A comma-separated list of public BigQuery projects to access.



26
27
28
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 26

def additional_projects
  @additional_projects
end

#authentication_typeGoogleBigQueryAuthenticationType

mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR. Possible values include: ‘ServiceAuthentication’, ‘UserAuthentication’

Returns:



37
38
39
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 37

def authentication_type
  @authentication_type
end

#client_idSecretBase

acquire the refresh token.

Returns:

  • (SecretBase)

    The client id of the google application used to



45
46
47
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 45

def client_id
  @client_id
end

#client_secretSecretBase

to acquire the refresh token.

Returns:

  • (SecretBase)

    The client secret of the google application used



49
50
51
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 49

def client_secret
  @client_secret
end

#emailObject

ServiceAuthentication and can only be used on self-hosted IR.

Returns:

  • The service account email ID that is used for



53
54
55
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 53

def email
  @email
end

#encrypted_credentialObject

are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).

Returns:

  • The encrypted credential used for authentication. Credentials



73
74
75
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 73

def encrypted_credential
  @encrypted_credential
end

#key_file_pathObject

the service account email address and can only be used on self-hosted IR.

Returns:

  • The full path to the .p12 key file that is used to authenticate



58
59
60
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 58

def key_file_path
  @key_file_path
end

#projectObject

Returns The default BigQuery project to query against.

Returns:

  • The default BigQuery project to query against.



23
24
25
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 23

def project
  @project
end

#refresh_tokenSecretBase

authorizing access to BigQuery for UserAuthentication.

Returns:

  • (SecretBase)

    The refresh token obtained from Google for



41
42
43
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 41

def refresh_token
  @refresh_token
end

#request_google_drive_scopeObject

Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.

Returns:

  • Whether to request access to Google Drive. Allowing Google



31
32
33
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 31

def request_google_drive_scope
  @request_google_drive_scope
end

#trusted_cert_pathObject

certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.

Returns:

  • The full path of the .pem file containing trusted CA



64
65
66
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 64

def trusted_cert_path
  @trusted_cert_path
end

#typeObject

Returns the value of attribute type.



20
21
22
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 20

def type
  @type
end

#use_system_trust_storeObject

store or from a specified PEM file. The default value is false.

Returns:

  • Specifies whether to use a CA certificate from the system trust



68
69
70
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 68

def use_system_trust_store
  @use_system_trust_store
end

Class Method Details

.mapperObject

Mapper for GoogleBigQueryLinkedService class as Ruby Hash. This will be used for serialization/deserialization.



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb', line 80

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GoogleBigQuery',
    type: {
      name: 'Composite',
      class_name: 'GoogleBigQueryLinkedService',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        connect_via: {
          client_side_validation: true,
          required: false,
          serialized_name: 'connectVia',
          type: {
            name: 'Composite',
            class_name: 'IntegrationRuntimeReference'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParameterSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParameterSpecification'
                }
            }
          }
        },
        annotations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'annotations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        project: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.project',
          type: {
            name: 'Object'
          }
        },
        additional_projects: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.additionalProjects',
          type: {
            name: 'Object'
          }
        },
        request_google_drive_scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.requestGoogleDriveScope',
          type: {
            name: 'Object'
          }
        },
        authentication_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'typeProperties.authenticationType',
          type: {
            name: 'String'
          }
        },
        refresh_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.refreshToken',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        client_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.clientId',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        client_secret: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.clientSecret',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'type',
            uber_parent: 'SecretBase',
            class_name: 'SecretBase'
          }
        },
        email: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.email',
          type: {
            name: 'Object'
          }
        },
        key_file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.keyFilePath',
          type: {
            name: 'Object'
          }
        },
        trusted_cert_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.trustedCertPath',
          type: {
            name: 'Object'
          }
        },
        use_system_trust_store: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.useSystemTrustStore',
          type: {
            name: 'Object'
          }
        },
        encrypted_credential: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeProperties.encryptedCredential',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end