google-api-client 0.30.5 → 0.30.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
  9. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  10. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
  13. data/generated/google/apis/cloudasset_v1.rb +1 -1
  14. data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
  15. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
  18. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  20. data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
  21. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudiot_v1.rb +1 -1
  24. data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
  25. data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
  26. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  27. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
  28. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
  29. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
  30. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
  32. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
  35. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
  37. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
  39. data/generated/google/apis/compute_alpha.rb +1 -1
  40. data/generated/google/apis/compute_alpha/classes.rb +261 -145
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +261 -145
  43. data/generated/google/apis/compute_beta/service.rb +1 -1
  44. data/generated/google/apis/compute_v1.rb +1 -1
  45. data/generated/google/apis/compute_v1/classes.rb +242 -125
  46. data/generated/google/apis/container_v1.rb +1 -1
  47. data/generated/google/apis/container_v1/classes.rb +43 -0
  48. data/generated/google/apis/container_v1/representations.rb +19 -0
  49. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  50. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
  51. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
  52. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  53. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
  54. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2/classes.rb +0 -6
  57. data/generated/google/apis/content_v2/representations.rb +0 -1
  58. data/generated/google/apis/content_v2_1.rb +1 -1
  59. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  60. data/generated/google/apis/dataproc_v1.rb +1 -1
  61. data/generated/google/apis/dataproc_v1/classes.rb +27 -0
  62. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  63. data/generated/google/apis/dataproc_v1/service.rb +0 -216
  64. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  65. data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
  66. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  67. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
  68. data/generated/google/apis/dialogflow_v2.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
  70. data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
  71. data/generated/google/apis/dialogflow_v2/service.rb +47 -0
  72. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
  74. data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
  75. data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
  76. data/generated/google/apis/fcm_v1.rb +1 -1
  77. data/generated/google/apis/fcm_v1/classes.rb +29 -0
  78. data/generated/google/apis/fcm_v1/representations.rb +3 -0
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
  85. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  86. data/generated/google/apis/iam_v1.rb +1 -1
  87. data/generated/google/apis/iam_v1/classes.rb +12 -12
  88. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  89. data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
  90. data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
  91. data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
  92. data/generated/google/apis/iap_v1.rb +1 -1
  93. data/generated/google/apis/iap_v1/classes.rb +2 -2
  94. data/generated/google/apis/iap_v1beta1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta2.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +11 -11
  100. data/generated/google/apis/ml_v1/service.rb +14 -2
  101. data/generated/google/apis/pubsub_v1.rb +1 -1
  102. data/generated/google/apis/pubsub_v1/service.rb +21 -3
  103. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  104. data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
  105. data/generated/google/apis/run_v1alpha1.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
  107. data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
  108. data/generated/google/apis/run_v1alpha1/service.rb +7 -1
  109. data/generated/google/apis/run_v1beta1.rb +35 -0
  110. data/generated/google/apis/run_v1beta1/classes.rb +98 -0
  111. data/generated/google/apis/run_v1beta1/representations.rb +58 -0
  112. data/generated/google/apis/run_v1beta1/service.rb +99 -0
  113. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  114. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  115. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
  116. data/generated/google/apis/securitycenter_v1.rb +1 -1
  117. data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
  118. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  119. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  120. data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
  121. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  122. data/generated/google/apis/servicebroker_v1.rb +1 -1
  123. data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
  124. data/generated/google/apis/servicebroker_v1/service.rb +7 -1
  125. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  126. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
  127. data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
  128. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  129. data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
  130. data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  132. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
  133. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  134. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  135. data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
  136. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  137. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  138. data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
  139. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
  142. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  143. data/generated/google/apis/serviceusage_v1.rb +1 -1
  144. data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
  145. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  146. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  147. data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
  148. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  149. data/generated/google/apis/sheets_v4.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v2.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1.rb +1 -1
  154. data/generated/google/apis/videointelligence_v1/service.rb +0 -104
  155. data/generated/google/apis/vision_v1.rb +1 -1
  156. data/generated/google/apis/vision_v1/classes.rb +1995 -0
  157. data/generated/google/apis/vision_v1/representations.rb +1711 -843
  158. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  159. data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
  160. data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
  161. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  162. data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
  163. data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
  164. data/lib/google/apis/version.rb +1 -1
  165. metadata +6 -2
@@ -1460,6 +1460,53 @@ module Google
1460
1460
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1461
1461
  execute_or_queue_command(command, &block)
1462
1462
  end
1463
+
1464
+ # Lists operations that match the specified filter in the request. If the
1465
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
1466
+ # NOTE: the `name` binding allows API services to override the binding
1467
+ # to use different resource name schemes, such as `users/*/operations`. To
1468
+ # override the binding, API services can add a binding such as
1469
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
1470
+ # For backwards compatibility, the default name includes the operations
1471
+ # collection id, however overriding users must ensure the name binding
1472
+ # is the parent resource, without the operations collection id.
1473
+ # @param [String] name
1474
+ # The name of the operation's parent resource.
1475
+ # @param [String] filter
1476
+ # The standard list filter.
1477
+ # @param [Fixnum] page_size
1478
+ # The standard list page size.
1479
+ # @param [String] page_token
1480
+ # The standard list page token.
1481
+ # @param [String] fields
1482
+ # Selector specifying which fields to include in a partial response.
1483
+ # @param [String] quota_user
1484
+ # Available to use for quota purposes for server-side applications. Can be any
1485
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1486
+ # @param [Google::Apis::RequestOptions] options
1487
+ # Request-specific options
1488
+ #
1489
+ # @yield [result, err] Result & error if block supplied
1490
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse] parsed result object
1491
+ # @yieldparam err [StandardError] error object if request failed
1492
+ #
1493
+ # @return [Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse]
1494
+ #
1495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1498
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1499
+ command = make_simple_command(:get, 'v2/{+name}/operations', options)
1500
+ command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation
1501
+ command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse
1502
+ command.params['name'] = name unless name.nil?
1503
+ command.query['filter'] = filter unless filter.nil?
1504
+ command.query['pageSize'] = page_size unless page_size.nil?
1505
+ command.query['pageToken'] = page_token unless page_token.nil?
1506
+ command.query['fields'] = fields unless fields.nil?
1507
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1508
+ execute_or_queue_command(command, &block)
1509
+ end
1463
1510
 
1464
1511
  protected
1465
1512
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190629'
29
+ REVISION = '20190708'
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'
@@ -1291,6 +1291,10 @@ module Google
1291
1291
 
1292
1292
  # The intent detection confidence. Values range from 0.0
1293
1293
  # (completely uncertain) to 1.0 (completely certain).
1294
+ # This value is for informational purpose only and is only used to
1295
+ # help match the best intent within the classification threshold.
1296
+ # This value may change for the same end-user expression at any time due to a
1297
+ # model retraining or change in implementation.
1294
1298
  # If there are `multiple knowledge_answers` messages, this value is set to
1295
1299
  # the greatest `knowledgeAnswers.match_confidence` value in the list.
1296
1300
  # Corresponds to the JSON property `intentDetectionConfidence`
@@ -1661,6 +1665,26 @@ module Google
1661
1665
  end
1662
1666
  end
1663
1667
 
1668
+ # Metadata for article suggestion models.
1669
+ class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
1670
+ include Google::Apis::Core::Hashable
1671
+
1672
+ # Optional. Type of the article suggestion model. The available values are:
1673
+ # * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model.
1674
+ # Corresponds to the JSON property `modelType`
1675
+ # @return [String]
1676
+ attr_accessor :model_type
1677
+
1678
+ def initialize(**args)
1679
+ update!(**args)
1680
+ end
1681
+
1682
+ # Update properties of this object
1683
+ def update!(**args)
1684
+ @model_type = args[:model_type] if args.key?(:model_type)
1685
+ end
1686
+ end
1687
+
1664
1688
  # The request message for EntityTypes.BatchCreateEntities.
1665
1689
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
1666
1690
  include Google::Apis::Core::Hashable
@@ -1976,6 +2000,63 @@ module Google
1976
2000
  end
1977
2001
  end
1978
2002
 
2003
+ # Represents a conversation model.
2004
+ class GoogleCloudDialogflowV2beta1ConversationModel
2005
+ include Google::Apis::Core::Hashable
2006
+
2007
+ # Metadata for article suggestion models.
2008
+ # Corresponds to the JSON property `articleSuggestionModelMetadata`
2009
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata]
2010
+ attr_accessor :article_suggestion_model_metadata
2011
+
2012
+ # Output only. Creation time of this model.
2013
+ # Corresponds to the JSON property `createTime`
2014
+ # @return [String]
2015
+ attr_accessor :create_time
2016
+
2017
+ # Required. Datasets used to create model.
2018
+ # Corresponds to the JSON property `datasets`
2019
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset>]
2020
+ attr_accessor :datasets
2021
+
2022
+ # Required. The display name of the model. At most 64 bytes long.
2023
+ # Corresponds to the JSON property `displayName`
2024
+ # @return [String]
2025
+ attr_accessor :display_name
2026
+
2027
+ # Output only. ConversationModel resource name. Format:
2028
+ # `projects/<Project ID>/conversationModels/<Conversation Model ID>`
2029
+ # Corresponds to the JSON property `name`
2030
+ # @return [String]
2031
+ attr_accessor :name
2032
+
2033
+ # Metadata for smart reply models.
2034
+ # Corresponds to the JSON property `smartReplyModelMetadata`
2035
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
2036
+ attr_accessor :smart_reply_model_metadata
2037
+
2038
+ # Output only. State of the model. A model can only serve prediction requests
2039
+ # after it gets deployed.
2040
+ # Corresponds to the JSON property `state`
2041
+ # @return [String]
2042
+ attr_accessor :state
2043
+
2044
+ def initialize(**args)
2045
+ update!(**args)
2046
+ end
2047
+
2048
+ # Update properties of this object
2049
+ def update!(**args)
2050
+ @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
2051
+ @create_time = args[:create_time] if args.key?(:create_time)
2052
+ @datasets = args[:datasets] if args.key?(:datasets)
2053
+ @display_name = args[:display_name] if args.key?(:display_name)
2054
+ @name = args[:name] if args.key?(:name)
2055
+ @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
2056
+ @state = args[:state] if args.key?(:state)
2057
+ end
2058
+ end
2059
+
1979
2060
  # The request to detect user's intent.
1980
2061
  class GoogleCloudDialogflowV2beta1DetectIntentRequest
1981
2062
  include Google::Apis::Core::Hashable
@@ -2504,6 +2585,29 @@ module Google
2504
2585
  end
2505
2586
  end
2506
2587
 
2588
+ # InputDataset used to create model or do evaluation.
2589
+ class GoogleCloudDialogflowV2beta1InputDataset
2590
+ include Google::Apis::Core::Hashable
2591
+
2592
+ # Required. ConversationDataset resource name. Format:
2593
+ # `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
2594
+ # or
2595
+ # `projects/<Project ID>/conversationDatasets/<Conversation Dataset
2596
+ # ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
2597
+ # Corresponds to the JSON property `dataset`
2598
+ # @return [String]
2599
+ attr_accessor :dataset
2600
+
2601
+ def initialize(**args)
2602
+ update!(**args)
2603
+ end
2604
+
2605
+ # Update properties of this object
2606
+ def update!(**args)
2607
+ @dataset = args[:dataset] if args.key?(:dataset)
2608
+ end
2609
+ end
2610
+
2507
2611
  # Represents an intent.
2508
2612
  # Intents convert a number of user expressions or patterns into an action. An
2509
2613
  # action is an extraction of a user command or sentence semantics.
@@ -4518,6 +4622,10 @@ module Google
4518
4622
 
4519
4623
  # The intent detection confidence. Values range from 0.0
4520
4624
  # (completely uncertain) to 1.0 (completely certain).
4625
+ # This value is for informational purpose only and is only used to
4626
+ # help match the best intent within the classification threshold.
4627
+ # This value may change for the same end-user expression at any time due to a
4628
+ # model retraining or change in implementation.
4521
4629
  # If there are `multiple knowledge_answers` messages, this value is set to
4522
4630
  # the greatest `knowledgeAnswers.match_confidence` value in the list.
4523
4631
  # Corresponds to the JSON property `intentDetectionConfidence`
@@ -4813,6 +4921,19 @@ module Google
4813
4921
  end
4814
4922
  end
4815
4923
 
4924
+ # Metadata for smart reply models.
4925
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
4926
+ include Google::Apis::Core::Hashable
4927
+
4928
+ def initialize(**args)
4929
+ update!(**args)
4930
+ end
4931
+
4932
+ # Update properties of this object
4933
+ def update!(**args)
4934
+ end
4935
+ end
4936
+
4816
4937
  # Configuration of how speech should be synthesized.
4817
4938
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
4818
4939
  include Google::Apis::Core::Hashable
@@ -5077,6 +5198,31 @@ module Google
5077
5198
  end
5078
5199
  end
5079
5200
 
5201
+ # The response message for Operations.ListOperations.
5202
+ class GoogleLongrunningListOperationsResponse
5203
+ include Google::Apis::Core::Hashable
5204
+
5205
+ # The standard List next-page token.
5206
+ # Corresponds to the JSON property `nextPageToken`
5207
+ # @return [String]
5208
+ attr_accessor :next_page_token
5209
+
5210
+ # A list of operations that matches the specified filter in the request.
5211
+ # Corresponds to the JSON property `operations`
5212
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation>]
5213
+ attr_accessor :operations
5214
+
5215
+ def initialize(**args)
5216
+ update!(**args)
5217
+ end
5218
+
5219
+ # Update properties of this object
5220
+ def update!(**args)
5221
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5222
+ @operations = args[:operations] if args.key?(:operations)
5223
+ end
5224
+ end
5225
+
5080
5226
  # This resource represents a long-running operation that is the result of a
5081
5227
  # network API call.
5082
5228
  class GoogleLongrunningOperation
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -310,6 +316,12 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class GoogleCloudDialogflowV2beta1ConversationModel
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class GoogleCloudDialogflowV2beta1DetectIntentRequest
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -376,6 +388,12 @@ module Google
376
388
  include Google::Apis::Core::JsonObjectSupport
377
389
  end
378
390
 
391
+ class GoogleCloudDialogflowV2beta1InputDataset
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
379
397
  class GoogleCloudDialogflowV2beta1Intent
380
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
399
 
@@ -742,6 +760,12 @@ module Google
742
760
  include Google::Apis::Core::JsonObjectSupport
743
761
  end
744
762
 
763
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
745
769
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
746
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
771
 
@@ -778,6 +802,12 @@ module Google
778
802
  include Google::Apis::Core::JsonObjectSupport
779
803
  end
780
804
 
805
+ class GoogleLongrunningListOperationsResponse
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
781
811
  class GoogleLongrunningOperation
782
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
813
 
@@ -1219,6 +1249,13 @@ module Google
1219
1249
  end
1220
1250
  end
1221
1251
 
1252
+ class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
1253
+ # @private
1254
+ class Representation < Google::Apis::Core::JsonRepresentation
1255
+ property :model_type, as: 'modelType'
1256
+ end
1257
+ end
1258
+
1222
1259
  class GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
1223
1260
  # @private
1224
1261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1309,6 +1346,22 @@ module Google
1309
1346
  end
1310
1347
  end
1311
1348
 
1349
+ class GoogleCloudDialogflowV2beta1ConversationModel
1350
+ # @private
1351
+ class Representation < Google::Apis::Core::JsonRepresentation
1352
+ property :article_suggestion_model_metadata, as: 'articleSuggestionModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata::Representation
1353
+
1354
+ property :create_time, as: 'createTime'
1355
+ collection :datasets, as: 'datasets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InputDataset::Representation
1356
+
1357
+ property :display_name, as: 'displayName'
1358
+ property :name, as: 'name'
1359
+ property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
1360
+
1361
+ property :state, as: 'state'
1362
+ end
1363
+ end
1364
+
1312
1365
  class GoogleCloudDialogflowV2beta1DetectIntentRequest
1313
1366
  # @private
1314
1367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1425,6 +1478,13 @@ module Google
1425
1478
  end
1426
1479
  end
1427
1480
 
1481
+ class GoogleCloudDialogflowV2beta1InputDataset
1482
+ # @private
1483
+ class Representation < Google::Apis::Core::JsonRepresentation
1484
+ property :dataset, as: 'dataset'
1485
+ end
1486
+ end
1487
+
1428
1488
  class GoogleCloudDialogflowV2beta1Intent
1429
1489
  # @private
1430
1490
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2050,6 +2110,12 @@ module Google
2050
2110
  end
2051
2111
  end
2052
2112
 
2113
+ class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
2114
+ # @private
2115
+ class Representation < Google::Apis::Core::JsonRepresentation
2116
+ end
2117
+ end
2118
+
2053
2119
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
2054
2120
  # @private
2055
2121
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2114,6 +2180,15 @@ module Google
2114
2180
  end
2115
2181
  end
2116
2182
 
2183
+ class GoogleLongrunningListOperationsResponse
2184
+ # @private
2185
+ class Representation < Google::Apis::Core::JsonRepresentation
2186
+ property :next_page_token, as: 'nextPageToken'
2187
+ collection :operations, as: 'operations', class: Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
2188
+
2189
+ end
2190
+ end
2191
+
2117
2192
  class GoogleLongrunningOperation
2118
2193
  # @private
2119
2194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2819,6 +2819,53 @@ module Google
2819
2819
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2820
2820
  execute_or_queue_command(command, &block)
2821
2821
  end
2822
+
2823
+ # Lists operations that match the specified filter in the request. If the
2824
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
2825
+ # NOTE: the `name` binding allows API services to override the binding
2826
+ # to use different resource name schemes, such as `users/*/operations`. To
2827
+ # override the binding, API services can add a binding such as
2828
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
2829
+ # For backwards compatibility, the default name includes the operations
2830
+ # collection id, however overriding users must ensure the name binding
2831
+ # is the parent resource, without the operations collection id.
2832
+ # @param [String] name
2833
+ # The name of the operation's parent resource.
2834
+ # @param [String] filter
2835
+ # The standard list filter.
2836
+ # @param [Fixnum] page_size
2837
+ # The standard list page size.
2838
+ # @param [String] page_token
2839
+ # The standard list page token.
2840
+ # @param [String] fields
2841
+ # Selector specifying which fields to include in a partial response.
2842
+ # @param [String] quota_user
2843
+ # Available to use for quota purposes for server-side applications. Can be any
2844
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2845
+ # @param [Google::Apis::RequestOptions] options
2846
+ # Request-specific options
2847
+ #
2848
+ # @yield [result, err] Result & error if block supplied
2849
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse] parsed result object
2850
+ # @yieldparam err [StandardError] error object if request failed
2851
+ #
2852
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse]
2853
+ #
2854
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2855
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2856
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2857
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2858
+ command = make_simple_command(:get, 'v2beta1/{+name}/operations', options)
2859
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse::Representation
2860
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse
2861
+ command.params['name'] = name unless name.nil?
2862
+ command.query['filter'] = filter unless filter.nil?
2863
+ command.query['pageSize'] = page_size unless page_size.nil?
2864
+ command.query['pageToken'] = page_token unless page_token.nil?
2865
+ command.query['fields'] = fields unless fields.nil?
2866
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2867
+ execute_or_queue_command(command, &block)
2868
+ end
2822
2869
 
2823
2870
  protected
2824
2871