google-api-client 0.33.2 → 0.34.0
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/README.md +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +7 -6
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +7 -6
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -26
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +31 -26
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +31 -26
- data/generated/google/apis/compute_v1/service.rb +10 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +32 -1
- data/generated/google/apis/container_v1beta1/representations.rb +4 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -287
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -115
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -287
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -115
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +88 -95
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +8 -1
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +2 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +57 -23
- data/generated/google/apis/ml_v1/service.rb +6 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +12 -12
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +3 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +4 -7
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
|
@@ -22,12 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DialogflowV2beta1
|
|
24
24
|
|
|
25
|
-
class GoogleCloudDialogflowV2ArticleAnswer
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
25
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
27
|
|
|
@@ -70,18 +64,6 @@ module Google
|
|
|
70
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
65
|
end
|
|
72
66
|
|
|
73
|
-
class GoogleCloudDialogflowV2FaqAnswer
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
67
|
class GoogleCloudDialogflowV2Intent
|
|
86
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
69
|
|
|
@@ -226,12 +208,6 @@ module Google
|
|
|
226
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
227
209
|
end
|
|
228
210
|
|
|
229
|
-
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
|
-
|
|
232
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
233
|
-
end
|
|
234
|
-
|
|
235
211
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
|
236
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
213
|
|
|
@@ -262,24 +238,6 @@ module Google
|
|
|
262
238
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
239
|
end
|
|
264
240
|
|
|
265
|
-
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
|
266
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
-
|
|
268
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
-
|
|
274
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
class GoogleCloudDialogflowV2SuggestionResult
|
|
278
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
-
|
|
280
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
-
end
|
|
282
|
-
|
|
283
241
|
class GoogleCloudDialogflowV2WebhookRequest
|
|
284
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
243
|
|
|
@@ -946,18 +904,6 @@ module Google
|
|
|
946
904
|
include Google::Apis::Core::JsonObjectSupport
|
|
947
905
|
end
|
|
948
906
|
|
|
949
|
-
class GoogleCloudDialogflowV2ArticleAnswer
|
|
950
|
-
# @private
|
|
951
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
952
|
-
property :answer_record, as: 'answerRecord'
|
|
953
|
-
property :confidence, as: 'confidence'
|
|
954
|
-
hash :metadata, as: 'metadata'
|
|
955
|
-
collection :snippets, as: 'snippets'
|
|
956
|
-
property :title, as: 'title'
|
|
957
|
-
property :uri, as: 'uri'
|
|
958
|
-
end
|
|
959
|
-
end
|
|
960
|
-
|
|
961
907
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
|
962
908
|
# @private
|
|
963
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1021,28 +967,6 @@ module Google
|
|
|
1021
967
|
end
|
|
1022
968
|
end
|
|
1023
969
|
|
|
1024
|
-
class GoogleCloudDialogflowV2FaqAnswer
|
|
1025
|
-
# @private
|
|
1026
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1027
|
-
property :answer, as: 'answer'
|
|
1028
|
-
property :answer_record, as: 'answerRecord'
|
|
1029
|
-
property :confidence, as: 'confidence'
|
|
1030
|
-
hash :metadata, as: 'metadata'
|
|
1031
|
-
property :question, as: 'question'
|
|
1032
|
-
property :source, as: 'source'
|
|
1033
|
-
end
|
|
1034
|
-
end
|
|
1035
|
-
|
|
1036
|
-
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
|
1037
|
-
# @private
|
|
1038
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1039
|
-
property :conversation, as: 'conversation'
|
|
1040
|
-
property :participant, as: 'participant'
|
|
1041
|
-
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestionResult::Representation
|
|
1042
|
-
|
|
1043
|
-
end
|
|
1044
|
-
end
|
|
1045
|
-
|
|
1046
970
|
class GoogleCloudDialogflowV2Intent
|
|
1047
971
|
# @private
|
|
1048
972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1197,6 +1121,7 @@ module Google
|
|
|
1197
1121
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1198
1122
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem::Representation
|
|
1199
1123
|
|
|
1124
|
+
property :subtitle, as: 'subtitle'
|
|
1200
1125
|
property :title, as: 'title'
|
|
1201
1126
|
end
|
|
1202
1127
|
end
|
|
@@ -1303,13 +1228,6 @@ module Google
|
|
|
1303
1228
|
end
|
|
1304
1229
|
end
|
|
1305
1230
|
|
|
1306
|
-
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
|
1307
|
-
# @private
|
|
1308
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1309
|
-
property :state, as: 'state'
|
|
1310
|
-
end
|
|
1311
|
-
end
|
|
1312
|
-
|
|
1313
1231
|
class GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
|
1314
1232
|
# @private
|
|
1315
1233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1370,38 +1288,6 @@ module Google
|
|
|
1370
1288
|
end
|
|
1371
1289
|
end
|
|
1372
1290
|
|
|
1373
|
-
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
|
1374
|
-
# @private
|
|
1375
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1376
|
-
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ArticleAnswer::Representation
|
|
1377
|
-
|
|
1378
|
-
property :context_size, as: 'contextSize'
|
|
1379
|
-
property :latest_message, as: 'latestMessage'
|
|
1380
|
-
end
|
|
1381
|
-
end
|
|
1382
|
-
|
|
1383
|
-
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
|
1384
|
-
# @private
|
|
1385
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1386
|
-
property :context_size, as: 'contextSize'
|
|
1387
|
-
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FaqAnswer::Representation
|
|
1388
|
-
|
|
1389
|
-
property :latest_message, as: 'latestMessage'
|
|
1390
|
-
end
|
|
1391
|
-
end
|
|
1392
|
-
|
|
1393
|
-
class GoogleCloudDialogflowV2SuggestionResult
|
|
1394
|
-
# @private
|
|
1395
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1396
|
-
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
|
1397
|
-
|
|
1398
|
-
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
|
|
1399
|
-
|
|
1400
|
-
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
|
1401
|
-
|
|
1402
|
-
end
|
|
1403
|
-
end
|
|
1404
|
-
|
|
1405
1291
|
class GoogleCloudDialogflowV2WebhookRequest
|
|
1406
1292
|
# @private
|
|
1407
1293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1898,6 +1784,7 @@ module Google
|
|
|
1898
1784
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1899
1785
|
collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem::Representation
|
|
1900
1786
|
|
|
1787
|
+
property :subtitle, as: 'subtitle'
|
|
1901
1788
|
property :title, as: 'title'
|
|
1902
1789
|
end
|
|
1903
1790
|
end
|
|
@@ -2204,6 +2091,7 @@ module Google
|
|
|
2204
2091
|
# @private
|
|
2205
2092
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2206
2093
|
property :display_name, as: 'displayName'
|
|
2094
|
+
property :language_code, as: 'languageCode'
|
|
2207
2095
|
property :name, as: 'name'
|
|
2208
2096
|
end
|
|
2209
2097
|
end
|
|
@@ -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 = '20191027'
|
|
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'
|
|
@@ -611,17 +611,18 @@ module Google
|
|
|
611
611
|
class GooglePrivacyDlpV2CharacterMaskConfig
|
|
612
612
|
include Google::Apis::Core::Hashable
|
|
613
613
|
|
|
614
|
-
# When masking a string, items in this list will be skipped when replacing
|
|
615
|
-
# For example, if
|
|
616
|
-
# mask 5
|
|
614
|
+
# When masking a string, items in this list will be skipped when replacing
|
|
615
|
+
# characters. For example, if the input string is `555-555-5555` and you
|
|
616
|
+
# instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
|
|
617
|
+
# returns `***-**5-5555`.
|
|
617
618
|
# Corresponds to the JSON property `charactersToIgnore`
|
|
618
619
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CharsToIgnore>]
|
|
619
620
|
attr_accessor :characters_to_ignore
|
|
620
621
|
|
|
621
|
-
# Character to mask the sensitive values—for example,
|
|
622
|
-
# alphabetic string such as name, or
|
|
623
|
-
# code or credit card number.
|
|
624
|
-
#
|
|
622
|
+
# Character to use to mask the sensitive values—for example, `*` for an
|
|
623
|
+
# alphabetic string such as a name, or `0` for a numeric string such as ZIP
|
|
624
|
+
# code or credit card number. This string must have a length of 1. If not
|
|
625
|
+
# supplied, this value defaults to `*` for strings, and `0` for digits.
|
|
625
626
|
# Corresponds to the JSON property `maskingCharacter`
|
|
626
627
|
# @return [String]
|
|
627
628
|
attr_accessor :masking_character
|
|
@@ -633,10 +634,10 @@ module Google
|
|
|
633
634
|
attr_accessor :number_to_mask
|
|
634
635
|
|
|
635
636
|
# Mask characters in reverse order. For example, if `masking_character` is
|
|
636
|
-
#
|
|
637
|
-
# 1234-5678-9012-3456
|
|
638
|
-
# If `masking_character` is
|
|
639
|
-
# is true
|
|
637
|
+
# `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
|
|
638
|
+
# input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
|
|
639
|
+
# If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
|
|
640
|
+
# is `true`, then the string `12345` is masked as `12***`.
|
|
640
641
|
# Corresponds to the JSON property `reverseOrder`
|
|
641
642
|
# @return [Boolean]
|
|
642
643
|
attr_accessor :reverse_order
|
|
@@ -4743,6 +4744,12 @@ module Google
|
|
|
4743
4744
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
|
|
4744
4745
|
attr_accessor :inspect_config
|
|
4745
4746
|
|
|
4747
|
+
# The geographic location to process the request. Reserved for future
|
|
4748
|
+
# extensions.
|
|
4749
|
+
# Corresponds to the JSON property `location`
|
|
4750
|
+
# @return [String]
|
|
4751
|
+
attr_accessor :location
|
|
4752
|
+
|
|
4746
4753
|
def initialize(**args)
|
|
4747
4754
|
update!(**args)
|
|
4748
4755
|
end
|
|
@@ -4753,6 +4760,7 @@ module Google
|
|
|
4753
4760
|
@image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
|
|
4754
4761
|
@include_findings = args[:include_findings] if args.key?(:include_findings)
|
|
4755
4762
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
|
4763
|
+
@location = args[:location] if args.key?(:location)
|
|
4756
4764
|
end
|
|
4757
4765
|
end
|
|
4758
4766
|
|
|
@@ -2435,6 +2435,7 @@ module Google
|
|
|
2435
2435
|
property :include_findings, as: 'includeFindings'
|
|
2436
2436
|
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
|
|
2437
2437
|
|
|
2438
|
+
property :location, as: 'location'
|
|
2438
2439
|
end
|
|
2439
2440
|
end
|
|
2440
2441
|
|
|
@@ -1842,6 +1842,49 @@ module Google
|
|
|
1842
1842
|
execute_or_queue_command(command, &block)
|
|
1843
1843
|
end
|
|
1844
1844
|
|
|
1845
|
+
# Redacts potentially sensitive info from an image.
|
|
1846
|
+
# This method has limits on input size, processing time, and output size.
|
|
1847
|
+
# See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
|
|
1848
|
+
# learn more.
|
|
1849
|
+
# When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
1850
|
+
# system will automatically choose what detectors to run. By default this may
|
|
1851
|
+
# be all types, but may change over time as detectors are updated.
|
|
1852
|
+
# @param [String] parent
|
|
1853
|
+
# The parent resource name, for example projects/my-project-id.
|
|
1854
|
+
# @param [String] location
|
|
1855
|
+
# The geographic location to process the request. Reserved for future
|
|
1856
|
+
# extensions.
|
|
1857
|
+
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
|
1858
|
+
# @param [String] fields
|
|
1859
|
+
# Selector specifying which fields to include in a partial response.
|
|
1860
|
+
# @param [String] quota_user
|
|
1861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1863
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1864
|
+
# Request-specific options
|
|
1865
|
+
#
|
|
1866
|
+
# @yield [result, err] Result & error if block supplied
|
|
1867
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse] parsed result object
|
|
1868
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1869
|
+
#
|
|
1870
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse]
|
|
1871
|
+
#
|
|
1872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1875
|
+
def redact_project_location_image(parent, location, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1876
|
+
command = make_simple_command(:post, 'v2/{+parent}/locations/{location}/image:redact', options)
|
|
1877
|
+
command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation
|
|
1878
|
+
command.request_object = google_privacy_dlp_v2_redact_image_request_object
|
|
1879
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation
|
|
1880
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
|
|
1881
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1882
|
+
command.params['location'] = location unless location.nil?
|
|
1883
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1885
|
+
execute_or_queue_command(command, &block)
|
|
1886
|
+
end
|
|
1887
|
+
|
|
1845
1888
|
# Creates a pre-built stored infoType to be used for inspection.
|
|
1846
1889
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
|
1847
1890
|
# learn more.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/drive/
|
|
27
27
|
module DriveV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191017'
|
|
30
30
|
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -795,7 +795,7 @@ module Google
|
|
|
795
795
|
execute_or_queue_command(command, &block)
|
|
796
796
|
end
|
|
797
797
|
|
|
798
|
-
# Updates an existing comment.
|
|
798
|
+
# Updates an existing comment.
|
|
799
799
|
# @param [String] file_id
|
|
800
800
|
# The ID of the file.
|
|
801
801
|
# @param [String] comment_id
|
|
@@ -2960,7 +2960,7 @@ module Google
|
|
|
2960
2960
|
execute_or_queue_command(command, &block)
|
|
2961
2961
|
end
|
|
2962
2962
|
|
|
2963
|
-
# Updates an existing reply.
|
|
2963
|
+
# Updates an existing reply.
|
|
2964
2964
|
# @param [String] file_id
|
|
2965
2965
|
# The ID of the file.
|
|
2966
2966
|
# @param [String] comment_id
|
|
@@ -3156,7 +3156,7 @@ module Google
|
|
|
3156
3156
|
execute_or_queue_command(command, &block)
|
|
3157
3157
|
end
|
|
3158
3158
|
|
|
3159
|
-
# Updates a revision.
|
|
3159
|
+
# Updates a revision.
|
|
3160
3160
|
# @param [String] file_id
|
|
3161
3161
|
# The ID for the file.
|
|
3162
3162
|
# @param [String] revision_id
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/drive/
|
|
27
27
|
module DriveV3
|
|
28
28
|
VERSION = 'V3'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191017'
|
|
30
30
|
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
|
28
28
|
module FirebasehostingV1beta1
|
|
29
29
|
VERSION = 'V1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20191029'
|
|
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'
|
|
@@ -457,6 +457,35 @@ module Google
|
|
|
457
457
|
end
|
|
458
458
|
end
|
|
459
459
|
|
|
460
|
+
# Version preview configuration. If active and unexpired,
|
|
461
|
+
# this version will be accessible via a custom URL even
|
|
462
|
+
# if it is not the currently released version.
|
|
463
|
+
class PreviewConfig
|
|
464
|
+
include Google::Apis::Core::Hashable
|
|
465
|
+
|
|
466
|
+
# If true, preview URLs are enabled for this version.
|
|
467
|
+
# Corresponds to the JSON property `active`
|
|
468
|
+
# @return [Boolean]
|
|
469
|
+
attr_accessor :active
|
|
470
|
+
alias_method :active?, :active
|
|
471
|
+
|
|
472
|
+
# Indicates the expiration time for previewing this
|
|
473
|
+
# version; preview URL requests received after this time will 404.
|
|
474
|
+
# Corresponds to the JSON property `expireTime`
|
|
475
|
+
# @return [String]
|
|
476
|
+
attr_accessor :expire_time
|
|
477
|
+
|
|
478
|
+
def initialize(**args)
|
|
479
|
+
update!(**args)
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# Update properties of this object
|
|
483
|
+
def update!(**args)
|
|
484
|
+
@active = args[:active] if args.key?(:active)
|
|
485
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
486
|
+
end
|
|
487
|
+
end
|
|
488
|
+
|
|
460
489
|
# A [`redirect`](/docs/hosting/full-config#redirects) represents the
|
|
461
490
|
# configuration for returning an HTTP redirect response given a matching
|
|
462
491
|
# request URL path.
|
|
@@ -772,6 +801,13 @@ module Google
|
|
|
772
801
|
# @return [String]
|
|
773
802
|
attr_accessor :name
|
|
774
803
|
|
|
804
|
+
# Version preview configuration. If active and unexpired,
|
|
805
|
+
# this version will be accessible via a custom URL even
|
|
806
|
+
# if it is not the currently released version.
|
|
807
|
+
# Corresponds to the JSON property `preview`
|
|
808
|
+
# @return [Google::Apis::FirebasehostingV1beta1::PreviewConfig]
|
|
809
|
+
attr_accessor :preview
|
|
810
|
+
|
|
775
811
|
# The deploy status of a version.
|
|
776
812
|
# <br>
|
|
777
813
|
# <br>For a successful deploy, call the
|
|
@@ -812,6 +848,7 @@ module Google
|
|
|
812
848
|
@finalize_user = args[:finalize_user] if args.key?(:finalize_user)
|
|
813
849
|
@labels = args[:labels] if args.key?(:labels)
|
|
814
850
|
@name = args[:name] if args.key?(:name)
|
|
851
|
+
@preview = args[:preview] if args.key?(:preview)
|
|
815
852
|
@status = args[:status] if args.key?(:status)
|
|
816
853
|
@version_bytes = args[:version_bytes] if args.key?(:version_bytes)
|
|
817
854
|
end
|
|
@@ -106,6 +106,12 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
+
class PreviewConfig
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
109
115
|
class Redirect
|
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
117
|
|
|
@@ -275,6 +281,14 @@ module Google
|
|
|
275
281
|
end
|
|
276
282
|
end
|
|
277
283
|
|
|
284
|
+
class PreviewConfig
|
|
285
|
+
# @private
|
|
286
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
287
|
+
property :active, as: 'active'
|
|
288
|
+
property :expire_time, as: 'expireTime'
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
278
292
|
class Redirect
|
|
279
293
|
# @private
|
|
280
294
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -351,6 +365,8 @@ module Google
|
|
|
351
365
|
|
|
352
366
|
hash :labels, as: 'labels'
|
|
353
367
|
property :name, as: 'name'
|
|
368
|
+
property :preview, as: 'preview', class: Google::Apis::FirebasehostingV1beta1::PreviewConfig, decorator: Google::Apis::FirebasehostingV1beta1::PreviewConfig::Representation
|
|
369
|
+
|
|
354
370
|
property :status, as: 'status'
|
|
355
371
|
property :version_bytes, :numeric_string => true, as: 'versionBytes'
|
|
356
372
|
end
|