google-api-client 0.21.1 → 0.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +4 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +33 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +2 -2
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +42 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +11 -4
- data/generated/google/apis/appengine_v1/service.rb +28 -19
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
- data/generated/google/apis/appengine_v1beta/service.rb +28 -19
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -6
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +2 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +49 -52
- data/generated/google/apis/composer_v1beta1/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +18 -18
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1/service.rb +18 -18
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v2_8/service.rb +4 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v3_0/service.rb +4 -1
- data/generated/google/apis/dfareporting_v3_1.rb +40 -0
- data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
- data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
- data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +20 -0
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1 -5
- data/generated/google/apis/jobs_v2/service.rb +9 -10
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -0
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +6 -6
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +120 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +517 -0
- data/generated/google/apis/vision_v1/representations.rb +272 -0
- data/generated/google/apis/vision_v1/service.rb +35 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +3411 -1415
- data/generated/google/apis/vision_v1p1beta1/representations.rb +868 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2521 -822
- data/generated/google/apis/vision_v1p2beta1/representations.rb +758 -14
- data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
- data/generated/google/apis/youtube_analytics_v2.rb +2 -2
- data/generated/google/apis/youtube_analytics_v2/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2
|
|
29
29
|
VERSION = 'V2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180515'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -208,6 +208,11 @@ module Google
|
|
|
208
208
|
# @return [Fixnum]
|
|
209
209
|
attr_accessor :rows_limit
|
|
210
210
|
|
|
211
|
+
#
|
|
212
|
+
# Corresponds to the JSON property `sampleMethod`
|
|
213
|
+
# @return [String]
|
|
214
|
+
attr_accessor :sample_method
|
|
215
|
+
|
|
211
216
|
# Message defining the location of a BigQuery table. A table is uniquely
|
|
212
217
|
# identified by its project_id, dataset_id, and table_name. Within a query
|
|
213
218
|
# a table is often referenced with a string in the format of:
|
|
@@ -225,6 +230,7 @@ module Google
|
|
|
225
230
|
def update!(**args)
|
|
226
231
|
@identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
|
|
227
232
|
@rows_limit = args[:rows_limit] if args.key?(:rows_limit)
|
|
233
|
+
@sample_method = args[:sample_method] if args.key?(:sample_method)
|
|
228
234
|
@table_reference = args[:table_reference] if args.key?(:table_reference)
|
|
229
235
|
end
|
|
230
236
|
end
|
|
@@ -598,6 +604,18 @@ module Google
|
|
|
598
604
|
# @return [Array<String>]
|
|
599
605
|
attr_accessor :file_types
|
|
600
606
|
|
|
607
|
+
# Limits the number of files to scan to this percentage of the input FileSet.
|
|
608
|
+
# Number of files scanned is rounded down. Must be between 0 and 100,
|
|
609
|
+
# inclusively. Both 0 and 100 means no limit. Defaults to 0.
|
|
610
|
+
# Corresponds to the JSON property `filesLimitPercent`
|
|
611
|
+
# @return [Fixnum]
|
|
612
|
+
attr_accessor :files_limit_percent
|
|
613
|
+
|
|
614
|
+
#
|
|
615
|
+
# Corresponds to the JSON property `sampleMethod`
|
|
616
|
+
# @return [String]
|
|
617
|
+
attr_accessor :sample_method
|
|
618
|
+
|
|
601
619
|
def initialize(**args)
|
|
602
620
|
update!(**args)
|
|
603
621
|
end
|
|
@@ -607,6 +625,8 @@ module Google
|
|
|
607
625
|
@bytes_limit_per_file = args[:bytes_limit_per_file] if args.key?(:bytes_limit_per_file)
|
|
608
626
|
@file_set = args[:file_set] if args.key?(:file_set)
|
|
609
627
|
@file_types = args[:file_types] if args.key?(:file_types)
|
|
628
|
+
@files_limit_percent = args[:files_limit_percent] if args.key?(:files_limit_percent)
|
|
629
|
+
@sample_method = args[:sample_method] if args.key?(:sample_method)
|
|
610
630
|
end
|
|
611
631
|
end
|
|
612
632
|
|
|
@@ -963,6 +963,7 @@ module Google
|
|
|
963
963
|
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
|
964
964
|
|
|
965
965
|
property :rows_limit, :numeric_string => true, as: 'rowsLimit'
|
|
966
|
+
property :sample_method, as: 'sampleMethod'
|
|
966
967
|
property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
|
|
967
968
|
|
|
968
969
|
end
|
|
@@ -1075,6 +1076,8 @@ module Google
|
|
|
1075
1076
|
property :file_set, as: 'fileSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet::Representation
|
|
1076
1077
|
|
|
1077
1078
|
collection :file_types, as: 'fileTypes'
|
|
1079
|
+
property :files_limit_percent, as: 'filesLimitPercent'
|
|
1080
|
+
property :sample_method, as: 'sampleMethod'
|
|
1078
1081
|
end
|
|
1079
1082
|
end
|
|
1080
1083
|
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/identity-toolkit/v3/
|
|
26
26
|
module IdentitytoolkitV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180419'
|
|
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'
|
|
@@ -419,6 +419,18 @@ module Google
|
|
|
419
419
|
# @return [String]
|
|
420
420
|
attr_accessor :session_id
|
|
421
421
|
|
|
422
|
+
# For multi-tenant use cases, in order to construct sign-in URL with the correct
|
|
423
|
+
# IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs
|
|
424
|
+
# from.
|
|
425
|
+
# Corresponds to the JSON property `tenantId`
|
|
426
|
+
# @return [String]
|
|
427
|
+
attr_accessor :tenant_id
|
|
428
|
+
|
|
429
|
+
# Tenant project number to be used for idp discovery.
|
|
430
|
+
# Corresponds to the JSON property `tenantProjectNumber`
|
|
431
|
+
# @return [Fixnum]
|
|
432
|
+
attr_accessor :tenant_project_number
|
|
433
|
+
|
|
422
434
|
def initialize(**args)
|
|
423
435
|
update!(**args)
|
|
424
436
|
end
|
|
@@ -439,6 +451,8 @@ module Google
|
|
|
439
451
|
@ota_app = args[:ota_app] if args.key?(:ota_app)
|
|
440
452
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
|
441
453
|
@session_id = args[:session_id] if args.key?(:session_id)
|
|
454
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
|
455
|
+
@tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
|
|
442
456
|
end
|
|
443
457
|
end
|
|
444
458
|
|
|
@@ -1137,6 +1151,18 @@ module Google
|
|
|
1137
1151
|
# @return [String]
|
|
1138
1152
|
attr_accessor :photo_url
|
|
1139
1153
|
|
|
1154
|
+
# For multi-tenant use cases, in order to construct sign-in URL with the correct
|
|
1155
|
+
# IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs
|
|
1156
|
+
# from.
|
|
1157
|
+
# Corresponds to the JSON property `tenantId`
|
|
1158
|
+
# @return [String]
|
|
1159
|
+
attr_accessor :tenant_id
|
|
1160
|
+
|
|
1161
|
+
# Tenant project number to be used for idp discovery.
|
|
1162
|
+
# Corresponds to the JSON property `tenantProjectNumber`
|
|
1163
|
+
# @return [Fixnum]
|
|
1164
|
+
attr_accessor :tenant_project_number
|
|
1165
|
+
|
|
1140
1166
|
def initialize(**args)
|
|
1141
1167
|
update!(**args)
|
|
1142
1168
|
end
|
|
@@ -1155,6 +1181,8 @@ module Google
|
|
|
1155
1181
|
@password = args[:password] if args.key?(:password)
|
|
1156
1182
|
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
|
1157
1183
|
@photo_url = args[:photo_url] if args.key?(:photo_url)
|
|
1184
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
|
1185
|
+
@tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
|
|
1158
1186
|
end
|
|
1159
1187
|
end
|
|
1160
1188
|
|
|
@@ -1330,6 +1358,18 @@ module Google
|
|
|
1330
1358
|
# @return [String]
|
|
1331
1359
|
attr_accessor :session_id
|
|
1332
1360
|
|
|
1361
|
+
# For multi-tenant use cases, in order to construct sign-in URL with the correct
|
|
1362
|
+
# IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs
|
|
1363
|
+
# from.
|
|
1364
|
+
# Corresponds to the JSON property `tenantId`
|
|
1365
|
+
# @return [String]
|
|
1366
|
+
attr_accessor :tenant_id
|
|
1367
|
+
|
|
1368
|
+
# Tenant project number to be used for idp discovery.
|
|
1369
|
+
# Corresponds to the JSON property `tenantProjectNumber`
|
|
1370
|
+
# @return [Fixnum]
|
|
1371
|
+
attr_accessor :tenant_project_number
|
|
1372
|
+
|
|
1333
1373
|
def initialize(**args)
|
|
1334
1374
|
update!(**args)
|
|
1335
1375
|
end
|
|
@@ -1347,6 +1387,8 @@ module Google
|
|
|
1347
1387
|
@return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token)
|
|
1348
1388
|
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
|
1349
1389
|
@session_id = args[:session_id] if args.key?(:session_id)
|
|
1390
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
|
1391
|
+
@tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
|
|
1350
1392
|
end
|
|
1351
1393
|
end
|
|
1352
1394
|
|
|
@@ -1440,6 +1482,18 @@ module Google
|
|
|
1440
1482
|
attr_accessor :return_secure_token
|
|
1441
1483
|
alias_method :return_secure_token?, :return_secure_token
|
|
1442
1484
|
|
|
1485
|
+
# For multi-tenant use cases, in order to construct sign-in URL with the correct
|
|
1486
|
+
# IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs
|
|
1487
|
+
# from.
|
|
1488
|
+
# Corresponds to the JSON property `tenantId`
|
|
1489
|
+
# @return [String]
|
|
1490
|
+
attr_accessor :tenant_id
|
|
1491
|
+
|
|
1492
|
+
# Tenant project number to be used for idp discovery.
|
|
1493
|
+
# Corresponds to the JSON property `tenantProjectNumber`
|
|
1494
|
+
# @return [Fixnum]
|
|
1495
|
+
attr_accessor :tenant_project_number
|
|
1496
|
+
|
|
1443
1497
|
def initialize(**args)
|
|
1444
1498
|
update!(**args)
|
|
1445
1499
|
end
|
|
@@ -1455,6 +1509,8 @@ module Google
|
|
|
1455
1509
|
@password = args[:password] if args.key?(:password)
|
|
1456
1510
|
@pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token)
|
|
1457
1511
|
@return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token)
|
|
1512
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
|
1513
|
+
@tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
|
|
1458
1514
|
end
|
|
1459
1515
|
end
|
|
1460
1516
|
|
|
@@ -375,6 +375,8 @@ module Google
|
|
|
375
375
|
property :ota_app, as: 'otaApp'
|
|
376
376
|
property :provider_id, as: 'providerId'
|
|
377
377
|
property :session_id, as: 'sessionId'
|
|
378
|
+
property :tenant_id, as: 'tenantId'
|
|
379
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
|
378
380
|
end
|
|
379
381
|
end
|
|
380
382
|
|
|
@@ -555,6 +557,8 @@ module Google
|
|
|
555
557
|
property :password, as: 'password'
|
|
556
558
|
property :phone_number, as: 'phoneNumber'
|
|
557
559
|
property :photo_url, as: 'photoUrl'
|
|
560
|
+
property :tenant_id, as: 'tenantId'
|
|
561
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
|
558
562
|
end
|
|
559
563
|
end
|
|
560
564
|
|
|
@@ -593,6 +597,8 @@ module Google
|
|
|
593
597
|
property :return_refresh_token, as: 'returnRefreshToken'
|
|
594
598
|
property :return_secure_token, as: 'returnSecureToken'
|
|
595
599
|
property :session_id, as: 'sessionId'
|
|
600
|
+
property :tenant_id, as: 'tenantId'
|
|
601
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
|
596
602
|
end
|
|
597
603
|
end
|
|
598
604
|
|
|
@@ -618,6 +624,8 @@ module Google
|
|
|
618
624
|
property :password, as: 'password'
|
|
619
625
|
property :pending_id_token, as: 'pendingIdToken'
|
|
620
626
|
property :return_secure_token, as: 'returnSecureToken'
|
|
627
|
+
property :tenant_id, as: 'tenantId'
|
|
628
|
+
property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
|
|
621
629
|
end
|
|
622
630
|
end
|
|
623
631
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/job-discovery/docs
|
|
27
27
|
module JobsV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180514'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -737,8 +737,6 @@ module Google
|
|
|
737
737
|
|
|
738
738
|
# Input only.
|
|
739
739
|
# Create job request.
|
|
740
|
-
# The job typically becomes searchable within 10 seconds, but it may take
|
|
741
|
-
# up to 5 minutes for the job to become searchable.
|
|
742
740
|
class CreateJobRequest
|
|
743
741
|
include Google::Apis::Core::Hashable
|
|
744
742
|
|
|
@@ -973,7 +971,7 @@ module Google
|
|
|
973
971
|
# Input only.
|
|
974
972
|
# Delete job by filter request.
|
|
975
973
|
# The job typically becomes unsearchable within 10 seconds, but it may take
|
|
976
|
-
# up to 5 minutes
|
|
974
|
+
# up to 5 minutes.
|
|
977
975
|
class DeleteJobsByFilterRequest
|
|
978
976
|
include Google::Apis::Core::Hashable
|
|
979
977
|
|
|
@@ -3307,8 +3305,6 @@ module Google
|
|
|
3307
3305
|
|
|
3308
3306
|
# Input only.
|
|
3309
3307
|
# Update job request.
|
|
3310
|
-
# The job typically becomes searchable within 10 seconds, but it may take
|
|
3311
|
-
# up to 5 minutes for the job to become searchable.
|
|
3312
3308
|
class UpdateJobRequest
|
|
3313
3309
|
include Google::Apis::Core::Hashable
|
|
3314
3310
|
|
|
@@ -338,6 +338,8 @@ module Google
|
|
|
338
338
|
end
|
|
339
339
|
|
|
340
340
|
# Creates a new job.
|
|
341
|
+
# Typically, the job becomes searchable within 10 seconds, but it may take
|
|
342
|
+
# up to 5 minutes.
|
|
341
343
|
# @param [Google::Apis::JobsV2::CreateJobRequest] create_job_request_object
|
|
342
344
|
# @param [String] fields
|
|
343
345
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -367,9 +369,9 @@ module Google
|
|
|
367
369
|
execute_or_queue_command(command, &block)
|
|
368
370
|
end
|
|
369
371
|
|
|
370
|
-
# Deletes the specified job.
|
|
371
|
-
#
|
|
372
|
-
#
|
|
372
|
+
# Deletes the specified job.
|
|
373
|
+
# Typically, the job becomes unsearchable within 10 seconds, but it may take
|
|
374
|
+
# up to 5 minutes.
|
|
373
375
|
# @param [String] name
|
|
374
376
|
# Required.
|
|
375
377
|
# The resource name of the job to be deleted, such as "jobs/11111111".
|
|
@@ -441,7 +443,7 @@ module Google
|
|
|
441
443
|
end
|
|
442
444
|
|
|
443
445
|
# Retrieves the specified job, whose status is OPEN or recently EXPIRED
|
|
444
|
-
#
|
|
446
|
+
# within the last 90 days.
|
|
445
447
|
# @param [String] name
|
|
446
448
|
# Required.
|
|
447
449
|
# The resource name of the job to retrieve, such as "jobs/11111111".
|
|
@@ -568,12 +570,9 @@ module Google
|
|
|
568
570
|
execute_or_queue_command(command, &block)
|
|
569
571
|
end
|
|
570
572
|
|
|
571
|
-
# Updates the specified job.
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
# If this call is executed synchronously, the returned job
|
|
575
|
-
# is guaranteed to be fully processed and complete upon response.
|
|
576
|
-
# The `companyName` and `distributorCompanyId` job fields cannot be updated.
|
|
573
|
+
# Updates the specified job.
|
|
574
|
+
# Typically, the updated contents become visible in search results within 10
|
|
575
|
+
# seconds, but it may take up to 5 minutes.
|
|
577
576
|
# @param [String] name
|
|
578
577
|
# Required during job update.
|
|
579
578
|
# Resource name assigned to a job by the API, for example, "/jobs/foo". Use
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
|
28
28
|
module LanguageV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180514'
|
|
31
31
|
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
|
@@ -441,6 +441,7 @@ module Google
|
|
|
441
441
|
include Google::Apis::Core::Hashable
|
|
442
442
|
|
|
443
443
|
# The content of the input in string format.
|
|
444
|
+
# Cloud audit logging exempt since it is based on user data.
|
|
444
445
|
# Corresponds to the JSON property `content`
|
|
445
446
|
# @return [String]
|
|
446
447
|
attr_accessor :content
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
|
28
28
|
module LanguageV1beta1
|
|
29
29
|
VERSION = 'V1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180514'
|
|
31
31
|
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
|
@@ -315,6 +315,7 @@ module Google
|
|
|
315
315
|
include Google::Apis::Core::Hashable
|
|
316
316
|
|
|
317
317
|
# The content of the input in string format.
|
|
318
|
+
# Cloud audit logging exempt since it is based on user data.
|
|
318
319
|
# Corresponds to the JSON property `content`
|
|
319
320
|
# @return [String]
|
|
320
321
|
attr_accessor :content
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/natural-language/
|
|
28
28
|
module LanguageV1beta2
|
|
29
29
|
VERSION = 'V1beta2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180514'
|
|
31
31
|
|
|
32
32
|
# Apply machine learning models to reveal the structure and meaning of text
|
|
33
33
|
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
|
@@ -440,6 +440,7 @@ module Google
|
|
|
440
440
|
include Google::Apis::Core::Hashable
|
|
441
441
|
|
|
442
442
|
# The content of the input in string format.
|
|
443
|
+
# Cloud audit logging exempt since it is based on user data.
|
|
443
444
|
# Corresponds to the JSON property `content`
|
|
444
445
|
# @return [String]
|
|
445
446
|
attr_accessor :content
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
|
28
28
|
module MonitoringV3
|
|
29
29
|
VERSION = 'V3'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180514'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1740,13 +1740,13 @@ module Google
|
|
|
1740
1740
|
|
|
1741
1741
|
# The amount of time that a time series must violate the threshold to be
|
|
1742
1742
|
# considered failing. Currently, only values that are a multiple of a minute--e.
|
|
1743
|
-
# g
|
|
1744
|
-
# error will be returned.
|
|
1745
|
-
#
|
|
1746
|
-
#
|
|
1747
|
-
#
|
|
1748
|
-
#
|
|
1749
|
-
#
|
|
1743
|
+
# g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given,
|
|
1744
|
+
# an error will be returned. When choosing a duration, it is useful to keep in
|
|
1745
|
+
# mind the frequency of the underlying time series data (which may also be
|
|
1746
|
+
# affected by any alignments specified in the aggregations field); a good
|
|
1747
|
+
# duration is long enough so that a single outlier does not generate spurious
|
|
1748
|
+
# alerts, but short enough that unhealthy states are detected and alerted on
|
|
1749
|
+
# quickly.
|
|
1750
1750
|
# Corresponds to the JSON property `duration`
|
|
1751
1751
|
# @return [String]
|
|
1752
1752
|
attr_accessor :duration
|
|
@@ -363,6 +363,12 @@ module Google
|
|
|
363
363
|
# @return [Array<String>]
|
|
364
364
|
attr_accessor :auto_approval_email_domains
|
|
365
365
|
|
|
366
|
+
# Whether the company's badge authority is in AWN
|
|
367
|
+
# Corresponds to the JSON property `badgeAuthorityInAwn`
|
|
368
|
+
# @return [Boolean]
|
|
369
|
+
attr_accessor :badge_authority_in_awn
|
|
370
|
+
alias_method :badge_authority_in_awn?, :badge_authority_in_awn
|
|
371
|
+
|
|
366
372
|
# Partner badge tier
|
|
367
373
|
# Corresponds to the JSON property `badgeTier`
|
|
368
374
|
# @return [String]
|
|
@@ -473,6 +479,7 @@ module Google
|
|
|
473
479
|
def update!(**args)
|
|
474
480
|
@additional_websites = args[:additional_websites] if args.key?(:additional_websites)
|
|
475
481
|
@auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
|
|
482
|
+
@badge_authority_in_awn = args[:badge_authority_in_awn] if args.key?(:badge_authority_in_awn)
|
|
476
483
|
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
|
|
477
484
|
@certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
|
|
478
485
|
@company_types = args[:company_types] if args.key?(:company_types)
|
|
@@ -405,6 +405,7 @@ module Google
|
|
|
405
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
406
406
|
collection :additional_websites, as: 'additionalWebsites'
|
|
407
407
|
collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
|
|
408
|
+
property :badge_authority_in_awn, as: 'badgeAuthorityInAwn'
|
|
408
409
|
property :badge_tier, as: 'badgeTier'
|
|
409
410
|
collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
|
|
410
411
|
|