google-api-client 0.36.1 → 0.36.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20191120'
28
+ REVISION = '20191210'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -246,6 +246,22 @@ module Google
246
246
  # For example, my-other-app@appspot.gserviceaccount.com.
247
247
  # group:`emailid`: An email address that represents a Google group. For example,
248
248
  # admins@example.com.
249
+ # deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
250
+ # identifier) representing a user that has been recently deleted. For example,
251
+ # alice@example.com?uid=123456789012345678901. If the user is recovered, this
252
+ # value reverts to user:`emailid` and the recovered user retains the role in
253
+ # the binding.
254
+ # deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus
255
+ # unique identifier) representing a service account that has been recently
256
+ # deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
257
+ # 123456789012345678901. If the service account is undeleted, this value
258
+ # reverts to serviceAccount:`emailid` and the undeleted service account retains
259
+ # the role in the binding.
260
+ # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
261
+ # identifier) representing a Google group that has been recently deleted. For
262
+ # example, admins@example.com?uid=123456789012345678901. If the group is
263
+ # recovered, this value reverts to group:`emailid` and the recovered group
264
+ # retains the role in the binding.
249
265
  # domain:`domain`: The G Suite domain (primary) that represents all the users
250
266
  # of that domain. For example, google.com or example.com.
251
267
  # Corresponds to the JSON property `members`
@@ -2248,14 +2264,15 @@ module Google
2248
2264
  end
2249
2265
  end
2250
2266
 
2251
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
2252
- # access control policies for Cloud Platform resources.A Policy is a collection
2253
- # of bindings. A binding binds one or more members to a single role. Members can
2254
- # be user accounts, service accounts, Google groups, and domains (such as G
2255
- # Suite). A role is a named list of permissions (defined by IAM or configured by
2256
- # users). A binding can optionally specify a condition, which is a logic
2257
- # expression that further constrains the role binding based on attributes about
2258
- # the request and/or target resource.JSON Example
2267
+ # An Identity and Access Management (IAM) policy, which specifies access
2268
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
2269
+ # binding binds one or more members to a single role. Members can be user
2270
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
2271
+ # role is a named list of permissions; each role can be an IAM predefined role
2272
+ # or a user-created custom role.Optionally, a binding can specify a condition,
2273
+ # which is a logical expression that allows access to a resource only if the
2274
+ # expression evaluates to true. A condition can add constraints based on
2275
+ # attributes of the request, the resource, or both.JSON example:
2259
2276
  # `
2260
2277
  # "bindings": [
2261
2278
  # `
@@ -2273,13 +2290,14 @@ module Google
2273
2290
  # "condition": `
2274
2291
  # "title": "expirable access",
2275
2292
  # "description": "Does not grant access after Sep 2020",
2276
- # "expression": "request.time <
2277
- # timestamp('2020-10-01T00:00:00.000Z')",
2293
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
2278
2294
  # `
2279
2295
  # `
2280
- # ]
2296
+ # ],
2297
+ # "etag": "BwWWja0YfJA=",
2298
+ # "version": 3
2281
2299
  # `
2282
- # YAML Example
2300
+ # YAML example:
2283
2301
  # bindings:
2284
2302
  # - members:
2285
2303
  # - user:mike@example.com
@@ -2294,14 +2312,16 @@ module Google
2294
2312
  # title: expirable access
2295
2313
  # description: Does not grant access after Sep 2020
2296
2314
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2297
- # For a description of IAM and its features, see the IAM developer's guide (
2298
- # https://cloud.google.com/iam/docs).
2315
+ # - etag: BwWWja0YfJA=
2316
+ # - version: 3
2317
+ # For a description of IAM and its features, see the IAM documentation (https://
2318
+ # cloud.google.com/iam/docs/).
2299
2319
  class Policy
2300
2320
  include Google::Apis::Core::Hashable
2301
2321
 
2302
- # Associates a list of members to a role. Optionally may specify a condition
2303
- # that determines when binding is in effect. bindings with no members will
2304
- # result in an error.
2322
+ # Associates a list of members to a role. Optionally, may specify a condition
2323
+ # that determines how and when the bindings are applied. Each of the bindings
2324
+ # must contain at least one member.
2305
2325
  # Corresponds to the JSON property `bindings`
2306
2326
  # @return [Array<Google::Apis::DataprocV1beta2::Binding>]
2307
2327
  attr_accessor :bindings
@@ -2312,23 +2332,29 @@ module Google
2312
2332
  # perform policy updates in order to avoid race conditions: An etag is returned
2313
2333
  # in the response to getIamPolicy, and systems are expected to put that etag in
2314
2334
  # the request to setIamPolicy to ensure that their change will be applied to the
2315
- # same version of the policy.If no etag is provided in the call to setIamPolicy,
2316
- # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2317
- # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2318
- # does not meet the requirements for modifying the stored policy.
2335
+ # same version of the policy.Important: If you use IAM Conditions, you must
2336
+ # include the etag field whenever you call setIamPolicy. If you omit this field,
2337
+ # then IAM allows you to overwrite a version 3 policy with a version 1 policy,
2338
+ # and all of the conditions in the version 3 policy are lost.
2319
2339
  # Corresponds to the JSON property `etag`
2320
2340
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2321
2341
  # @return [String]
2322
2342
  attr_accessor :etag
2323
2343
 
2324
- # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2325
- # specifying an invalid value will be rejected.Operations affecting conditional
2326
- # bindings must specify version 3. This can be either setting a conditional
2327
- # policy, modifying a conditional binding, or removing a binding (conditional or
2328
- # unconditional) from the stored conditional policy. Operations on non-
2329
- # conditional policies may specify any valid value or leave the field unset.If
2330
- # no etag is provided in the call to setIamPolicy, version compliance checks
2331
- # against the stored policy is skipped.
2344
+ # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that
2345
+ # specify an invalid value are rejected.Any operation that affects conditional
2346
+ # role bindings must specify version 3. This requirement applies to the
2347
+ # following operations:
2348
+ # Getting a policy that includes a conditional role binding
2349
+ # Adding a conditional role binding to a policy
2350
+ # Changing a conditional role binding in a policy
2351
+ # Removing any role binding, with or without a condition, from a policy that
2352
+ # includes conditionsImportant: If you use IAM Conditions, you must include the
2353
+ # etag field whenever you call setIamPolicy. If you omit this field, then IAM
2354
+ # allows you to overwrite a version 3 policy with a version 1 policy, and all of
2355
+ # the conditions in the version 3 policy are lost.If a policy does not include
2356
+ # any conditions, operations on that policy may specify any valid version or
2357
+ # leave the field unset.
2332
2358
  # Corresponds to the JSON property `version`
2333
2359
  # @return [Fixnum]
2334
2360
  attr_accessor :version
@@ -2584,14 +2610,15 @@ module Google
2584
2610
  class SetIamPolicyRequest
2585
2611
  include Google::Apis::Core::Hashable
2586
2612
 
2587
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
2588
- # access control policies for Cloud Platform resources.A Policy is a collection
2589
- # of bindings. A binding binds one or more members to a single role. Members can
2590
- # be user accounts, service accounts, Google groups, and domains (such as G
2591
- # Suite). A role is a named list of permissions (defined by IAM or configured by
2592
- # users). A binding can optionally specify a condition, which is a logic
2593
- # expression that further constrains the role binding based on attributes about
2594
- # the request and/or target resource.JSON Example
2613
+ # An Identity and Access Management (IAM) policy, which specifies access
2614
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
2615
+ # binding binds one or more members to a single role. Members can be user
2616
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
2617
+ # role is a named list of permissions; each role can be an IAM predefined role
2618
+ # or a user-created custom role.Optionally, a binding can specify a condition,
2619
+ # which is a logical expression that allows access to a resource only if the
2620
+ # expression evaluates to true. A condition can add constraints based on
2621
+ # attributes of the request, the resource, or both.JSON example:
2595
2622
  # `
2596
2623
  # "bindings": [
2597
2624
  # `
@@ -2609,13 +2636,14 @@ module Google
2609
2636
  # "condition": `
2610
2637
  # "title": "expirable access",
2611
2638
  # "description": "Does not grant access after Sep 2020",
2612
- # "expression": "request.time <
2613
- # timestamp('2020-10-01T00:00:00.000Z')",
2639
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
2614
2640
  # `
2615
2641
  # `
2616
- # ]
2642
+ # ],
2643
+ # "etag": "BwWWja0YfJA=",
2644
+ # "version": 3
2617
2645
  # `
2618
- # YAML Example
2646
+ # YAML example:
2619
2647
  # bindings:
2620
2648
  # - members:
2621
2649
  # - user:mike@example.com
@@ -2630,8 +2658,10 @@ module Google
2630
2658
  # title: expirable access
2631
2659
  # description: Does not grant access after Sep 2020
2632
2660
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2633
- # For a description of IAM and its features, see the IAM developer's guide (
2634
- # https://cloud.google.com/iam/docs).
2661
+ # - etag: BwWWja0YfJA=
2662
+ # - version: 3
2663
+ # For a description of IAM and its features, see the IAM documentation (https://
2664
+ # cloud.google.com/iam/docs/).
2635
2665
  # Corresponds to the JSON property `policy`
2636
2666
  # @return [Google::Apis::DataprocV1beta2::Policy]
2637
2667
  attr_accessor :policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191203'
29
+ REVISION = '20191216'
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'
@@ -1015,8 +1015,9 @@ module Google
1015
1015
 
1016
1016
  # Read-only after creation. The unique identifier of the parent intent in the
1017
1017
  # chain of followup intents. You can set this field when creating an intent,
1018
- # for example with CreateIntent or BatchUpdateIntents, in order to
1019
- # make this intent a followup intent.
1018
+ # for example with CreateIntent or
1019
+ # BatchUpdateIntents, in order to make this
1020
+ # intent a followup intent.
1020
1021
  # It identifies the parent followup intent.
1021
1022
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
1022
1023
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -2598,9 +2599,12 @@ module Google
2598
2599
  attr_accessor :all_required_params_present
2599
2600
  alias_method :all_required_params_present?, :all_required_params_present
2600
2601
 
2601
- # The free-form diagnostic info. For example, this field could contain
2602
- # webhook call latency. The string keys of the Struct's fields map can change
2603
- # without notice.
2602
+ # Free-form diagnostic information for the associated detect intent request.
2603
+ # The fields of this data can change without notice, so you should not write
2604
+ # code that depends on its structure.
2605
+ # The data may contain:
2606
+ # - webhook call latency
2607
+ # - webhook errors
2604
2608
  # Corresponds to the JSON property `diagnosticInfo`
2605
2609
  # @return [Hash<String,Object>]
2606
2610
  attr_accessor :diagnostic_info
@@ -3062,6 +3066,16 @@ module Google
3062
3066
  end
3063
3067
 
3064
3068
  # The response message for a webhook call.
3069
+ # This response is validated by the Dialogflow server. If validation fails,
3070
+ # an error will be returned in the QueryResult.diagnostic_info field.
3071
+ # Setting JSON fields to an empty value with the wrong type is a common error.
3072
+ # To avoid this error:
3073
+ # - Use `""` for empty strings
3074
+ # - Use ```` or `null` for empty objects
3075
+ # - Use `[]` or `null` for empty arrays
3076
+ # For more information, see the
3077
+ # [Protocol Buffers Language
3078
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
3065
3079
  class GoogleCloudDialogflowV2WebhookResponse
3066
3080
  include Google::Apis::Core::Hashable
3067
3081
 
@@ -3273,6 +3287,11 @@ module Google
3273
3287
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
3274
3288
  # If `Environment ID` is not specified, we assume default 'draft'
3275
3289
  # environment. If `User ID` is not specified, we assume default '-' user.
3290
+ # The following context names are reserved for internal use by Dialogflow.
3291
+ # You should not use these contexts or create contexts with these names:
3292
+ # * `__system_counters__`
3293
+ # * `*_id_dialog_context`
3294
+ # * `*_dialog_params_size`
3276
3295
  # Corresponds to the JSON property `name`
3277
3296
  # @return [String]
3278
3297
  attr_accessor :name
@@ -3566,8 +3585,9 @@ module Google
3566
3585
 
3567
3586
  # Read-only after creation. The unique identifier of the parent intent in the
3568
3587
  # chain of followup intents. You can set this field when creating an intent,
3569
- # for example with CreateIntent or BatchUpdateIntents, in order to
3570
- # make this intent a followup intent.
3588
+ # for example with CreateIntent or
3589
+ # BatchUpdateIntents, in order to make this
3590
+ # intent a followup intent.
3571
3591
  # It identifies the parent followup intent.
3572
3592
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
3573
3593
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -5333,7 +5353,7 @@ module Google
5333
5353
  end
5334
5354
 
5335
5355
  # The response for
5336
- # ConversationDatasets.LabelConversation
5356
+ # ConversationDatasets.LabelConversation.
5337
5357
  class GoogleCloudDialogflowV2beta1LabelConversationResponse
5338
5358
  include Google::Apis::Core::Hashable
5339
5359
 
@@ -5420,9 +5440,12 @@ module Google
5420
5440
  attr_accessor :all_required_params_present
5421
5441
  alias_method :all_required_params_present?, :all_required_params_present
5422
5442
 
5423
- # The free-form diagnostic info. For example, this field could contain
5424
- # webhook call latency. The string keys of the Struct's fields map can change
5425
- # without notice.
5443
+ # Free-form diagnostic information for the associated detect intent request.
5444
+ # The fields of this data can change without notice, so you should not write
5445
+ # code that depends on its structure.
5446
+ # The data may contain:
5447
+ # - webhook call latency
5448
+ # - webhook errors
5426
5449
  # Corresponds to the JSON property `diagnosticInfo`
5427
5450
  # @return [Hash<String,Object>]
5428
5451
  attr_accessor :diagnostic_info
@@ -5694,6 +5717,16 @@ module Google
5694
5717
  end
5695
5718
 
5696
5719
  # The response message for a webhook call.
5720
+ # This response is validated by the Dialogflow server. If validation fails,
5721
+ # an error will be returned in the QueryResult.diagnostic_info field.
5722
+ # Setting JSON fields to an empty value with the wrong type is a common error.
5723
+ # To avoid this error:
5724
+ # - Use `""` for empty strings
5725
+ # - Use ```` or `null` for empty objects
5726
+ # - Use `[]` or `null` for empty arrays
5727
+ # For more information, see the
5728
+ # [Protocol Buffers Language
5729
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
5697
5730
  class GoogleCloudDialogflowV2beta1WebhookResponse
5698
5731
  include Google::Apis::Core::Hashable
5699
5732
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20191203'
29
+ REVISION = '20191216'
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'
@@ -435,8 +435,9 @@ module Google
435
435
 
436
436
  # Read-only after creation. The unique identifier of the parent intent in the
437
437
  # chain of followup intents. You can set this field when creating an intent,
438
- # for example with CreateIntent or BatchUpdateIntents, in order to
439
- # make this intent a followup intent.
438
+ # for example with CreateIntent or
439
+ # BatchUpdateIntents, in order to make this
440
+ # intent a followup intent.
440
441
  # It identifies the parent followup intent.
441
442
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
442
443
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -1749,9 +1750,12 @@ module Google
1749
1750
  attr_accessor :all_required_params_present
1750
1751
  alias_method :all_required_params_present?, :all_required_params_present
1751
1752
 
1752
- # The free-form diagnostic info. For example, this field could contain
1753
- # webhook call latency. The string keys of the Struct's fields map can change
1754
- # without notice.
1753
+ # Free-form diagnostic information for the associated detect intent request.
1754
+ # The fields of this data can change without notice, so you should not write
1755
+ # code that depends on its structure.
1756
+ # The data may contain:
1757
+ # - webhook call latency
1758
+ # - webhook errors
1755
1759
  # Corresponds to the JSON property `diagnosticInfo`
1756
1760
  # @return [Hash<String,Object>]
1757
1761
  attr_accessor :diagnostic_info
@@ -2007,6 +2011,16 @@ module Google
2007
2011
  end
2008
2012
 
2009
2013
  # The response message for a webhook call.
2014
+ # This response is validated by the Dialogflow server. If validation fails,
2015
+ # an error will be returned in the QueryResult.diagnostic_info field.
2016
+ # Setting JSON fields to an empty value with the wrong type is a common error.
2017
+ # To avoid this error:
2018
+ # - Use `""` for empty strings
2019
+ # - Use ```` or `null` for empty objects
2020
+ # - Use `[]` or `null` for empty arrays
2021
+ # For more information, see the
2022
+ # [Protocol Buffers Language
2023
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
2010
2024
  class GoogleCloudDialogflowV2WebhookResponse
2011
2025
  include Google::Apis::Core::Hashable
2012
2026
 
@@ -2559,6 +2573,11 @@ module Google
2559
2573
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2560
2574
  # If `Environment ID` is not specified, we assume default 'draft'
2561
2575
  # environment. If `User ID` is not specified, we assume default '-' user.
2576
+ # The following context names are reserved for internal use by Dialogflow.
2577
+ # You should not use these contexts or create contexts with these names:
2578
+ # * `__system_counters__`
2579
+ # * `*_id_dialog_context`
2580
+ # * `*_dialog_params_size`
2562
2581
  # Corresponds to the JSON property `name`
2563
2582
  # @return [String]
2564
2583
  attr_accessor :name
@@ -3236,8 +3255,9 @@ module Google
3236
3255
 
3237
3256
  # Read-only after creation. The unique identifier of the parent intent in the
3238
3257
  # chain of followup intents. You can set this field when creating an intent,
3239
- # for example with CreateIntent or BatchUpdateIntents, in order to
3240
- # make this intent a followup intent.
3258
+ # for example with CreateIntent or
3259
+ # BatchUpdateIntents, in order to make this
3260
+ # intent a followup intent.
3241
3261
  # It identifies the parent followup intent.
3242
3262
  # Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
3243
3263
  # Corresponds to the JSON property `parentFollowupIntentName`
@@ -5060,7 +5080,7 @@ module Google
5060
5080
  end
5061
5081
 
5062
5082
  # The response for
5063
- # ConversationDatasets.LabelConversation
5083
+ # ConversationDatasets.LabelConversation.
5064
5084
  class GoogleCloudDialogflowV2beta1LabelConversationResponse
5065
5085
  include Google::Apis::Core::Hashable
5066
5086
 
@@ -5470,9 +5490,12 @@ module Google
5470
5490
  attr_accessor :all_required_params_present
5471
5491
  alias_method :all_required_params_present?, :all_required_params_present
5472
5492
 
5473
- # The free-form diagnostic info. For example, this field could contain
5474
- # webhook call latency. The string keys of the Struct's fields map can change
5475
- # without notice.
5493
+ # Free-form diagnostic information for the associated detect intent request.
5494
+ # The fields of this data can change without notice, so you should not write
5495
+ # code that depends on its structure.
5496
+ # The data may contain:
5497
+ # - webhook call latency
5498
+ # - webhook errors
5476
5499
  # Corresponds to the JSON property `diagnosticInfo`
5477
5500
  # @return [Hash<String,Object>]
5478
5501
  attr_accessor :diagnostic_info
@@ -6072,6 +6095,16 @@ module Google
6072
6095
  end
6073
6096
 
6074
6097
  # The response message for a webhook call.
6098
+ # This response is validated by the Dialogflow server. If validation fails,
6099
+ # an error will be returned in the QueryResult.diagnostic_info field.
6100
+ # Setting JSON fields to an empty value with the wrong type is a common error.
6101
+ # To avoid this error:
6102
+ # - Use `""` for empty strings
6103
+ # - Use ```` or `null` for empty objects
6104
+ # - Use `[]` or `null` for empty arrays
6105
+ # For more information, see the
6106
+ # [Protocol Buffers Language
6107
+ # Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
6075
6108
  class GoogleCloudDialogflowV2beta1WebhookResponse
6076
6109
  include Google::Apis::Core::Hashable
6077
6110
 
@@ -996,6 +996,11 @@ module Google
996
996
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
997
997
  # If `Environment ID` is not specified, we assume default 'draft'
998
998
  # environment. If `User ID` is not specified, we assume default '-' user.
999
+ # The following context names are reserved for internal use by Dialogflow.
1000
+ # You should not use these contexts or create contexts with these names:
1001
+ # * `__system_counters__`
1002
+ # * `*_id_dialog_context`
1003
+ # * `*_dialog_params_size`
999
1004
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
1000
1005
  # @param [String] update_mask
1001
1006
  # Optional. The mask to control which fields get updated.
@@ -2190,6 +2195,11 @@ module Google
2190
2195
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
2191
2196
  # If `Environment ID` is not specified, we assume default 'draft'
2192
2197
  # environment. If `User ID` is not specified, we assume default '-' user.
2198
+ # The following context names are reserved for internal use by Dialogflow.
2199
+ # You should not use these contexts or create contexts with these names:
2200
+ # * `__system_counters__`
2201
+ # * `*_id_dialog_context`
2202
+ # * `*_dialog_params_size`
2193
2203
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
2194
2204
  # @param [String] update_mask
2195
2205
  # Optional. The mask to control which fields get updated.
@@ -3722,6 +3732,11 @@ module Google
3722
3732
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
3723
3733
  # If `Environment ID` is not specified, we assume default 'draft'
3724
3734
  # environment. If `User ID` is not specified, we assume default '-' user.
3735
+ # The following context names are reserved for internal use by Dialogflow.
3736
+ # You should not use these contexts or create contexts with these names:
3737
+ # * `__system_counters__`
3738
+ # * `*_id_dialog_context`
3739
+ # * `*_dialog_params_size`
3725
3740
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
3726
3741
  # @param [String] update_mask
3727
3742
  # Optional. The mask to control which fields get updated.
@@ -4493,6 +4508,11 @@ module Google
4493
4508
  # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
4494
4509
  # If `Environment ID` is not specified, we assume default 'draft'
4495
4510
  # environment. If `User ID` is not specified, we assume default '-' user.
4511
+ # The following context names are reserved for internal use by Dialogflow.
4512
+ # You should not use these contexts or create contexts with these names:
4513
+ # * `__system_counters__`
4514
+ # * `*_id_dialog_context`
4515
+ # * `*_dialog_params_size`
4496
4516
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
4497
4517
  # @param [String] update_mask
4498
4518
  # Optional. The mask to control which fields get updated.