google-api-client 0.37.0 → 0.37.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +76 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +236 -22
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +104 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +135 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +24 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +64 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +31 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +10 -1
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +98 -34
- data/generated/google/apis/cloudasset_v1/representations.rb +19 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +152 -151
- data/generated/google/apis/cloudidentity_v1/representations.rb +72 -72
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +0 -560
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +0 -226
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +144 -0
- data/generated/google/apis/cloudtrace_v2beta1/representations.rb +82 -0
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +190 -46
- data/generated/google/apis/compute_alpha/representations.rb +35 -14
- data/generated/google/apis/compute_alpha/service.rb +40 -56
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +98 -24
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +123 -19
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +4 -3
- data/generated/google/apis/datacatalog_v1beta1/service.rb +190 -17
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +40 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +67 -0
- data/generated/google/apis/dataproc_v1/representations.rb +23 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +2 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -19
- data/generated/google/apis/file_v1/service.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +4 -17
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +10 -5
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +84 -0
- data/generated/google/apis/logging_v2/representations.rb +33 -0
- data/generated/google/apis/logging_v2/service.rb +680 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +21 -18
- data/generated/google/apis/monitoring_v3/service.rb +27 -18
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1/classes.rb +970 -0
- data/generated/google/apis/secretmanager_v1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1/service.rb +675 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +36 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +19 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +94 -85
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +29 -0
- data/generated/google/apis/testing_v1/representations.rb +15 -0
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -3
@@ -28,84 +28,6 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
|
-
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
|
-
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
|
-
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
31
|
class Group
|
110
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
33
|
|
@@ -192,154 +114,6 @@ module Google
|
|
192
114
|
end
|
193
115
|
end
|
194
116
|
|
195
|
-
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
196
|
-
# @private
|
197
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
198
|
-
property :baseband_version, as: 'basebandVersion'
|
199
|
-
property :bootloader_version, as: 'bootloaderVersion'
|
200
|
-
property :build_number, as: 'buildNumber'
|
201
|
-
property :enabled_developer_options, as: 'enabledDeveloperOptions'
|
202
|
-
property :enabled_unknown_sources, as: 'enabledUnknownSources'
|
203
|
-
property :enabled_usb_debugging, as: 'enabledUsbDebugging'
|
204
|
-
property :encryption_state, as: 'encryptionState'
|
205
|
-
property :hardware, as: 'hardware'
|
206
|
-
property :kernel_version, as: 'kernelVersion'
|
207
|
-
collection :other_accounts, as: 'otherAccounts'
|
208
|
-
property :owner_profile_account, as: 'ownerProfileAccount'
|
209
|
-
property :ownership_privilege, as: 'ownershipPrivilege'
|
210
|
-
property :security_patch_time, as: 'securityPatchTime'
|
211
|
-
property :supports_work_profile, as: 'supportsWorkProfile'
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
216
|
-
# @private
|
217
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
218
|
-
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
219
|
-
|
220
|
-
end
|
221
|
-
end
|
222
|
-
|
223
|
-
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
224
|
-
# @private
|
225
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
226
|
-
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
227
|
-
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
232
|
-
# @private
|
233
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
-
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
235
|
-
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
240
|
-
# @private
|
241
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
-
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
243
|
-
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
248
|
-
# @private
|
249
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
-
property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes::Representation
|
251
|
-
|
252
|
-
property :asset_tag, as: 'assetTag'
|
253
|
-
property :brand, as: 'brand'
|
254
|
-
property :compromised_state, as: 'compromisedState'
|
255
|
-
property :create_time, as: 'createTime'
|
256
|
-
property :device_type, as: 'deviceType'
|
257
|
-
property :imei, as: 'imei'
|
258
|
-
property :last_sync_time, as: 'lastSyncTime'
|
259
|
-
property :management_state, as: 'managementState'
|
260
|
-
property :manufacturer, as: 'manufacturer'
|
261
|
-
property :meid, as: 'meid'
|
262
|
-
property :model, as: 'model'
|
263
|
-
property :name, as: 'name'
|
264
|
-
property :network_operator, as: 'networkOperator'
|
265
|
-
property :os_version, as: 'osVersion'
|
266
|
-
property :owner_type, as: 'ownerType'
|
267
|
-
property :release_version, as: 'releaseVersion'
|
268
|
-
property :serial_number, as: 'serialNumber'
|
269
|
-
collection :wifi_mac_addresses, as: 'wifiMacAddresses'
|
270
|
-
end
|
271
|
-
end
|
272
|
-
|
273
|
-
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
274
|
-
# @private
|
275
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :compromised_state, as: 'compromisedState'
|
277
|
-
property :first_sync_time, as: 'firstSyncTime'
|
278
|
-
property :language_code, as: 'languageCode'
|
279
|
-
property :last_sync_time, as: 'lastSyncTime'
|
280
|
-
property :management_state, as: 'managementState'
|
281
|
-
property :name, as: 'name'
|
282
|
-
property :password_state, as: 'passwordState'
|
283
|
-
property :user_agent, as: 'userAgent'
|
284
|
-
property :user_email, as: 'userEmail'
|
285
|
-
end
|
286
|
-
end
|
287
|
-
|
288
|
-
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
289
|
-
# @private
|
290
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
291
|
-
property :display_name, as: 'displayName'
|
292
|
-
property :name, as: 'name'
|
293
|
-
property :package_name, as: 'packageName'
|
294
|
-
collection :permissions, as: 'permissions'
|
295
|
-
property :version_code, as: 'versionCode'
|
296
|
-
property :version_name, as: 'versionName'
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
301
|
-
# @private
|
302
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
-
collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
304
|
-
|
305
|
-
property :next_page_token, as: 'nextPageToken'
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
310
|
-
# @private
|
311
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
-
collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
313
|
-
|
314
|
-
property :next_page_token, as: 'nextPageToken'
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
|
-
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
319
|
-
# @private
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
-
collection :endpoint_apps, as: 'endpointApps', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp::Representation
|
322
|
-
|
323
|
-
property :next_page_token, as: 'nextPageToken'
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
328
|
-
# @private
|
329
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
-
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
331
|
-
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
336
|
-
# @private
|
337
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
338
|
-
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
339
|
-
|
340
|
-
end
|
341
|
-
end
|
342
|
-
|
343
117
|
class Group
|
344
118
|
# @private
|
345
119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200210'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200210'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/cloudtrace_v2beta1/service.rb'
|
16
|
+
require 'google/apis/cloudtrace_v2beta1/classes.rb'
|
17
|
+
require 'google/apis/cloudtrace_v2beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Stackdriver Trace API
|
22
|
+
#
|
23
|
+
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
24
|
+
# collected for all App Engine applications by default. Trace data from other
|
25
|
+
# applications can be provided using this API. This library is used to interact
|
26
|
+
# with the Trace API directly. If you are looking to instrument your application
|
27
|
+
# for Stackdriver Trace, we recommend using OpenCensus.
|
28
|
+
#
|
29
|
+
# @see https://cloud.google.com/trace
|
30
|
+
module CloudtraceV2beta1
|
31
|
+
VERSION = 'V2beta1'
|
32
|
+
REVISION = '20200212'
|
33
|
+
|
34
|
+
# View and manage your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
|
+
|
37
|
+
# Write Trace data for a project or application
|
38
|
+
AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append'
|
39
|
+
|
40
|
+
# Read Trace data for a project or application
|
41
|
+
AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CloudtraceV2beta1
|
24
|
+
|
25
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
26
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
27
|
+
# or the response type of an API method. For instance:
|
28
|
+
# service Foo `
|
29
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
30
|
+
# `
|
31
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
32
|
+
class Empty
|
33
|
+
include Google::Apis::Core::Hashable
|
34
|
+
|
35
|
+
def initialize(**args)
|
36
|
+
update!(**args)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Update properties of this object
|
40
|
+
def update!(**args)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# Result returned from `ListTraceSinks`.
|
45
|
+
class ListTraceSinksResponse
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
# If there might be more results than appear in this response, then
|
49
|
+
# `nextPageToken` is included. To get the next set of results, call the same
|
50
|
+
# method again using the value of `nextPageToken` as `pageToken`.
|
51
|
+
# Corresponds to the JSON property `nextPageToken`
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :next_page_token
|
54
|
+
|
55
|
+
# A list of sinks.
|
56
|
+
# Corresponds to the JSON property `sinks`
|
57
|
+
# @return [Array<Google::Apis::CloudtraceV2beta1::TraceSink>]
|
58
|
+
attr_accessor :sinks
|
59
|
+
|
60
|
+
def initialize(**args)
|
61
|
+
update!(**args)
|
62
|
+
end
|
63
|
+
|
64
|
+
# Update properties of this object
|
65
|
+
def update!(**args)
|
66
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
67
|
+
@sinks = args[:sinks] if args.key?(:sinks)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# OutputConfig contains a destination for writing trace data.
|
72
|
+
class OutputConfig
|
73
|
+
include Google::Apis::Core::Hashable
|
74
|
+
|
75
|
+
# The destination for writing trace data. Currently only BigQuery is
|
76
|
+
# supported. E.g.:
|
77
|
+
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
78
|
+
# Corresponds to the JSON property `destination`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :destination
|
81
|
+
|
82
|
+
def initialize(**args)
|
83
|
+
update!(**args)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Update properties of this object
|
87
|
+
def update!(**args)
|
88
|
+
@destination = args[:destination] if args.key?(:destination)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# Describes a sink used to export traces to a BigQuery dataset. The sink must
|
93
|
+
# be created within a project.
|
94
|
+
class TraceSink
|
95
|
+
include Google::Apis::Core::Hashable
|
96
|
+
|
97
|
+
# Required. The canonical sink resource name, unique within the project. Must be
|
98
|
+
# of the
|
99
|
+
# form:
|
100
|
+
# project/[PROJECT_NUMBER]/traceSinks/[SINK_ID].
|
101
|
+
# E.g.:
|
102
|
+
# `"projects/12345/traceSinks/my-project-trace-sink"`.
|
103
|
+
# Sink identifiers are limited to 256 characters and can include only the
|
104
|
+
# following characters: upper and lower-case alphanumeric characters,
|
105
|
+
# underscores, hyphens, and periods.
|
106
|
+
# Corresponds to the JSON property `name`
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :name
|
109
|
+
|
110
|
+
# OutputConfig contains a destination for writing trace data.
|
111
|
+
# Corresponds to the JSON property `outputConfig`
|
112
|
+
# @return [Google::Apis::CloudtraceV2beta1::OutputConfig]
|
113
|
+
attr_accessor :output_config
|
114
|
+
|
115
|
+
# Output only. A service account name for exporting the data. This field is
|
116
|
+
# set by sinks.create and sinks.update. The service account will need to be
|
117
|
+
# granted write access to the destination specified in the output
|
118
|
+
# configuration, see [Granting access for a
|
119
|
+
# resource](/iam/docs/granting-roles-to-service-accounts#
|
120
|
+
# granting_access_to_a_service_account_for_a_resource).
|
121
|
+
# To create tables and write data this account will need the dataEditor role.
|
122
|
+
# Read more about roles in the [BigQuery
|
123
|
+
# documentation](https://cloud.google.com/bigquery/docs/access-control#
|
124
|
+
# permissions_and_roles).
|
125
|
+
# E.g.:
|
126
|
+
# "service-00000001@00000002.iam.gserviceaccount.com"
|
127
|
+
# Corresponds to the JSON property `writerIdentity`
|
128
|
+
# @return [String]
|
129
|
+
attr_accessor :writer_identity
|
130
|
+
|
131
|
+
def initialize(**args)
|
132
|
+
update!(**args)
|
133
|
+
end
|
134
|
+
|
135
|
+
# Update properties of this object
|
136
|
+
def update!(**args)
|
137
|
+
@name = args[:name] if args.key?(:name)
|
138
|
+
@output_config = args[:output_config] if args.key?(:output_config)
|
139
|
+
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CloudtraceV2beta1
|
24
|
+
|
25
|
+
class Empty
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ListTraceSinksResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class OutputConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class TraceSink
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Empty
|
50
|
+
# @private
|
51
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
class ListTraceSinksResponse
|
56
|
+
# @private
|
57
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
+
property :next_page_token, as: 'nextPageToken'
|
59
|
+
collection :sinks, as: 'sinks', class: Google::Apis::CloudtraceV2beta1::TraceSink, decorator: Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
60
|
+
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
class OutputConfig
|
65
|
+
# @private
|
66
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
67
|
+
property :destination, as: 'destination'
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class TraceSink
|
72
|
+
# @private
|
73
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
74
|
+
property :name, as: 'name'
|
75
|
+
property :output_config, as: 'outputConfig', class: Google::Apis::CloudtraceV2beta1::OutputConfig, decorator: Google::Apis::CloudtraceV2beta1::OutputConfig::Representation
|
76
|
+
|
77
|
+
property :writer_identity, as: 'writerIdentity'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|