google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -1138,6 +1138,7 @@ module Google
1138
1138
  class GoogleCloudDialogflowV2beta1Agent
1139
1139
  # @private
1140
1140
  class Representation < Google::Apis::Core::JsonRepresentation
1141
+ property :api_version, as: 'apiVersion'
1141
1142
  property :avatar_uri, as: 'avatarUri'
1142
1143
  property :classification_threshold, as: 'classificationThreshold'
1143
1144
  property :default_language_code, as: 'defaultLanguageCode'
@@ -1147,6 +1148,7 @@ module Google
1147
1148
  property :match_mode, as: 'matchMode'
1148
1149
  property :parent, as: 'parent'
1149
1150
  collection :supported_language_codes, as: 'supportedLanguageCodes'
1151
+ property :tier, as: 'tier'
1150
1152
  property :time_zone, as: 'timeZone'
1151
1153
  end
1152
1154
  end
@@ -31,7 +31,7 @@ module Google
31
31
  # Dialogflow = Google::Apis::DialogflowV2beta1 # Alias the module
32
32
  # service = Dialogflow::DialogflowService.new
33
33
  #
34
- # @see https://cloud.google.com/dialogflow-enterprise/
34
+ # @see https://cloud.google.com/dialogflow/
35
35
  class DialogflowService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -48,6 +48,74 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Creates/updates the specified agent.
52
+ # @param [String] parent
53
+ # Required. The project of this agent.
54
+ # Format: `projects/<Project ID>`.
55
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
56
+ # @param [String] update_mask
57
+ # Optional. The mask to control which fields get updated.
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
+ # @param [String] quota_user
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
+ # @param [Google::Apis::RequestOptions] options
64
+ # Request-specific options
65
+ #
66
+ # @yield [result, err] Result & error if block supplied
67
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
68
+ # @yieldparam err [StandardError] error object if request failed
69
+ #
70
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
71
+ #
72
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
75
+ def agent_project(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
77
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
78
+ command.request_object = google_cloud_dialogflow_v2beta1_agent_object
79
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
80
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
81
+ command.params['parent'] = parent unless parent.nil?
82
+ command.query['updateMask'] = update_mask unless update_mask.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Deletes the specified agent.
89
+ # @param [String] parent
90
+ # Required. The project that the agent to delete is associated with.
91
+ # Format: `projects/<Project ID>`.
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
111
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
112
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
113
+ command.params['parent'] = parent unless parent.nil?
114
+ command.query['fields'] = fields unless fields.nil?
115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
116
+ execute_or_queue_command(command, &block)
117
+ end
118
+
51
119
  # Retrieves the specified agent.
52
120
  # @param [String] parent
53
121
  # Required. The project that the agent to fetch is associated with.
@@ -347,8 +415,7 @@ module Google
347
415
  # Optional. The language of entity synonyms defined in `entity_type`. If not
348
416
  # specified, the agent's default language is used.
349
417
  # [Many
350
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
351
- # language)
418
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
352
419
  # are supported. Note: languages must be enabled in the agent before they can
353
420
  # be used.
354
421
  # @param [String] fields
@@ -420,8 +487,7 @@ module Google
420
487
  # Optional. The language to retrieve entity synonyms for. If not specified,
421
488
  # the agent's default language is used.
422
489
  # [Many
423
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
424
- # language)
490
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
425
491
  # are supported. Note: languages must be enabled in the agent before they can
426
492
  # be used.
427
493
  # @param [String] fields
@@ -460,8 +526,7 @@ module Google
460
526
  # Optional. The language to list entity synonyms for. If not specified,
461
527
  # the agent's default language is used.
462
528
  # [Many
463
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
464
- # language)
529
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
465
530
  # are supported. Note: languages must be enabled in the agent before they can
466
531
  # be used.
467
532
  # @param [Fixnum] page_size
@@ -510,8 +575,7 @@ module Google
510
575
  # Optional. The language of entity synonyms defined in `entity_type`. If not
511
576
  # specified, the agent's default language is used.
512
577
  # [Many
513
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
514
- # language)
578
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
515
579
  # are supported. Note: languages must be enabled in the agent before they can
516
580
  # be used.
517
581
  # @param [String] update_mask
@@ -698,7 +762,7 @@ module Google
698
762
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
699
763
  # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
700
764
  # default 'draft' environment. If `User ID` is not specified, we are using
701
- # "-". Its up to the API caller to choose an appropriate `Session ID` and
765
+ # "-". It's up to the API caller to choose an appropriate `Session ID` and
702
766
  # `User Id`. They can be a random numbers or some type of user and session
703
767
  # identifiers (preferably hashed). The length of the `Session ID` and
704
768
  # `User ID` must not exceed 36 characters.
@@ -1203,8 +1267,7 @@ module Google
1203
1267
  # Optional. The language of training phrases, parameters and rich messages
1204
1268
  # defined in `intent`. If not specified, the agent's default language is
1205
1269
  # used. [Many
1206
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
1207
- # language)
1270
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1208
1271
  # are supported. Note: languages must be enabled in the agent before they can
1209
1272
  # be used.
1210
1273
  # @param [String] fields
@@ -1280,8 +1343,7 @@ module Google
1280
1343
  # Optional. The language to retrieve training phrases, parameters and rich
1281
1344
  # messages for. If not specified, the agent's default language is used.
1282
1345
  # [Many
1283
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
1284
- # language)
1346
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1285
1347
  # are supported. Note: languages must be enabled in the agent before they can
1286
1348
  # be used.
1287
1349
  # @param [String] fields
@@ -1323,8 +1385,7 @@ module Google
1323
1385
  # Optional. The language to list training phrases, parameters and rich
1324
1386
  # messages for. If not specified, the agent's default language is used.
1325
1387
  # [Many
1326
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
1327
- # language)
1388
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1328
1389
  # are supported. Note: languages must be enabled in the agent before they can
1329
1390
  # be used.
1330
1391
  # @param [Fixnum] page_size
@@ -1376,8 +1437,7 @@ module Google
1376
1437
  # Optional. The language of training phrases, parameters and rich messages
1377
1438
  # defined in `intent`. If not specified, the agent's default language is
1378
1439
  # used. [Many
1379
- # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/
1380
- # language)
1440
+ # languages](https://cloud.google.com/dialogflow/docs/reference/language)
1381
1441
  # are supported. Note: languages must be enabled in the agent before they can
1382
1442
  # be used.
1383
1443
  # @param [String] update_mask
@@ -1881,7 +1941,7 @@ module Google
1881
1941
  # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
1882
1942
  # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1883
1943
  # default 'draft' environment. If `User ID` is not specified, we are using
1884
- # "-". Its up to the API caller to choose an appropriate `Session ID` and
1944
+ # "-". It's up to the API caller to choose an appropriate `Session ID` and
1885
1945
  # `User Id`. They can be a random numbers or some type of user and session
1886
1946
  # identifiers (preferably hashed). The length of the `Session ID` and
1887
1947
  # `User ID` must not exceed 36 characters.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20190604'
30
+ REVISION = '20190607'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1912,9 +1912,10 @@ module Google
1912
1912
  end
1913
1913
  end
1914
1914
 
1915
- # Rule for modifying a CustomInfoType to alter behavior under certain
1916
- # circumstances, depending on the specific details of the rule. Not supported
1917
- # for the `surrogate_type` custom info type.
1915
+ # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
1916
+ # `CustomInfoType` to alter behavior under certain circumstances, depending
1917
+ # on the specific details of the rule. Not supported for the `surrogate_type`
1918
+ # custom infoType.
1918
1919
  class GooglePrivacyDlpV2DetectionRule
1919
1920
  include Google::Apis::Core::Hashable
1920
1921
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-dns
26
26
  module DnsV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190418'
28
+ REVISION = '20190611'
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'
@@ -47,7 +47,7 @@ module Google
47
47
  attr_accessor :user_ip
48
48
 
49
49
  def initialize
50
- super('https://www.googleapis.com/', 'dns/v1beta2/projects/')
50
+ super('https://dns.googleapis.com/', 'dns/v1beta2/projects/')
51
51
  @batch_path = 'batch/dns/v1beta2'
52
52
  end
53
53
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/docs/
26
26
  module DocsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190530'
28
+ REVISION = '20190604'
29
29
 
30
30
  # View and manage your Google Docs documents
31
31
  AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
@@ -4623,8 +4623,6 @@ module Google
4623
4623
  end
4624
4624
 
4625
4625
  # A border around a table cell.
4626
- # Table cell borders cannot be transparent. To hide a table cell border, make
4627
- # its width 0.
4628
4626
  class TableCellBorder
4629
4627
  include Google::Apis::Core::Hashable
4630
4628
 
@@ -4700,29 +4698,21 @@ module Google
4700
4698
  attr_accessor :background_color
4701
4699
 
4702
4700
  # A border around a table cell.
4703
- # Table cell borders cannot be transparent. To hide a table cell border, make
4704
- # its width 0.
4705
4701
  # Corresponds to the JSON property `borderBottom`
4706
4702
  # @return [Google::Apis::DocsV1::TableCellBorder]
4707
4703
  attr_accessor :border_bottom
4708
4704
 
4709
4705
  # A border around a table cell.
4710
- # Table cell borders cannot be transparent. To hide a table cell border, make
4711
- # its width 0.
4712
4706
  # Corresponds to the JSON property `borderLeft`
4713
4707
  # @return [Google::Apis::DocsV1::TableCellBorder]
4714
4708
  attr_accessor :border_left
4715
4709
 
4716
4710
  # A border around a table cell.
4717
- # Table cell borders cannot be transparent. To hide a table cell border, make
4718
- # its width 0.
4719
4711
  # Corresponds to the JSON property `borderRight`
4720
4712
  # @return [Google::Apis::DocsV1::TableCellBorder]
4721
4713
  attr_accessor :border_right
4722
4714
 
4723
4715
  # A border around a table cell.
4724
- # Table cell borders cannot be transparent. To hide a table cell border, make
4725
- # its width 0.
4726
4716
  # Corresponds to the JSON property `borderTop`
4727
4717
  # @return [Google::Apis::DocsV1::TableCellBorder]
4728
4718
  attr_accessor :border_top
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/bid-manager/
26
26
  module DoubleclickbidmanagerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190529'
28
+ REVISION = '20190617'
29
29
 
30
30
  # View and manage your reports in DoubleClick Bid Manager
31
31
  AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190605'
28
+ REVISION = '20190613'
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'
@@ -270,6 +270,14 @@ module Google
270
270
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
271
271
  include Google::Apis::Core::Hashable
272
272
 
273
+ # Can this scheduled update be rescheduled?
274
+ # By default, it's true and API needs to do explicitly check whether it's
275
+ # set, if it's set as false explicitly, it's false
276
+ # Corresponds to the JSON property `canReschedule`
277
+ # @return [Boolean]
278
+ attr_accessor :can_reschedule
279
+ alias_method :can_reschedule?, :can_reschedule
280
+
273
281
  # The scheduled end time for the maintenance.
274
282
  # Corresponds to the JSON property `endTime`
275
283
  # @return [String]
@@ -286,6 +294,7 @@ module Google
286
294
 
287
295
  # Update properties of this object
288
296
  def update!(**args)
297
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
289
298
  @end_time = args[:end_time] if args.key?(:end_time)
290
299
  @start_time = args[:start_time] if args.key?(:start_time)
291
300
  end
@@ -801,43 +810,10 @@ module Google
801
810
 
802
811
  # The `Status` type defines a logical error model that is suitable for
803
812
  # different programming environments, including REST APIs and RPC APIs. It is
804
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
805
- # - Simple to use and understand for most users
806
- # - Flexible enough to meet unexpected needs
807
- # # Overview
808
- # The `Status` message contains three pieces of data: error code, error
809
- # message, and error details. The error code should be an enum value of
810
- # google.rpc.Code, but it may accept additional error codes if needed. The
811
- # error message should be a developer-facing English message that helps
812
- # developers *understand* and *resolve* the error. If a localized user-facing
813
- # error message is needed, put the localized message in the error details or
814
- # localize it in the client. The optional error details may contain arbitrary
815
- # information about the error. There is a predefined set of error detail types
816
- # in the package `google.rpc` that can be used for common error conditions.
817
- # # Language mapping
818
- # The `Status` message is the logical representation of the error model, but it
819
- # is not necessarily the actual wire format. When the `Status` message is
820
- # exposed in different client libraries and different wire protocols, it can be
821
- # mapped differently. For example, it will likely be mapped to some exceptions
822
- # in Java, but more likely mapped to some error codes in C.
823
- # # Other uses
824
- # The error model and the `Status` message can be used in a variety of
825
- # environments, either with or without APIs, to provide a
826
- # consistent developer experience across different environments.
827
- # Example uses of this error model include:
828
- # - Partial errors. If a service needs to return partial errors to the client,
829
- # it may embed the `Status` in the normal response to indicate the partial
830
- # errors.
831
- # - Workflow errors. A typical workflow has multiple steps. Each step may
832
- # have a `Status` message for error reporting.
833
- # - Batch operations. If a client uses batch request and batch response, the
834
- # `Status` message should be used directly inside batch response, one for
835
- # each error sub-response.
836
- # - Asynchronous operations. If an API call embeds asynchronous operation
837
- # results in its response, the status of those operations should be
838
- # represented directly using the `Status` message.
839
- # - Logging. If some API errors are stored in logs, the message `Status` could
840
- # be used directly after any stripping needed for security/privacy reasons.
813
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
814
+ # three pieces of data: error code, error message, and error details.
815
+ # You can find out more about this error model and how to work with it in the
816
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
841
817
  # Corresponds to the JSON property `error`
842
818
  # @return [Google::Apis::FileV1::Status]
843
819
  attr_accessor :error
@@ -944,43 +920,10 @@ module Google
944
920
 
945
921
  # The `Status` type defines a logical error model that is suitable for
946
922
  # different programming environments, including REST APIs and RPC APIs. It is
947
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
948
- # - Simple to use and understand for most users
949
- # - Flexible enough to meet unexpected needs
950
- # # Overview
951
- # The `Status` message contains three pieces of data: error code, error
952
- # message, and error details. The error code should be an enum value of
953
- # google.rpc.Code, but it may accept additional error codes if needed. The
954
- # error message should be a developer-facing English message that helps
955
- # developers *understand* and *resolve* the error. If a localized user-facing
956
- # error message is needed, put the localized message in the error details or
957
- # localize it in the client. The optional error details may contain arbitrary
958
- # information about the error. There is a predefined set of error detail types
959
- # in the package `google.rpc` that can be used for common error conditions.
960
- # # Language mapping
961
- # The `Status` message is the logical representation of the error model, but it
962
- # is not necessarily the actual wire format. When the `Status` message is
963
- # exposed in different client libraries and different wire protocols, it can be
964
- # mapped differently. For example, it will likely be mapped to some exceptions
965
- # in Java, but more likely mapped to some error codes in C.
966
- # # Other uses
967
- # The error model and the `Status` message can be used in a variety of
968
- # environments, either with or without APIs, to provide a
969
- # consistent developer experience across different environments.
970
- # Example uses of this error model include:
971
- # - Partial errors. If a service needs to return partial errors to the client,
972
- # it may embed the `Status` in the normal response to indicate the partial
973
- # errors.
974
- # - Workflow errors. A typical workflow has multiple steps. Each step may
975
- # have a `Status` message for error reporting.
976
- # - Batch operations. If a client uses batch request and batch response, the
977
- # `Status` message should be used directly inside batch response, one for
978
- # each error sub-response.
979
- # - Asynchronous operations. If an API call embeds asynchronous operation
980
- # results in its response, the status of those operations should be
981
- # represented directly using the `Status` message.
982
- # - Logging. If some API errors are stored in logs, the message `Status` could
983
- # be used directly after any stripping needed for security/privacy reasons.
923
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
924
+ # three pieces of data: error code, error message, and error details.
925
+ # You can find out more about this error model and how to work with it in the
926
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
984
927
  class Status
985
928
  include Google::Apis::Core::Hashable
986
929
 
@@ -188,6 +188,7 @@ module Google
188
188
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
189
189
  # @private
190
190
  class Representation < Google::Apis::Core::JsonRepresentation
191
+ property :can_reschedule, as: 'canReschedule'
191
192
  property :end_time, as: 'endTime'
192
193
  property :start_time, as: 'startTime'
193
194
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190605'
28
+ REVISION = '20190613'
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'
@@ -270,6 +270,14 @@ module Google
270
270
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
271
271
  include Google::Apis::Core::Hashable
272
272
 
273
+ # Can this scheduled update be rescheduled?
274
+ # By default, it's true and API needs to do explicitly check whether it's
275
+ # set, if it's set as false explicitly, it's false
276
+ # Corresponds to the JSON property `canReschedule`
277
+ # @return [Boolean]
278
+ attr_accessor :can_reschedule
279
+ alias_method :can_reschedule?, :can_reschedule
280
+
273
281
  # The scheduled end time for the maintenance.
274
282
  # Corresponds to the JSON property `endTime`
275
283
  # @return [String]
@@ -286,6 +294,7 @@ module Google
286
294
 
287
295
  # Update properties of this object
288
296
  def update!(**args)
297
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
289
298
  @end_time = args[:end_time] if args.key?(:end_time)
290
299
  @start_time = args[:start_time] if args.key?(:start_time)
291
300
  end
@@ -801,43 +810,10 @@ module Google
801
810
 
802
811
  # The `Status` type defines a logical error model that is suitable for
803
812
  # different programming environments, including REST APIs and RPC APIs. It is
804
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
805
- # - Simple to use and understand for most users
806
- # - Flexible enough to meet unexpected needs
807
- # # Overview
808
- # The `Status` message contains three pieces of data: error code, error
809
- # message, and error details. The error code should be an enum value of
810
- # google.rpc.Code, but it may accept additional error codes if needed. The
811
- # error message should be a developer-facing English message that helps
812
- # developers *understand* and *resolve* the error. If a localized user-facing
813
- # error message is needed, put the localized message in the error details or
814
- # localize it in the client. The optional error details may contain arbitrary
815
- # information about the error. There is a predefined set of error detail types
816
- # in the package `google.rpc` that can be used for common error conditions.
817
- # # Language mapping
818
- # The `Status` message is the logical representation of the error model, but it
819
- # is not necessarily the actual wire format. When the `Status` message is
820
- # exposed in different client libraries and different wire protocols, it can be
821
- # mapped differently. For example, it will likely be mapped to some exceptions
822
- # in Java, but more likely mapped to some error codes in C.
823
- # # Other uses
824
- # The error model and the `Status` message can be used in a variety of
825
- # environments, either with or without APIs, to provide a
826
- # consistent developer experience across different environments.
827
- # Example uses of this error model include:
828
- # - Partial errors. If a service needs to return partial errors to the client,
829
- # it may embed the `Status` in the normal response to indicate the partial
830
- # errors.
831
- # - Workflow errors. A typical workflow has multiple steps. Each step may
832
- # have a `Status` message for error reporting.
833
- # - Batch operations. If a client uses batch request and batch response, the
834
- # `Status` message should be used directly inside batch response, one for
835
- # each error sub-response.
836
- # - Asynchronous operations. If an API call embeds asynchronous operation
837
- # results in its response, the status of those operations should be
838
- # represented directly using the `Status` message.
839
- # - Logging. If some API errors are stored in logs, the message `Status` could
840
- # be used directly after any stripping needed for security/privacy reasons.
813
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
814
+ # three pieces of data: error code, error message, and error details.
815
+ # You can find out more about this error model and how to work with it in the
816
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
841
817
  # Corresponds to the JSON property `error`
842
818
  # @return [Google::Apis::FileV1beta1::Status]
843
819
  attr_accessor :error
@@ -944,43 +920,10 @@ module Google
944
920
 
945
921
  # The `Status` type defines a logical error model that is suitable for
946
922
  # different programming environments, including REST APIs and RPC APIs. It is
947
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
948
- # - Simple to use and understand for most users
949
- # - Flexible enough to meet unexpected needs
950
- # # Overview
951
- # The `Status` message contains three pieces of data: error code, error
952
- # message, and error details. The error code should be an enum value of
953
- # google.rpc.Code, but it may accept additional error codes if needed. The
954
- # error message should be a developer-facing English message that helps
955
- # developers *understand* and *resolve* the error. If a localized user-facing
956
- # error message is needed, put the localized message in the error details or
957
- # localize it in the client. The optional error details may contain arbitrary
958
- # information about the error. There is a predefined set of error detail types
959
- # in the package `google.rpc` that can be used for common error conditions.
960
- # # Language mapping
961
- # The `Status` message is the logical representation of the error model, but it
962
- # is not necessarily the actual wire format. When the `Status` message is
963
- # exposed in different client libraries and different wire protocols, it can be
964
- # mapped differently. For example, it will likely be mapped to some exceptions
965
- # in Java, but more likely mapped to some error codes in C.
966
- # # Other uses
967
- # The error model and the `Status` message can be used in a variety of
968
- # environments, either with or without APIs, to provide a
969
- # consistent developer experience across different environments.
970
- # Example uses of this error model include:
971
- # - Partial errors. If a service needs to return partial errors to the client,
972
- # it may embed the `Status` in the normal response to indicate the partial
973
- # errors.
974
- # - Workflow errors. A typical workflow has multiple steps. Each step may
975
- # have a `Status` message for error reporting.
976
- # - Batch operations. If a client uses batch request and batch response, the
977
- # `Status` message should be used directly inside batch response, one for
978
- # each error sub-response.
979
- # - Asynchronous operations. If an API call embeds asynchronous operation
980
- # results in its response, the status of those operations should be
981
- # represented directly using the `Status` message.
982
- # - Logging. If some API errors are stored in logs, the message `Status` could
983
- # be used directly after any stripping needed for security/privacy reasons.
923
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
924
+ # three pieces of data: error code, error message, and error details.
925
+ # You can find out more about this error model and how to work with it in the
926
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
984
927
  class Status
985
928
  include Google::Apis::Core::Hashable
986
929