google-api-client 0.24.0 → 0.24.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 +47 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +41 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +10 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +18 -15
- data/generated/google/apis/cloudkms_v1.rb +3 -6
- data/generated/google/apis/cloudkms_v1/service.rb +2 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +156 -144
- data/generated/google/apis/compute_alpha/representations.rb +66 -66
- data/generated/google/apis/compute_alpha/service.rb +7 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +221 -10
- data/generated/google/apis/compute_beta/representations.rb +111 -2
- data/generated/google/apis/compute_beta/service.rb +39 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +9 -6
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +76 -5
- data/generated/google/apis/content_v2/representations.rb +42 -0
- data/generated/google/apis/content_v2/service.rb +40 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +70 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +42 -0
- data/generated/google/apis/content_v2sandbox/service.rb +40 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +8 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2/service.rb +9 -8
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2beta1/service.rb +9 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +178 -21
- data/generated/google/apis/dlp_v2/representations.rb +68 -0
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +102 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +47 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +144 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +8 -2
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +18 -7
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/service.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +21 -7
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -2
- data/generated/google/apis/indexing_v3.rb +4 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +35 -35
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +38 -0
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2910 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +966 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +692 -0
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +10 -3
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -242
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -60
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -242
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -60
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -242
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -60
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +11 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +11 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -21
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +26 -16
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -116,7 +116,7 @@ module Google
|
|
116
116
|
class GoogleCloudDialogflowV2BatchCreateEntitiesRequest
|
117
117
|
include Google::Apis::Core::Hashable
|
118
118
|
|
119
|
-
# Required. The
|
119
|
+
# Required. The entities to create.
|
120
120
|
# Corresponds to the JSON property `entities`
|
121
121
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
122
122
|
attr_accessor :entities
|
@@ -212,11 +212,11 @@ module Google
|
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
215
|
-
# The
|
215
|
+
# The request message for EntityTypes.BatchUpdateEntities.
|
216
216
|
class GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
|
217
217
|
include Google::Apis::Core::Hashable
|
218
218
|
|
219
|
-
# Required. The
|
219
|
+
# Required. The entities to update or create.
|
220
220
|
# Corresponds to the JSON property `entities`
|
221
221
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
222
222
|
attr_accessor :entities
|
@@ -844,8 +844,8 @@ module Google
|
|
844
844
|
# @return [Array<String>]
|
845
845
|
attr_accessor :events
|
846
846
|
|
847
|
-
#
|
848
|
-
#
|
847
|
+
# Read-only. Information about all followup intents that have this intent as
|
848
|
+
# a direct or indirect parent. We populate this field only in the output.
|
849
849
|
# Corresponds to the JSON property `followupIntentInfo`
|
850
850
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
851
851
|
attr_accessor :followup_intent_info
|
@@ -900,8 +900,10 @@ module Google
|
|
900
900
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentParameter>]
|
901
901
|
attr_accessor :parameters
|
902
902
|
|
903
|
-
# The unique identifier of the parent intent in the
|
904
|
-
# intents.
|
903
|
+
# Read-only after creation. The unique identifier of the parent intent in the
|
904
|
+
# chain of followup intents. You can set this field when creating an intent,
|
905
|
+
# for example with CreateIntent or BatchUpdateIntents, in order to
|
906
|
+
# make this intent a followup intent.
|
905
907
|
# It identifies the parent followup intent.
|
906
908
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
907
909
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
@@ -921,8 +923,9 @@ module Google
|
|
921
923
|
attr_accessor :reset_contexts
|
922
924
|
alias_method :reset_contexts?, :reset_contexts
|
923
925
|
|
924
|
-
# The unique identifier of the root intent in the chain of
|
925
|
-
# It identifies the correct followup intents chain for
|
926
|
+
# Read-only. The unique identifier of the root intent in the chain of
|
927
|
+
# followup intents. It identifies the correct followup intents chain for
|
928
|
+
# this intent. We populate this field only in the output.
|
926
929
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
927
930
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
928
931
|
# @return [String]
|
@@ -995,7 +998,7 @@ module Google
|
|
995
998
|
# @return [String]
|
996
999
|
attr_accessor :followup_intent_name
|
997
1000
|
|
998
|
-
# The unique identifier of the followup intent parent.
|
1001
|
+
# The unique identifier of the followup intent's parent.
|
999
1002
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1000
1003
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
1001
1004
|
# @return [String]
|
@@ -2678,8 +2681,8 @@ module Google
|
|
2678
2681
|
# @return [Array<String>]
|
2679
2682
|
attr_accessor :events
|
2680
2683
|
|
2681
|
-
#
|
2682
|
-
#
|
2684
|
+
# Read-only. Information about all followup intents that have this intent as
|
2685
|
+
# a direct or indirect parent. We populate this field only in the output.
|
2683
2686
|
# Corresponds to the JSON property `followupIntentInfo`
|
2684
2687
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>]
|
2685
2688
|
attr_accessor :followup_intent_info
|
@@ -2750,8 +2753,10 @@ module Google
|
|
2750
2753
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter>]
|
2751
2754
|
attr_accessor :parameters
|
2752
2755
|
|
2753
|
-
# The unique identifier of the parent intent in the
|
2754
|
-
# intents.
|
2756
|
+
# Read-only after creation. The unique identifier of the parent intent in the
|
2757
|
+
# chain of followup intents. You can set this field when creating an intent,
|
2758
|
+
# for example with CreateIntent or BatchUpdateIntents, in order to
|
2759
|
+
# make this intent a followup intent.
|
2755
2760
|
# It identifies the parent followup intent.
|
2756
2761
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2757
2762
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
@@ -2771,8 +2776,9 @@ module Google
|
|
2771
2776
|
attr_accessor :reset_contexts
|
2772
2777
|
alias_method :reset_contexts?, :reset_contexts
|
2773
2778
|
|
2774
|
-
# The unique identifier of the root intent in the chain of
|
2775
|
-
# It identifies the correct followup intents chain for
|
2779
|
+
# Read-only. The unique identifier of the root intent in the chain of
|
2780
|
+
# followup intents. It identifies the correct followup intents chain for
|
2781
|
+
# this intent. We populate this field only in the output.
|
2776
2782
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2777
2783
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
2778
2784
|
# @return [String]
|
@@ -2828,7 +2834,7 @@ module Google
|
|
2828
2834
|
# @return [String]
|
2829
2835
|
attr_accessor :followup_intent_name
|
2830
2836
|
|
2831
|
-
# The unique identifier of the followup intent parent.
|
2837
|
+
# The unique identifier of the followup intent's parent.
|
2832
2838
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2833
2839
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
2834
2840
|
# @return [String]
|
@@ -545,8 +545,7 @@ module Google
|
|
545
545
|
execute_or_queue_command(command, &block)
|
546
546
|
end
|
547
547
|
|
548
|
-
# Creates multiple new entities in the specified entity type
|
549
|
-
# existing collection of entries).
|
548
|
+
# Creates multiple new entities in the specified entity type.
|
550
549
|
# Operation <response: google.protobuf.Empty>
|
551
550
|
# @param [String] parent
|
552
551
|
# Required. The name of the entity type to create entities in. Format:
|
@@ -617,13 +616,14 @@ module Google
|
|
617
616
|
execute_or_queue_command(command, &block)
|
618
617
|
end
|
619
618
|
|
620
|
-
# Updates entities in the specified entity type
|
621
|
-
#
|
619
|
+
# Updates or creates multiple entities in the specified entity type. This
|
620
|
+
# method does not affect entities in the entity type that aren't explicitly
|
621
|
+
# specified in the request.
|
622
622
|
# Operation <response: google.protobuf.Empty,
|
623
623
|
# metadata: google.protobuf.Struct>
|
624
624
|
# @param [String] parent
|
625
|
-
# Required. The name of the entity type to update
|
626
|
-
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
625
|
+
# Required. The name of the entity type to update or create entities in.
|
626
|
+
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
627
627
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2_batch_update_entities_request_object
|
628
628
|
# @param [String] fields
|
629
629
|
# Selector specifying which fields to include in a partial response.
|
@@ -768,9 +768,10 @@ module Google
|
|
768
768
|
execute_or_queue_command(command, &block)
|
769
769
|
end
|
770
770
|
|
771
|
-
# Deletes the specified intent.
|
771
|
+
# Deletes the specified intent and its direct or indirect followup intents.
|
772
772
|
# @param [String] name
|
773
|
-
# Required. The name of the intent to delete.
|
773
|
+
# Required. The name of the intent to delete. If this intent has direct or
|
774
|
+
# indirect followup intents, we also delete them.
|
774
775
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
775
776
|
# @param [String] fields
|
776
777
|
# Selector specifying which fields to include in a partial response.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180920'
|
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'
|
@@ -285,8 +285,8 @@ module Google
|
|
285
285
|
# @return [Array<String>]
|
286
286
|
attr_accessor :events
|
287
287
|
|
288
|
-
#
|
289
|
-
#
|
288
|
+
# Read-only. Information about all followup intents that have this intent as
|
289
|
+
# a direct or indirect parent. We populate this field only in the output.
|
290
290
|
# Corresponds to the JSON property `followupIntentInfo`
|
291
291
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
292
292
|
attr_accessor :followup_intent_info
|
@@ -341,8 +341,10 @@ module Google
|
|
341
341
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentParameter>]
|
342
342
|
attr_accessor :parameters
|
343
343
|
|
344
|
-
# The unique identifier of the parent intent in the
|
345
|
-
# intents.
|
344
|
+
# Read-only after creation. The unique identifier of the parent intent in the
|
345
|
+
# chain of followup intents. You can set this field when creating an intent,
|
346
|
+
# for example with CreateIntent or BatchUpdateIntents, in order to
|
347
|
+
# make this intent a followup intent.
|
346
348
|
# It identifies the parent followup intent.
|
347
349
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
348
350
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
@@ -362,8 +364,9 @@ module Google
|
|
362
364
|
attr_accessor :reset_contexts
|
363
365
|
alias_method :reset_contexts?, :reset_contexts
|
364
366
|
|
365
|
-
# The unique identifier of the root intent in the chain of
|
366
|
-
# It identifies the correct followup intents chain for
|
367
|
+
# Read-only. The unique identifier of the root intent in the chain of
|
368
|
+
# followup intents. It identifies the correct followup intents chain for
|
369
|
+
# this intent. We populate this field only in the output.
|
367
370
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
368
371
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
369
372
|
# @return [String]
|
@@ -417,7 +420,7 @@ module Google
|
|
417
420
|
# @return [String]
|
418
421
|
attr_accessor :followup_intent_name
|
419
422
|
|
420
|
-
# The unique identifier of the followup intent parent.
|
423
|
+
# The unique identifier of the followup intent's parent.
|
421
424
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
422
425
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
423
426
|
# @return [String]
|
@@ -1561,7 +1564,7 @@ module Google
|
|
1561
1564
|
class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
|
1562
1565
|
include Google::Apis::Core::Hashable
|
1563
1566
|
|
1564
|
-
# Required. The
|
1567
|
+
# Required. The entities to create.
|
1565
1568
|
# Corresponds to the JSON property `entities`
|
1566
1569
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
1567
1570
|
attr_accessor :entities
|
@@ -1657,11 +1660,11 @@ module Google
|
|
1657
1660
|
end
|
1658
1661
|
end
|
1659
1662
|
|
1660
|
-
# The
|
1663
|
+
# The request message for EntityTypes.BatchUpdateEntities.
|
1661
1664
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
|
1662
1665
|
include Google::Apis::Core::Hashable
|
1663
1666
|
|
1664
|
-
# Required. The
|
1667
|
+
# Required. The entities to update or create.
|
1665
1668
|
# Corresponds to the JSON property `entities`
|
1666
1669
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
1667
1670
|
attr_accessor :entities
|
@@ -2421,8 +2424,8 @@ module Google
|
|
2421
2424
|
# @return [Array<String>]
|
2422
2425
|
attr_accessor :events
|
2423
2426
|
|
2424
|
-
#
|
2425
|
-
#
|
2427
|
+
# Read-only. Information about all followup intents that have this intent as
|
2428
|
+
# a direct or indirect parent. We populate this field only in the output.
|
2426
2429
|
# Corresponds to the JSON property `followupIntentInfo`
|
2427
2430
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>]
|
2428
2431
|
attr_accessor :followup_intent_info
|
@@ -2493,8 +2496,10 @@ module Google
|
|
2493
2496
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter>]
|
2494
2497
|
attr_accessor :parameters
|
2495
2498
|
|
2496
|
-
# The unique identifier of the parent intent in the
|
2497
|
-
# intents.
|
2499
|
+
# Read-only after creation. The unique identifier of the parent intent in the
|
2500
|
+
# chain of followup intents. You can set this field when creating an intent,
|
2501
|
+
# for example with CreateIntent or BatchUpdateIntents, in order to
|
2502
|
+
# make this intent a followup intent.
|
2498
2503
|
# It identifies the parent followup intent.
|
2499
2504
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2500
2505
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
@@ -2514,8 +2519,9 @@ module Google
|
|
2514
2519
|
attr_accessor :reset_contexts
|
2515
2520
|
alias_method :reset_contexts?, :reset_contexts
|
2516
2521
|
|
2517
|
-
# The unique identifier of the root intent in the chain of
|
2518
|
-
# It identifies the correct followup intents chain for
|
2522
|
+
# Read-only. The unique identifier of the root intent in the chain of
|
2523
|
+
# followup intents. It identifies the correct followup intents chain for
|
2524
|
+
# this intent. We populate this field only in the output.
|
2519
2525
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2520
2526
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
2521
2527
|
# @return [String]
|
@@ -2590,7 +2596,7 @@ module Google
|
|
2590
2596
|
# @return [String]
|
2591
2597
|
attr_accessor :followup_intent_name
|
2592
2598
|
|
2593
|
-
# The unique identifier of the followup intent parent.
|
2599
|
+
# The unique identifier of the followup intent's parent.
|
2594
2600
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
2595
2601
|
# Corresponds to the JSON property `parentFollowupIntentName`
|
2596
2602
|
# @return [String]
|
@@ -545,8 +545,7 @@ module Google
|
|
545
545
|
execute_or_queue_command(command, &block)
|
546
546
|
end
|
547
547
|
|
548
|
-
# Creates multiple new entities in the specified entity type
|
549
|
-
# existing collection of entries).
|
548
|
+
# Creates multiple new entities in the specified entity type.
|
550
549
|
# Operation <response: google.protobuf.Empty>
|
551
550
|
# @param [String] parent
|
552
551
|
# Required. The name of the entity type to create entities in. Format:
|
@@ -617,13 +616,14 @@ module Google
|
|
617
616
|
execute_or_queue_command(command, &block)
|
618
617
|
end
|
619
618
|
|
620
|
-
# Updates entities in the specified entity type
|
621
|
-
#
|
619
|
+
# Updates or creates multiple entities in the specified entity type. This
|
620
|
+
# method does not affect entities in the entity type that aren't explicitly
|
621
|
+
# specified in the request.
|
622
622
|
# Operation <response: google.protobuf.Empty,
|
623
623
|
# metadata: google.protobuf.Struct>
|
624
624
|
# @param [String] parent
|
625
|
-
# Required. The name of the entity type to update
|
626
|
-
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
625
|
+
# Required. The name of the entity type to update or create entities in.
|
626
|
+
# Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
627
627
|
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
628
628
|
# @param [String] fields
|
629
629
|
# Selector specifying which fields to include in a partial response.
|
@@ -1230,9 +1230,10 @@ module Google
|
|
1230
1230
|
execute_or_queue_command(command, &block)
|
1231
1231
|
end
|
1232
1232
|
|
1233
|
-
# Deletes the specified intent.
|
1233
|
+
# Deletes the specified intent and its direct or indirect followup intents.
|
1234
1234
|
# @param [String] name
|
1235
|
-
# Required. The name of the intent to delete.
|
1235
|
+
# Required. The name of the intent to delete. If this intent has direct or
|
1236
|
+
# indirect followup intents, we also delete them.
|
1236
1237
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
1237
1238
|
# @param [String] fields
|
1238
1239
|
# Selector specifying which fields to include in a partial response.
|
@@ -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 = '20180918'
|
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'
|
@@ -1252,6 +1252,11 @@ module Google
|
|
1252
1252
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
1253
1253
|
attr_accessor :dictionary
|
1254
1254
|
|
1255
|
+
#
|
1256
|
+
# Corresponds to the JSON property `exclusionType`
|
1257
|
+
# @return [String]
|
1258
|
+
attr_accessor :exclusion_type
|
1259
|
+
|
1255
1260
|
# Type of information detected by the API.
|
1256
1261
|
# Corresponds to the JSON property `infoType`
|
1257
1262
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
@@ -1295,6 +1300,7 @@ module Google
|
|
1295
1300
|
def update!(**args)
|
1296
1301
|
@detection_rules = args[:detection_rules] if args.key?(:detection_rules)
|
1297
1302
|
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
1303
|
+
@exclusion_type = args[:exclusion_type] if args.key?(:exclusion_type)
|
1298
1304
|
@info_type = args[:info_type] if args.key?(:info_type)
|
1299
1305
|
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
1300
1306
|
@regex = args[:regex] if args.key?(:regex)
|
@@ -1406,13 +1412,14 @@ module Google
|
|
1406
1412
|
class GooglePrivacyDlpV2DateTime
|
1407
1413
|
include Google::Apis::Core::Hashable
|
1408
1414
|
|
1409
|
-
# Represents a whole calendar date,
|
1415
|
+
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
1410
1416
|
# and time zone are either specified elsewhere or are not significant. The date
|
1411
|
-
# is relative to the Proleptic Gregorian Calendar.
|
1412
|
-
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1417
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
1418
|
+
# * A full date, with non-zero year, month and day values
|
1419
|
+
# * A month and day value, with a zero year, e.g. an anniversary
|
1420
|
+
# * A year on its own, with zero month and day values
|
1421
|
+
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
1422
|
+
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
1416
1423
|
# Corresponds to the JSON property `date`
|
1417
1424
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
1418
1425
|
attr_accessor :date
|
@@ -2007,6 +2014,91 @@ module Google
|
|
2007
2014
|
end
|
2008
2015
|
end
|
2009
2016
|
|
2017
|
+
# List of exclude infoTypes.
|
2018
|
+
class GooglePrivacyDlpV2ExcludeInfoTypes
|
2019
|
+
include Google::Apis::Core::Hashable
|
2020
|
+
|
2021
|
+
# InfoType list in ExclusionRule rule drops a finding when it overlaps or
|
2022
|
+
# contained within with a finding of an infoType from this list. For
|
2023
|
+
# example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
|
2024
|
+
# `exclusion_rule` containing `exclude_info_types.info_types` with
|
2025
|
+
# "EMAIL_ADDRESS" the phone number findings are dropped if they overlap
|
2026
|
+
# with EMAIL_ADDRESS finding.
|
2027
|
+
# That leads to "555-222-2222@example.org" to generate only a single
|
2028
|
+
# finding, namely email address.
|
2029
|
+
# Corresponds to the JSON property `infoTypes`
|
2030
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
2031
|
+
attr_accessor :info_types
|
2032
|
+
|
2033
|
+
def initialize(**args)
|
2034
|
+
update!(**args)
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
# Update properties of this object
|
2038
|
+
def update!(**args)
|
2039
|
+
@info_types = args[:info_types] if args.key?(:info_types)
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
# The rule that specifies conditions when findings of infoTypes specified in
|
2044
|
+
# `InspectionRuleSet` are removed from results.
|
2045
|
+
class GooglePrivacyDlpV2ExclusionRule
|
2046
|
+
include Google::Apis::Core::Hashable
|
2047
|
+
|
2048
|
+
# Custom information type based on a dictionary of words or phrases. This can
|
2049
|
+
# be used to match sensitive information specific to the data, such as a list
|
2050
|
+
# of employee IDs or job titles.
|
2051
|
+
# Dictionary words are case-insensitive and all characters other than letters
|
2052
|
+
# and digits in the unicode [Basic Multilingual
|
2053
|
+
# Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
|
2054
|
+
# Basic_Multilingual_Plane)
|
2055
|
+
# will be replaced with whitespace when scanning for matches, so the
|
2056
|
+
# dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
|
2057
|
+
# "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
|
2058
|
+
# surrounding any match must be of a different type than the adjacent
|
2059
|
+
# characters within the word, so letters must be next to non-letters and
|
2060
|
+
# digits next to non-digits. For example, the dictionary word "jen" will
|
2061
|
+
# match the first three letters of the text "jen123" but will return no
|
2062
|
+
# matches for "jennifer".
|
2063
|
+
# Dictionary words containing a large number of characters that are not
|
2064
|
+
# letters or digits may result in unexpected findings because such characters
|
2065
|
+
# are treated as whitespace. The
|
2066
|
+
# [limits](https://cloud.google.com/dlp/limits) page contains details about
|
2067
|
+
# the size limits of dictionaries. For dictionaries that do not fit within
|
2068
|
+
# these constraints, consider using `LargeCustomDictionaryConfig` in the
|
2069
|
+
# `StoredInfoType` API.
|
2070
|
+
# Corresponds to the JSON property `dictionary`
|
2071
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
2072
|
+
attr_accessor :dictionary
|
2073
|
+
|
2074
|
+
# List of exclude infoTypes.
|
2075
|
+
# Corresponds to the JSON property `excludeInfoTypes`
|
2076
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
|
2077
|
+
attr_accessor :exclude_info_types
|
2078
|
+
|
2079
|
+
# How the rule is applied, see MatchingType documentation for details.
|
2080
|
+
# Corresponds to the JSON property `matchingType`
|
2081
|
+
# @return [String]
|
2082
|
+
attr_accessor :matching_type
|
2083
|
+
|
2084
|
+
# Message defining a custom regular expression.
|
2085
|
+
# Corresponds to the JSON property `regex`
|
2086
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
2087
|
+
attr_accessor :regex
|
2088
|
+
|
2089
|
+
def initialize(**args)
|
2090
|
+
update!(**args)
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
# Update properties of this object
|
2094
|
+
def update!(**args)
|
2095
|
+
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
2096
|
+
@exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
|
2097
|
+
@matching_type = args[:matching_type] if args.key?(:matching_type)
|
2098
|
+
@regex = args[:regex] if args.key?(:regex)
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
2010
2102
|
# An expression, consisting or an operator and conditions.
|
2011
2103
|
class GooglePrivacyDlpV2Expressions
|
2012
2104
|
include Google::Apis::Core::Hashable
|
@@ -2555,6 +2647,13 @@ module Google
|
|
2555
2647
|
# @return [String]
|
2556
2648
|
attr_accessor :min_likelihood
|
2557
2649
|
|
2650
|
+
# Set of rules to apply to the findings for this InspectConfig.
|
2651
|
+
# Exclusion rules, contained in the set are executed in the end, other
|
2652
|
+
# rules are executed in the order they are specified for each info type.
|
2653
|
+
# Corresponds to the JSON property `ruleSet`
|
2654
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet>]
|
2655
|
+
attr_accessor :rule_set
|
2656
|
+
|
2558
2657
|
def initialize(**args)
|
2559
2658
|
update!(**args)
|
2560
2659
|
end
|
@@ -2568,6 +2667,7 @@ module Google
|
|
2568
2667
|
@info_types = args[:info_types] if args.key?(:info_types)
|
2569
2668
|
@limits = args[:limits] if args.key?(:limits)
|
2570
2669
|
@min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
|
2670
|
+
@rule_set = args[:rule_set] if args.key?(:rule_set)
|
2571
2671
|
end
|
2572
2672
|
end
|
2573
2673
|
|
@@ -2782,6 +2882,60 @@ module Google
|
|
2782
2882
|
end
|
2783
2883
|
end
|
2784
2884
|
|
2885
|
+
# A single inspection rule to be applied to infoTypes, specified in
|
2886
|
+
# `InspectionRuleSet`.
|
2887
|
+
class GooglePrivacyDlpV2InspectionRule
|
2888
|
+
include Google::Apis::Core::Hashable
|
2889
|
+
|
2890
|
+
# The rule that specifies conditions when findings of infoTypes specified in
|
2891
|
+
# `InspectionRuleSet` are removed from results.
|
2892
|
+
# Corresponds to the JSON property `exclusionRule`
|
2893
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule]
|
2894
|
+
attr_accessor :exclusion_rule
|
2895
|
+
|
2896
|
+
# The rule that adjusts the likelihood of findings within a certain
|
2897
|
+
# proximity of hotwords.
|
2898
|
+
# Corresponds to the JSON property `hotwordRule`
|
2899
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule]
|
2900
|
+
attr_accessor :hotword_rule
|
2901
|
+
|
2902
|
+
def initialize(**args)
|
2903
|
+
update!(**args)
|
2904
|
+
end
|
2905
|
+
|
2906
|
+
# Update properties of this object
|
2907
|
+
def update!(**args)
|
2908
|
+
@exclusion_rule = args[:exclusion_rule] if args.key?(:exclusion_rule)
|
2909
|
+
@hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule)
|
2910
|
+
end
|
2911
|
+
end
|
2912
|
+
|
2913
|
+
# Rule set for modifying a set of infoTypes to alter behavior under certain
|
2914
|
+
# circumstances, depending on the specific details of the rules within the set.
|
2915
|
+
class GooglePrivacyDlpV2InspectionRuleSet
|
2916
|
+
include Google::Apis::Core::Hashable
|
2917
|
+
|
2918
|
+
# List of infoTypes this rule set is applied to.
|
2919
|
+
# Corresponds to the JSON property `infoTypes`
|
2920
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
2921
|
+
attr_accessor :info_types
|
2922
|
+
|
2923
|
+
# Set of rules to be applied to infoTypes. The rules are applied in order.
|
2924
|
+
# Corresponds to the JSON property `rules`
|
2925
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRule>]
|
2926
|
+
attr_accessor :rules
|
2927
|
+
|
2928
|
+
def initialize(**args)
|
2929
|
+
update!(**args)
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# Update properties of this object
|
2933
|
+
def update!(**args)
|
2934
|
+
@info_types = args[:info_types] if args.key?(:info_types)
|
2935
|
+
@rules = args[:rules] if args.key?(:rules)
|
2936
|
+
end
|
2937
|
+
end
|
2938
|
+
|
2785
2939
|
# Contains a configuration to make dlp api calls on a repeating basis.
|
2786
2940
|
# See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
|
2787
2941
|
class GooglePrivacyDlpV2JobTrigger
|
@@ -5394,13 +5548,14 @@ module Google
|
|
5394
5548
|
attr_accessor :boolean_value
|
5395
5549
|
alias_method :boolean_value?, :boolean_value
|
5396
5550
|
|
5397
|
-
# Represents a whole calendar date,
|
5551
|
+
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
5398
5552
|
# and time zone are either specified elsewhere or are not significant. The date
|
5399
|
-
# is relative to the Proleptic Gregorian Calendar.
|
5400
|
-
#
|
5401
|
-
#
|
5402
|
-
#
|
5403
|
-
#
|
5553
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
5554
|
+
# * A full date, with non-zero year, month and day values
|
5555
|
+
# * A month and day value, with a zero year, e.g. an anniversary
|
5556
|
+
# * A year on its own, with zero month and day values
|
5557
|
+
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
5558
|
+
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
5404
5559
|
# Corresponds to the JSON property `dateValue`
|
5405
5560
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
5406
5561
|
attr_accessor :date_value
|
@@ -5596,24 +5751,26 @@ module Google
|
|
5596
5751
|
end
|
5597
5752
|
end
|
5598
5753
|
|
5599
|
-
# Represents a whole calendar date,
|
5754
|
+
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
5600
5755
|
# and time zone are either specified elsewhere or are not significant. The date
|
5601
|
-
# is relative to the Proleptic Gregorian Calendar.
|
5602
|
-
#
|
5603
|
-
#
|
5604
|
-
#
|
5605
|
-
#
|
5756
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
5757
|
+
# * A full date, with non-zero year, month and day values
|
5758
|
+
# * A month and day value, with a zero year, e.g. an anniversary
|
5759
|
+
# * A year on its own, with zero month and day values
|
5760
|
+
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
5761
|
+
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
|
5606
5762
|
class GoogleTypeDate
|
5607
5763
|
include Google::Apis::Core::Hashable
|
5608
5764
|
|
5609
5765
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
5610
|
-
# if specifying a year
|
5766
|
+
# if specifying a year by itself or a year and month where the day is not
|
5767
|
+
# significant.
|
5611
5768
|
# Corresponds to the JSON property `day`
|
5612
5769
|
# @return [Fixnum]
|
5613
5770
|
attr_accessor :day
|
5614
5771
|
|
5615
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a
|
5616
|
-
# month.
|
5772
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
5773
|
+
# month and day.
|
5617
5774
|
# Corresponds to the JSON property `month`
|
5618
5775
|
# @return [Fixnum]
|
5619
5776
|
attr_accessor :month
|