google-api-client 0.30.10 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
  5. data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
  6. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
  8. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
  9. data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
  13. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
  15. data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
  16. data/generated/google/apis/bigquery_v2.rb +1 -1
  17. data/generated/google/apis/bigquery_v2/classes.rb +15 -9
  18. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  19. data/generated/google/apis/bigquery_v2/service.rb +24 -24
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
  22. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  23. data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
  24. data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
  25. data/generated/google/apis/calendar_v3.rb +1 -1
  26. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
  29. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  30. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
  31. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +20 -6
  35. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  36. data/generated/google/apis/compute_beta.rb +1 -1
  37. data/generated/google/apis/compute_beta/classes.rb +112 -6
  38. data/generated/google/apis/compute_beta/representations.rb +58 -0
  39. data/generated/google/apis/compute_beta/service.rb +118 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +1095 -7
  42. data/generated/google/apis/compute_v1/representations.rb +483 -0
  43. data/generated/google/apis/compute_v1/service.rb +2307 -468
  44. data/generated/google/apis/container_v1.rb +1 -1
  45. data/generated/google/apis/container_v1/classes.rb +3 -3
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +108 -3
  48. data/generated/google/apis/container_v1beta1/representations.rb +35 -0
  49. data/generated/google/apis/dialogflow_v2.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
  51. data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
  52. data/generated/google/apis/dialogflow_v2/service.rb +78 -0
  53. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
  55. data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
  56. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
  57. data/generated/google/apis/dns_v1.rb +1 -1
  58. data/generated/google/apis/dns_v1/classes.rb +330 -4
  59. data/generated/google/apis/dns_v1/representations.rb +149 -0
  60. data/generated/google/apis/dns_v1/service.rb +246 -0
  61. data/generated/google/apis/dns_v1beta2.rb +1 -1
  62. data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
  63. data/generated/google/apis/dns_v2beta1.rb +1 -1
  64. data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
  65. data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
  66. data/generated/google/apis/dns_v2beta1/service.rb +246 -0
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +9 -1
  69. data/generated/google/apis/iam_v1/service.rb +5 -3
  70. data/generated/google/apis/iap_v1.rb +1 -1
  71. data/generated/google/apis/iap_v1/classes.rb +11 -4
  72. data/generated/google/apis/iap_v1beta1.rb +1 -1
  73. data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
  74. data/generated/google/apis/jobs_v3.rb +1 -1
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/logging_v2.rb +1 -1
  77. data/generated/google/apis/logging_v2/classes.rb +30 -0
  78. data/generated/google/apis/logging_v2/representations.rb +15 -0
  79. data/generated/google/apis/logging_v2/service.rb +30 -35
  80. data/generated/google/apis/monitoring_v3.rb +1 -1
  81. data/generated/google/apis/monitoring_v3/classes.rb +60 -59
  82. data/generated/google/apis/monitoring_v3/service.rb +18 -18
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +40 -40
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
  87. data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
  88. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  89. data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
  90. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  91. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1.rb +1 -1
  93. data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
  94. data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
  95. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  96. data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
  97. data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
  98. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  99. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
  100. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
  101. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  102. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
  103. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
  104. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  105. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
  106. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
  107. data/lib/google/apis/version.rb +1 -1
  108. metadata +2 -6
  109. data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
  110. data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
  111. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
  112. data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190902'
29
+ REVISION = '20190909'
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'
@@ -117,6 +117,12 @@ module Google
117
117
  # @return [String]
118
118
  attr_accessor :display_name
119
119
 
120
+ # Optional. Enables fuzzy entity extraction during classification.
121
+ # Corresponds to the JSON property `enableFuzzyExtraction`
122
+ # @return [Boolean]
123
+ attr_accessor :enable_fuzzy_extraction
124
+ alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
125
+
120
126
  # Optional. The collection of entity entries associated with the entity type.
121
127
  # Corresponds to the JSON property `entities`
122
128
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
@@ -143,6 +149,7 @@ module Google
143
149
  def update!(**args)
144
150
  @auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
145
151
  @display_name = args[:display_name] if args.key?(:display_name)
152
+ @enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
146
153
  @entities = args[:entities] if args.key?(:entities)
147
154
  @kind = args[:kind] if args.key?(:kind)
148
155
  @name = args[:name] if args.key?(:name)
@@ -2097,6 +2104,11 @@ module Google
2097
2104
  # @return [String]
2098
2105
  attr_accessor :name
2099
2106
 
2107
+ # Metadata for smart reply models.
2108
+ # Corresponds to the JSON property `smartReplyModelMetadata`
2109
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
2110
+ attr_accessor :smart_reply_model_metadata
2111
+
2100
2112
  # Output only. State of the model. A model can only serve prediction requests
2101
2113
  # after it gets deployed.
2102
2114
  # Corresponds to the JSON property `state`
@@ -2114,6 +2126,7 @@ module Google
2114
2126
  @datasets = args[:datasets] if args.key?(:datasets)
2115
2127
  @display_name = args[:display_name] if args.key?(:display_name)
2116
2128
  @name = args[:name] if args.key?(:name)
2129
+ @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
2117
2130
  @state = args[:state] if args.key?(:state)
2118
2131
  end
2119
2132
  end
@@ -2319,6 +2332,12 @@ module Google
2319
2332
  # @return [String]
2320
2333
  attr_accessor :display_name
2321
2334
 
2335
+ # Optional. Enables fuzzy entity extraction during classification.
2336
+ # Corresponds to the JSON property `enableFuzzyExtraction`
2337
+ # @return [Boolean]
2338
+ attr_accessor :enable_fuzzy_extraction
2339
+ alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
2340
+
2322
2341
  # Optional. The collection of entity entries associated with the entity type.
2323
2342
  # Corresponds to the JSON property `entities`
2324
2343
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
@@ -2345,6 +2364,7 @@ module Google
2345
2364
  def update!(**args)
2346
2365
  @auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
2347
2366
  @display_name = args[:display_name] if args.key?(:display_name)
2367
+ @enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
2348
2368
  @entities = args[:entities] if args.key?(:entities)
2349
2369
  @kind = args[:kind] if args.key?(:kind)
2350
2370
  @name = args[:name] if args.key?(:name)
@@ -2507,48 +2527,6 @@ module Google
2507
2527
  end
2508
2528
  end
2509
2529
 
2510
- # Request message for Document.ExportDocument.
2511
- class GoogleCloudDialogflowV2beta1ExportDocumentRequest
2512
- include Google::Apis::Core::Hashable
2513
-
2514
- # Google Cloud Storage location for the output.
2515
- # Corresponds to the JSON property `gcsDestination`
2516
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination]
2517
- attr_accessor :gcs_destination
2518
-
2519
- def initialize(**args)
2520
- update!(**args)
2521
- end
2522
-
2523
- # Update properties of this object
2524
- def update!(**args)
2525
- @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2526
- end
2527
- end
2528
-
2529
- # Google Cloud Storage location for the output.
2530
- class GoogleCloudDialogflowV2beta1GcsDestination
2531
- include Google::Apis::Core::Hashable
2532
-
2533
- # Required. The Google Cloud Storage URIs for the output. A URI is of the
2534
- # form:
2535
- # gs://bucket/object-prefix-or-name
2536
- # Whether a prefix or name is used depends on the use case. The requesting
2537
- # user must have "write-permission" to the bucket.
2538
- # Corresponds to the JSON property `uri`
2539
- # @return [String]
2540
- attr_accessor :uri
2541
-
2542
- def initialize(**args)
2543
- update!(**args)
2544
- end
2545
-
2546
- # Update properties of this object
2547
- def update!(**args)
2548
- @uri = args[:uri] if args.key?(:uri)
2549
- end
2550
- end
2551
-
2552
2530
  # Google Cloud Storage location for single input.
2553
2531
  class GoogleCloudDialogflowV2beta1GcsSource
2554
2532
  include Google::Apis::Core::Hashable
@@ -2571,34 +2549,6 @@ module Google
2571
2549
  end
2572
2550
  end
2573
2551
 
2574
- # Request for generating knowledge service document for specified knowledge
2575
- # type with provided training dataset.
2576
- class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
2577
- include Google::Apis::Core::Hashable
2578
-
2579
- # The knowledge type of the smart messaging document. Currently this field
2580
- # should only be SMART_REPLY, in the future we will also add knowledge_type
2581
- # SMART_COMPOSE.
2582
- # Corresponds to the JSON property `knowledgeType`
2583
- # @return [String]
2584
- attr_accessor :knowledge_type
2585
-
2586
- # InputDataset used to create smart messaging candidate document.
2587
- # Corresponds to the JSON property `trainingDatasets`
2588
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets]
2589
- attr_accessor :training_datasets
2590
-
2591
- def initialize(**args)
2592
- update!(**args)
2593
- end
2594
-
2595
- # Update properties of this object
2596
- def update!(**args)
2597
- @knowledge_type = args[:knowledge_type] if args.key?(:knowledge_type)
2598
- @training_datasets = args[:training_datasets] if args.key?(:training_datasets)
2599
- end
2600
- end
2601
-
2602
2552
  # The request message for Agents.ImportAgent.
2603
2553
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
2604
2554
  include Google::Apis::Core::Hashable
@@ -2771,26 +2721,6 @@ module Google
2771
2721
  end
2772
2722
  end
2773
2723
 
2774
- # InputDataset used to create smart messaging candidate document.
2775
- class GoogleCloudDialogflowV2beta1InputDatasets
2776
- include Google::Apis::Core::Hashable
2777
-
2778
- # Required. ConversationDataset resource name. Format:
2779
- # `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
2780
- # Corresponds to the JSON property `dataset`
2781
- # @return [Array<String>]
2782
- attr_accessor :dataset
2783
-
2784
- def initialize(**args)
2785
- update!(**args)
2786
- end
2787
-
2788
- # Update properties of this object
2789
- def update!(**args)
2790
- @dataset = args[:dataset] if args.key?(:dataset)
2791
- end
2792
- end
2793
-
2794
2724
  # Represents an intent.
2795
2725
  # Intents convert a number of user expressions or patterns into an action. An
2796
2726
  # action is an extraction of a user command or sentence semantics.
@@ -5134,6 +5064,27 @@ module Google
5134
5064
  end
5135
5065
  end
5136
5066
 
5067
+ # Metadata for smart reply models.
5068
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
5069
+ include Google::Apis::Core::Hashable
5070
+
5071
+ # Optional. Type of the article suggestion model. The available values are:
5072
+ # * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
5073
+ # model.
5074
+ # Corresponds to the JSON property `modelType`
5075
+ # @return [String]
5076
+ attr_accessor :model_type
5077
+
5078
+ def initialize(**args)
5079
+ update!(**args)
5080
+ end
5081
+
5082
+ # Update properties of this object
5083
+ def update!(**args)
5084
+ @model_type = args[:model_type] if args.key?(:model_type)
5085
+ end
5086
+ end
5087
+
5137
5088
  # Hints for the speech recognizer to help with recognition in a specific
5138
5089
  # conversation state.
5139
5090
  class GoogleCloudDialogflowV2beta1SpeechContext
@@ -382,30 +382,12 @@ module Google
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
- class GoogleCloudDialogflowV2beta1ExportDocumentRequest
386
- class Representation < Google::Apis::Core::JsonRepresentation; end
387
-
388
- include Google::Apis::Core::JsonObjectSupport
389
- end
390
-
391
- class GoogleCloudDialogflowV2beta1GcsDestination
392
- class Representation < Google::Apis::Core::JsonRepresentation; end
393
-
394
- include Google::Apis::Core::JsonObjectSupport
395
- end
396
-
397
385
  class GoogleCloudDialogflowV2beta1GcsSource
398
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
387
 
400
388
  include Google::Apis::Core::JsonObjectSupport
401
389
  end
402
390
 
403
- class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
404
- class Representation < Google::Apis::Core::JsonRepresentation; end
405
-
406
- include Google::Apis::Core::JsonObjectSupport
407
- end
408
-
409
391
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
410
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
393
 
@@ -424,12 +406,6 @@ module Google
424
406
  include Google::Apis::Core::JsonObjectSupport
425
407
  end
426
408
 
427
- class GoogleCloudDialogflowV2beta1InputDatasets
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
409
  class GoogleCloudDialogflowV2beta1Intent
434
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
411
 
@@ -802,6 +778,12 @@ module Google
802
778
  include Google::Apis::Core::JsonObjectSupport
803
779
  end
804
780
 
781
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
805
787
  class GoogleCloudDialogflowV2beta1SpeechContext
806
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
789
 
@@ -904,6 +886,7 @@ module Google
904
886
  class Representation < Google::Apis::Core::JsonRepresentation
905
887
  property :auto_expansion_mode, as: 'autoExpansionMode'
906
888
  property :display_name, as: 'displayName'
889
+ property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
907
890
  collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity::Representation
908
891
 
909
892
  property :kind, as: 'kind'
@@ -1411,6 +1394,8 @@ module Google
1411
1394
 
1412
1395
  property :display_name, as: 'displayName'
1413
1396
  property :name, as: 'name'
1397
+ property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
1398
+
1414
1399
  property :state, as: 'state'
1415
1400
  end
1416
1401
  end
@@ -1462,6 +1447,7 @@ module Google
1462
1447
  class Representation < Google::Apis::Core::JsonRepresentation
1463
1448
  property :auto_expansion_mode, as: 'autoExpansionMode'
1464
1449
  property :display_name, as: 'displayName'
1450
+ property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
1465
1451
  collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
1466
1452
 
1467
1453
  property :kind, as: 'kind'
@@ -1509,21 +1495,6 @@ module Google
1509
1495
  end
1510
1496
  end
1511
1497
 
1512
- class GoogleCloudDialogflowV2beta1ExportDocumentRequest
1513
- # @private
1514
- class Representation < Google::Apis::Core::JsonRepresentation
1515
- property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsDestination::Representation
1516
-
1517
- end
1518
- end
1519
-
1520
- class GoogleCloudDialogflowV2beta1GcsDestination
1521
- # @private
1522
- class Representation < Google::Apis::Core::JsonRepresentation
1523
- property :uri, as: 'uri'
1524
- end
1525
- end
1526
-
1527
1498
  class GoogleCloudDialogflowV2beta1GcsSource
1528
1499
  # @private
1529
1500
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1531,15 +1502,6 @@ module Google
1531
1502
  end
1532
1503
  end
1533
1504
 
1534
- class GoogleCloudDialogflowV2beta1GenerateDocumentRequest
1535
- # @private
1536
- class Representation < Google::Apis::Core::JsonRepresentation
1537
- property :knowledge_type, as: 'knowledgeType'
1538
- property :training_datasets, as: 'trainingDatasets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDatasets::Representation
1539
-
1540
- end
1541
- end
1542
-
1543
1505
  class GoogleCloudDialogflowV2beta1ImportAgentRequest
1544
1506
  # @private
1545
1507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1571,13 +1533,6 @@ module Google
1571
1533
  end
1572
1534
  end
1573
1535
 
1574
- class GoogleCloudDialogflowV2beta1InputDatasets
1575
- # @private
1576
- class Representation < Google::Apis::Core::JsonRepresentation
1577
- collection :dataset, as: 'dataset'
1578
- end
1579
- end
1580
-
1581
1536
  class GoogleCloudDialogflowV2beta1Intent
1582
1537
  # @private
1583
1538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2213,6 +2168,13 @@ module Google
2213
2168
  end
2214
2169
  end
2215
2170
 
2171
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
2172
+ # @private
2173
+ class Representation < Google::Apis::Core::JsonRepresentation
2174
+ property :model_type, as: 'modelType'
2175
+ end
2176
+ end
2177
+
2216
2178
  class GoogleCloudDialogflowV2beta1SpeechContext
2217
2179
  # @private
2218
2180
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2657,81 +2657,6 @@ module Google
2657
2657
  execute_or_queue_command(command, &block)
2658
2658
  end
2659
2659
 
2660
- # Exports a smart messaging candidate document into the specified
2661
- # destination.
2662
- # Operation <response: Document,
2663
- # metadata: KnowledgeOperationMetadata>
2664
- # @param [String] name
2665
- # Required. The name of the document to export.
2666
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
2667
- # ID>/documents/<Document ID>`.
2668
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportDocumentRequest] google_cloud_dialogflow_v2beta1_export_document_request_object
2669
- # @param [String] fields
2670
- # Selector specifying which fields to include in a partial response.
2671
- # @param [String] quota_user
2672
- # Available to use for quota purposes for server-side applications. Can be any
2673
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2674
- # @param [Google::Apis::RequestOptions] options
2675
- # Request-specific options
2676
- #
2677
- # @yield [result, err] Result & error if block supplied
2678
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
2679
- # @yieldparam err [StandardError] error object if request failed
2680
- #
2681
- # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
2682
- #
2683
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2684
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2685
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2686
- def export_project_knowledge_basis_document(name, google_cloud_dialogflow_v2beta1_export_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2687
- command = make_simple_command(:post, 'v2beta1/{+name}:export', options)
2688
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportDocumentRequest::Representation
2689
- command.request_object = google_cloud_dialogflow_v2beta1_export_document_request_object
2690
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2691
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2692
- command.params['name'] = name unless name.nil?
2693
- command.query['fields'] = fields unless fields.nil?
2694
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2695
- execute_or_queue_command(command, &block)
2696
- end
2697
-
2698
- # Creates a knowledge service document for specified knowledge type
2699
- # using provided training data.
2700
- # Operation <response: response: Document,
2701
- # metadata: SmartMessagingWhitelistOperationMetadata>
2702
- # @param [String] parent
2703
- # Required. The knowledge base to create a document for.
2704
- # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
2705
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateDocumentRequest] google_cloud_dialogflow_v2beta1_generate_document_request_object
2706
- # @param [String] fields
2707
- # Selector specifying which fields to include in a partial response.
2708
- # @param [String] quota_user
2709
- # Available to use for quota purposes for server-side applications. Can be any
2710
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2711
- # @param [Google::Apis::RequestOptions] options
2712
- # Request-specific options
2713
- #
2714
- # @yield [result, err] Result & error if block supplied
2715
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
2716
- # @yieldparam err [StandardError] error object if request failed
2717
- #
2718
- # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
2719
- #
2720
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2721
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2722
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2723
- def generate_project_knowledge_basis_document(parent, google_cloud_dialogflow_v2beta1_generate_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2724
- command = make_simple_command(:post, 'v2beta1/{+parent}/documents:generate', options)
2725
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateDocumentRequest::Representation
2726
- command.request_object = google_cloud_dialogflow_v2beta1_generate_document_request_object
2727
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2728
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
2729
- command.params['parent'] = parent unless parent.nil?
2730
- command.query['fields'] = fields unless fields.nil?
2731
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2732
- execute_or_queue_command(command, &block)
2733
- end
2734
-
2735
2660
  # Retrieves the specified document.
2736
2661
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2737
2662
  # only use `projects.knowledgeBases.documents`.
@@ -4773,6 +4698,45 @@ module Google
4773
4698
  execute_or_queue_command(command, &block)
4774
4699
  end
4775
4700
 
4701
+ # Starts asynchronous cancellation on a long-running operation. The server
4702
+ # makes a best effort to cancel the operation, but success is not
4703
+ # guaranteed. If the server doesn't support this method, it returns
4704
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
4705
+ # Operations.GetOperation or
4706
+ # other methods to check whether the cancellation succeeded or whether the
4707
+ # operation completed despite cancellation. On successful cancellation,
4708
+ # the operation is not deleted; instead, it becomes an operation with
4709
+ # an Operation.error value with a google.rpc.Status.code of 1,
4710
+ # corresponding to `Code.CANCELLED`.
4711
+ # @param [String] name
4712
+ # The name of the operation resource to be cancelled.
4713
+ # @param [String] fields
4714
+ # Selector specifying which fields to include in a partial response.
4715
+ # @param [String] quota_user
4716
+ # Available to use for quota purposes for server-side applications. Can be any
4717
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4718
+ # @param [Google::Apis::RequestOptions] options
4719
+ # Request-specific options
4720
+ #
4721
+ # @yield [result, err] Result & error if block supplied
4722
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
4723
+ # @yieldparam err [StandardError] error object if request failed
4724
+ #
4725
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
4726
+ #
4727
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4728
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4729
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4730
+ def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4731
+ command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
4732
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
4733
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
4734
+ command.params['name'] = name unless name.nil?
4735
+ command.query['fields'] = fields unless fields.nil?
4736
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4737
+ execute_or_queue_command(command, &block)
4738
+ end
4739
+
4776
4740
  # Gets the latest state of a long-running operation. Clients can use this
4777
4741
  # method to poll the operation result at intervals as recommended by the API
4778
4742
  # service.
@@ -4852,6 +4816,45 @@ module Google
4852
4816
  execute_or_queue_command(command, &block)
4853
4817
  end
4854
4818
 
4819
+ # Starts asynchronous cancellation on a long-running operation. The server
4820
+ # makes a best effort to cancel the operation, but success is not
4821
+ # guaranteed. If the server doesn't support this method, it returns
4822
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
4823
+ # Operations.GetOperation or
4824
+ # other methods to check whether the cancellation succeeded or whether the
4825
+ # operation completed despite cancellation. On successful cancellation,
4826
+ # the operation is not deleted; instead, it becomes an operation with
4827
+ # an Operation.error value with a google.rpc.Status.code of 1,
4828
+ # corresponding to `Code.CANCELLED`.
4829
+ # @param [String] name
4830
+ # The name of the operation resource to be cancelled.
4831
+ # @param [String] fields
4832
+ # Selector specifying which fields to include in a partial response.
4833
+ # @param [String] quota_user
4834
+ # Available to use for quota purposes for server-side applications. Can be any
4835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4836
+ # @param [Google::Apis::RequestOptions] options
4837
+ # Request-specific options
4838
+ #
4839
+ # @yield [result, err] Result & error if block supplied
4840
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
4841
+ # @yieldparam err [StandardError] error object if request failed
4842
+ #
4843
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
4844
+ #
4845
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4846
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4847
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4848
+ def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4849
+ command = make_simple_command(:post, 'v2beta1/{+name}:cancel', options)
4850
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
4851
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
4852
+ command.params['name'] = name unless name.nil?
4853
+ command.query['fields'] = fields unless fields.nil?
4854
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4855
+ execute_or_queue_command(command, &block)
4856
+ end
4857
+
4855
4858
  # Gets the latest state of a long-running operation. Clients can use this
4856
4859
  # method to poll the operation result at intervals as recommended by the API
4857
4860
  # service.