google-api-client 0.37.2 → 0.37.3

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 (177) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +74 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +11 -1
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +1 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +6 -5
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +2 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  10. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  11. data/generated/google/apis/alertcenter_v1beta1/classes.rb +7 -71
  12. data/generated/google/apis/alertcenter_v1beta1/representations.rb +0 -31
  13. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +111 -9
  17. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +56 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +151 -0
  19. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  20. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
  21. data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
  22. data/generated/google/apis/chat_v1.rb +1 -1
  23. data/generated/google/apis/chat_v1/classes.rb +4 -2
  24. data/generated/google/apis/classroom_v1.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  26. data/generated/google/apis/cloudbuild_v1/classes.rb +23 -0
  27. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  28. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  29. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  30. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  31. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
  32. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  34. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  35. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  36. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  37. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  38. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
  39. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
  41. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  42. data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
  43. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  44. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  45. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudtrace_v2.rb +4 -4
  47. data/generated/google/apis/cloudtrace_v2/service.rb +3 -3
  48. data/generated/google/apis/cloudtrace_v2beta1.rb +4 -4
  49. data/generated/google/apis/cloudtrace_v2beta1/service.rb +3 -3
  50. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  51. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
  52. data/generated/google/apis/container_v1.rb +1 -1
  53. data/generated/google/apis/container_v1/classes.rb +224 -66
  54. data/generated/google/apis/container_v1/representations.rb +70 -0
  55. data/generated/google/apis/container_v1/service.rb +116 -116
  56. data/generated/google/apis/container_v1beta1/classes.rb +18 -4
  57. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/content_v2.rb +1 -1
  59. data/generated/google/apis/content_v2/classes.rb +18 -2
  60. data/generated/google/apis/content_v2/service.rb +3 -1
  61. data/generated/google/apis/content_v2_1.rb +1 -1
  62. data/generated/google/apis/content_v2_1/classes.rb +51 -0
  63. data/generated/google/apis/content_v2_1/representations.rb +15 -0
  64. data/generated/google/apis/content_v2_1/service.rb +73 -1
  65. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  66. data/generated/google/apis/datacatalog_v1beta1/classes.rb +27 -0
  67. data/generated/google/apis/datacatalog_v1beta1/representations.rb +15 -0
  68. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -0
  69. data/generated/google/apis/dataproc_v1.rb +1 -1
  70. data/generated/google/apis/dataproc_v1/classes.rb +15 -0
  71. data/generated/google/apis/dataproc_v1/representations.rb +2 -0
  72. data/generated/google/apis/dialogflow_v2.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2/classes.rb +11 -3
  74. data/generated/google/apis/dialogflow_v2/service.rb +555 -16
  75. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  76. data/generated/google/apis/dialogflow_v2beta1/classes.rb +11 -3
  77. data/generated/google/apis/dialogflow_v2beta1/service.rb +26 -42
  78. data/generated/google/apis/displayvideo_v1.rb +1 -1
  79. data/generated/google/apis/dlp_v2.rb +1 -1
  80. data/generated/google/apis/dlp_v2/classes.rb +417 -2
  81. data/generated/google/apis/dlp_v2/representations.rb +175 -0
  82. data/generated/google/apis/dlp_v2/service.rb +116 -0
  83. data/generated/google/apis/file_v1.rb +1 -1
  84. data/generated/google/apis/file_v1/classes.rb +1 -145
  85. data/generated/google/apis/file_v1/representations.rb +0 -34
  86. data/generated/google/apis/file_v1beta1.rb +1 -1
  87. data/generated/google/apis/file_v1beta1/classes.rb +1 -145
  88. data/generated/google/apis/file_v1beta1/representations.rb +0 -34
  89. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  90. data/generated/google/apis/firebase_v1beta1/service.rb +3 -3
  91. data/generated/google/apis/firebaserules_v1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  93. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -0
  94. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1.rb +1 -1
  96. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  97. data/generated/google/apis/logging_v2.rb +6 -7
  98. data/generated/google/apis/logging_v2/service.rb +5 -6
  99. data/generated/google/apis/manufacturers_v1.rb +1 -1
  100. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  101. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  102. data/generated/google/apis/ml_v1.rb +1 -1
  103. data/generated/google/apis/ml_v1/classes.rb +966 -21
  104. data/generated/google/apis/ml_v1/representations.rb +477 -0
  105. data/generated/google/apis/ml_v1/service.rb +491 -0
  106. data/generated/google/apis/{toolresults_v1.rb → networkmanagement_v1beta1.rb} +13 -9
  107. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
  108. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  109. data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
  110. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  111. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  112. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  113. data/generated/google/apis/recommender_v1beta1/classes.rb +214 -0
  114. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  115. data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
  116. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  118. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  119. data/generated/google/apis/run_v1.rb +1 -1
  120. data/generated/google/apis/run_v1/classes.rb +84 -0
  121. data/generated/google/apis/run_v1/representations.rb +44 -0
  122. data/generated/google/apis/run_v1/service.rb +138 -0
  123. data/generated/google/apis/run_v1alpha1.rb +1 -1
  124. data/generated/google/apis/securitycenter_v1.rb +1 -1
  125. data/generated/google/apis/securitycenter_v1/classes.rb +154 -6
  126. data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
  127. data/generated/google/apis/securitycenter_v1/service.rb +194 -6
  128. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  129. data/generated/google/apis/securitycenter_v1beta1/classes.rb +171 -0
  130. data/generated/google/apis/securitycenter_v1beta1/representations.rb +52 -0
  131. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  132. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +171 -0
  133. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
  134. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  135. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +183 -6
  136. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
  137. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -6
  138. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  139. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -7
  140. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  141. data/generated/google/apis/servicemanagement_v1/classes.rb +58 -1
  142. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  143. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  144. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  145. data/generated/google/apis/serviceusage_v1.rb +1 -1
  146. data/generated/google/apis/serviceusage_v1/classes.rb +8 -7
  147. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  148. data/generated/google/apis/serviceusage_v1beta1/classes.rb +280 -7
  149. data/generated/google/apis/serviceusage_v1beta1/representations.rb +117 -0
  150. data/generated/google/apis/serviceusage_v1beta1/service.rb +515 -0
  151. data/generated/google/apis/sheets_v4.rb +1 -1
  152. data/generated/google/apis/testing_v1.rb +1 -1
  153. data/generated/google/apis/testing_v1/classes.rb +7 -1
  154. data/generated/google/apis/testing_v1/representations.rb +1 -0
  155. data/generated/google/apis/tpu_v1.rb +1 -1
  156. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  157. data/generated/google/apis/translate_v3.rb +1 -1
  158. data/generated/google/apis/translate_v3/classes.rb +6 -3
  159. data/generated/google/apis/videointelligence_v1.rb +1 -1
  160. data/generated/google/apis/videointelligence_v1/classes.rb +13 -13
  161. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  162. data/generated/google/apis/videointelligence_v1beta2/classes.rb +13 -13
  163. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  164. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +13 -13
  165. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  166. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +13 -13
  167. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  168. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +13 -13
  169. data/generated/google/apis/vision_v1.rb +1 -1
  170. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  171. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  172. data/lib/google/apis/core/api_command.rb +4 -0
  173. data/lib/google/apis/version.rb +1 -1
  174. metadata +7 -7
  175. data/generated/google/apis/toolresults_v1/classes.rb +0 -696
  176. data/generated/google/apis/toolresults_v1/representations.rb +0 -438
  177. data/generated/google/apis/toolresults_v1/service.rb +0 -59
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20200225'
29
+ REVISION = '20200303'
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'
@@ -118,9 +118,13 @@ module Google
118
118
  attr_accessor :lifespan_count
119
119
 
120
120
  # Required. The unique identifier of the context. Format:
121
- # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
121
+ # `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
122
+ # or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
123
+ # ID>/sessions/<Session ID>/contexts/<Context ID>`.
122
124
  # The `Context ID` is always converted to lowercase, may only contain
123
- # characters in [a-zA-Z0-9_-%] and may be at most 250 bytes long.
125
+ # characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
126
+ # If `Environment ID` is not specified, we assume default 'draft'
127
+ # environment. If `User ID` is not specified, we assume default '-' user.
124
128
  # The following context names are reserved for internal use by Dialogflow.
125
129
  # You should not use these contexts or create contexts with these names:
126
130
  # * `__system_counters__`
@@ -1953,7 +1957,11 @@ module Google
1953
1957
 
1954
1958
  # Required. The unique identifier of this session entity type. Format:
1955
1959
  # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
1956
- # Display Name>`.
1960
+ # Display Name>`, or `projects/<Project ID>/agent/environments/<Environment
1961
+ # ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
1962
+ # Name>`.
1963
+ # If `Environment ID` is not specified, we assume default 'draft'
1964
+ # environment. If `User ID` is not specified, we assume default '-' user.
1957
1965
  # `<Entity Type Display Name>` must be the display name of an existing entity
1958
1966
  # type in the same agent that will be overridden or supplemented.
1959
1967
  # Corresponds to the JSON property `name`
@@ -1793,8 +1793,6 @@ module Google
1793
1793
  # Creates a new document.
1794
1794
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1795
1795
  # only use `projects.knowledgeBases.documents`.
1796
- # Operation <response: Document,
1797
- # metadata: KnowledgeOperationMetadata>
1798
1796
  # @param [String] parent
1799
1797
  # Required. The knoweldge base to create a document for.
1800
1798
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -1831,8 +1829,6 @@ module Google
1831
1829
  # Deletes the specified document.
1832
1830
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1833
1831
  # only use `projects.knowledgeBases.documents`.
1834
- # Operation <response: google.protobuf.Empty,
1835
- # metadata: KnowledgeOperationMetadata>
1836
1832
  # @param [String] name
1837
1833
  # The name of the document to delete.
1838
1834
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -1941,8 +1937,6 @@ module Google
1941
1937
  # Updates the specified document.
1942
1938
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1943
1939
  # only use `projects.knowledgeBases.documents`.
1944
- # Operation <response: Document,
1945
- # metadata: KnowledgeOperationMetadata>
1946
1940
  # @param [String] name
1947
1941
  # The document resource name.
1948
1942
  # The name must be empty when creating a document.
@@ -1989,8 +1983,6 @@ module Google
1989
1983
  # may be side effects because of internal implementation changes.
1990
1984
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
1991
1985
  # only use `projects.knowledgeBases.documents`.
1992
- # Operation <response: Document,
1993
- # metadata: KnowledgeOperationMetadata>
1994
1986
  # @param [String] name
1995
1987
  # The name of the document to reload.
1996
1988
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -2704,8 +2696,6 @@ module Google
2704
2696
  # Creates a new document.
2705
2697
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2706
2698
  # only use `projects.knowledgeBases.documents`.
2707
- # Operation <response: Document,
2708
- # metadata: KnowledgeOperationMetadata>
2709
2699
  # @param [String] parent
2710
2700
  # Required. The knoweldge base to create a document for.
2711
2701
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -2742,8 +2732,6 @@ module Google
2742
2732
  # Deletes the specified document.
2743
2733
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2744
2734
  # only use `projects.knowledgeBases.documents`.
2745
- # Operation <response: google.protobuf.Empty,
2746
- # metadata: KnowledgeOperationMetadata>
2747
2735
  # @param [String] name
2748
2736
  # The name of the document to delete.
2749
2737
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -2852,8 +2840,6 @@ module Google
2852
2840
  # Updates the specified document.
2853
2841
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2854
2842
  # only use `projects.knowledgeBases.documents`.
2855
- # Operation <response: Document,
2856
- # metadata: KnowledgeOperationMetadata>
2857
2843
  # @param [String] name
2858
2844
  # The document resource name.
2859
2845
  # The name must be empty when creating a document.
@@ -2900,8 +2886,6 @@ module Google
2900
2886
  # may be side effects because of internal implementation changes.
2901
2887
  # Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
2902
2888
  # only use `projects.knowledgeBases.documents`.
2903
- # Operation <response: Document,
2904
- # metadata: KnowledgeOperationMetadata>
2905
2889
  # @param [String] name
2906
2890
  # The name of the document to reload.
2907
2891
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
@@ -2936,13 +2920,10 @@ module Google
2936
2920
  execute_or_queue_command(command, &block)
2937
2921
  end
2938
2922
 
2939
- # Creates/updates the specified agent.
2923
+ # Deletes the specified agent.
2940
2924
  # @param [String] parent
2941
- # Required. The project of this agent.
2925
+ # Required. The project that the agent to delete is associated with.
2942
2926
  # Format: `projects/<Project ID>`.
2943
- # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
2944
- # @param [String] update_mask
2945
- # Optional. The mask to control which fields get updated.
2946
2927
  # @param [String] fields
2947
2928
  # Selector specifying which fields to include in a partial response.
2948
2929
  # @param [String] quota_user
@@ -2952,30 +2933,27 @@ module Google
2952
2933
  # Request-specific options
2953
2934
  #
2954
2935
  # @yield [result, err] Result & error if block supplied
2955
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
2936
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
2956
2937
  # @yieldparam err [StandardError] error object if request failed
2957
2938
  #
2958
- # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
2939
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
2959
2940
  #
2960
2941
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2961
2942
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2962
2943
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2963
- def agent_project_location(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2964
- command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
2965
- command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
2966
- command.request_object = google_cloud_dialogflow_v2beta1_agent_object
2967
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
2968
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
2944
+ def delete_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
2945
+ command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
2946
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
2947
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2969
2948
  command.params['parent'] = parent unless parent.nil?
2970
- command.query['updateMask'] = update_mask unless update_mask.nil?
2971
2949
  command.query['fields'] = fields unless fields.nil?
2972
2950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2973
2951
  execute_or_queue_command(command, &block)
2974
2952
  end
2975
2953
 
2976
- # Deletes the specified agent.
2954
+ # Retrieves the specified agent.
2977
2955
  # @param [String] parent
2978
- # Required. The project that the agent to delete is associated with.
2956
+ # Required. The project that the agent to fetch is associated with.
2979
2957
  # Format: `projects/<Project ID>`.
2980
2958
  # @param [String] fields
2981
2959
  # Selector specifying which fields to include in a partial response.
@@ -2986,28 +2964,31 @@ module Google
2986
2964
  # Request-specific options
2987
2965
  #
2988
2966
  # @yield [result, err] Result & error if block supplied
2989
- # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
2967
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
2990
2968
  # @yieldparam err [StandardError] error object if request failed
2991
2969
  #
2992
- # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
2970
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
2993
2971
  #
2994
2972
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2995
2973
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2996
2974
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2997
- def delete_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
2998
- command = make_simple_command(:delete, 'v2beta1/{+parent}/agent', options)
2999
- command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
3000
- command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
2975
+ def get_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
2976
+ command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
2977
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
2978
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
3001
2979
  command.params['parent'] = parent unless parent.nil?
3002
2980
  command.query['fields'] = fields unless fields.nil?
3003
2981
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3004
2982
  execute_or_queue_command(command, &block)
3005
2983
  end
3006
2984
 
3007
- # Retrieves the specified agent.
2985
+ # Creates/updates the specified agent.
3008
2986
  # @param [String] parent
3009
- # Required. The project that the agent to fetch is associated with.
2987
+ # Required. The project of this agent.
3010
2988
  # Format: `projects/<Project ID>`.
2989
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] google_cloud_dialogflow_v2beta1_agent_object
2990
+ # @param [String] update_mask
2991
+ # Optional. The mask to control which fields get updated.
3011
2992
  # @param [String] fields
3012
2993
  # Selector specifying which fields to include in a partial response.
3013
2994
  # @param [String] quota_user
@@ -3025,11 +3006,14 @@ module Google
3025
3006
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3026
3007
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3027
3008
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3028
- def get_project_location_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
3029
- command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
3009
+ def set_project_location_agent(parent, google_cloud_dialogflow_v2beta1_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3010
+ command = make_simple_command(:post, 'v2beta1/{+parent}/agent', options)
3011
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
3012
+ command.request_object = google_cloud_dialogflow_v2beta1_agent_object
3030
3013
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
3031
3014
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
3032
3015
  command.params['parent'] = parent unless parent.nil?
3016
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3033
3017
  command.query['fields'] = fields unless fields.nil?
3034
3018
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3035
3019
  execute_or_queue_command(command, &block)
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/display-video/
27
27
  module DisplayvideoV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200226'
29
+ REVISION = '20200302'
30
30
 
31
31
  # Create, see, edit, and permanently delete your Display & Video 360 entities and reports
32
32
  AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'
@@ -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 = '20200224'
30
+ REVISION = '20200308'
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'
@@ -968,6 +968,80 @@ module Google
968
968
  end
969
969
  end
970
970
 
971
+ # Represents a container that may contain DLP findings.
972
+ # Examples of a container include a file, table, or database record.
973
+ class GooglePrivacyDlpV2Container
974
+ include Google::Apis::Core::Hashable
975
+
976
+ # A string representation of the full container name.
977
+ # Examples:
978
+ # - BigQuery: 'Project:DataSetId.TableId'
979
+ # - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
980
+ # Corresponds to the JSON property `fullPath`
981
+ # @return [String]
982
+ attr_accessor :full_path
983
+
984
+ # Project where the finding was found.
985
+ # Can be different from the project that owns the finding.
986
+ # Corresponds to the JSON property `projectId`
987
+ # @return [String]
988
+ attr_accessor :project_id
989
+
990
+ # The rest of the path after the root.
991
+ # Examples:
992
+ # - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
993
+ # `table_id`
994
+ # - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
995
+ # path is `folder/filename.txt`
996
+ # Corresponds to the JSON property `relativePath`
997
+ # @return [String]
998
+ attr_accessor :relative_path
999
+
1000
+ # The root of the container.
1001
+ # Examples:
1002
+ # - For BigQuery table `project_id:dataset_id.table_id`, the root is
1003
+ # `dataset_id`
1004
+ # - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
1005
+ # is `gs://bucket`
1006
+ # Corresponds to the JSON property `rootPath`
1007
+ # @return [String]
1008
+ attr_accessor :root_path
1009
+
1010
+ # Container type, for example BigQuery or Google Cloud Storage.
1011
+ # Corresponds to the JSON property `type`
1012
+ # @return [String]
1013
+ attr_accessor :type
1014
+
1015
+ # Findings container modification timestamp, if applicable.
1016
+ # For Google Cloud Storage contains last file modification timestamp.
1017
+ # For BigQuery table contains last_modified_time property.
1018
+ # For Datastore - not populated.
1019
+ # Corresponds to the JSON property `updateTime`
1020
+ # @return [String]
1021
+ attr_accessor :update_time
1022
+
1023
+ # Findings container version, if available
1024
+ # ("generation" for Google Cloud Storage).
1025
+ # Corresponds to the JSON property `version`
1026
+ # @return [String]
1027
+ attr_accessor :version
1028
+
1029
+ def initialize(**args)
1030
+ update!(**args)
1031
+ end
1032
+
1033
+ # Update properties of this object
1034
+ def update!(**args)
1035
+ @full_path = args[:full_path] if args.key?(:full_path)
1036
+ @project_id = args[:project_id] if args.key?(:project_id)
1037
+ @relative_path = args[:relative_path] if args.key?(:relative_path)
1038
+ @root_path = args[:root_path] if args.key?(:root_path)
1039
+ @type = args[:type] if args.key?(:type)
1040
+ @update_time = args[:update_time] if args.key?(:update_time)
1041
+ @version = args[:version] if args.key?(:version)
1042
+ end
1043
+ end
1044
+
971
1045
  # Container structure for the content to inspect.
972
1046
  class GooglePrivacyDlpV2ContentItem
973
1047
  include Google::Apis::Core::Hashable
@@ -2471,6 +2545,18 @@ module Google
2471
2545
  # @return [String]
2472
2546
  attr_accessor :job_name
2473
2547
 
2548
+ # The labels associated with this `Finding`.
2549
+ # Label keys must be between 1 and 63 characters long and must conform
2550
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
2551
+ # Label values must be between 0 and 63 characters long and must conform
2552
+ # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
2553
+ # No more than 10 labels can be associated with a given finding.
2554
+ # Example: <code>"environment" : "production"</code>
2555
+ # Example: <code>"pipeline" : "etl"</code>
2556
+ # Corresponds to the JSON property `labels`
2557
+ # @return [Hash<String,String>]
2558
+ attr_accessor :labels
2559
+
2474
2560
  # Confidence of how likely it is that the `info_type` is correct.
2475
2561
  # Corresponds to the JSON property `likelihood`
2476
2562
  # @return [String]
@@ -2481,8 +2567,9 @@ module Google
2481
2567
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Location]
2482
2568
  attr_accessor :location
2483
2569
 
2484
- # Resource name in format projects/`id`/locations/`id`/inspectFindings/`id`
2485
- # Populated only when viewing persisted findings.
2570
+ # Resource name in format
2571
+ # projects/`project`/locations/`location`/findings/`finding` Populated only
2572
+ # when viewing persisted findings.
2486
2573
  # Corresponds to the JSON property `name`
2487
2574
  # @return [String]
2488
2575
  attr_accessor :name
@@ -2521,6 +2608,7 @@ module Google
2521
2608
  @info_type = args[:info_type] if args.key?(:info_type)
2522
2609
  @job_create_time = args[:job_create_time] if args.key?(:job_create_time)
2523
2610
  @job_name = args[:job_name] if args.key?(:job_name)
2611
+ @labels = args[:labels] if args.key?(:labels)
2524
2612
  @likelihood = args[:likelihood] if args.key?(:likelihood)
2525
2613
  @location = args[:location] if args.key?(:location)
2526
2614
  @name = args[:name] if args.key?(:name)
@@ -2567,6 +2655,19 @@ module Google
2567
2655
  end
2568
2656
  end
2569
2657
 
2658
+ # The request message for finishing a DLP hybrid job.
2659
+ class GooglePrivacyDlpV2FinishDlpJobRequest
2660
+ include Google::Apis::Core::Hashable
2661
+
2662
+ def initialize(**args)
2663
+ update!(**args)
2664
+ end
2665
+
2666
+ # Update properties of this object
2667
+ def update!(**args)
2668
+ end
2669
+ end
2670
+
2570
2671
  # Buckets values based on fixed size ranges. The
2571
2672
  # Bucketing transformation can provide all of this functionality,
2572
2673
  # but requires more configuration. This message is provided as a convenience to
@@ -2656,6 +2757,231 @@ module Google
2656
2757
  end
2657
2758
  end
2658
2759
 
2760
+ # An individual hybrid item to inspect. Will be stored temporarily during
2761
+ # processing.
2762
+ class GooglePrivacyDlpV2HybridContentItem
2763
+ include Google::Apis::Core::Hashable
2764
+
2765
+ # Populate to associate additional data with each finding.
2766
+ # Corresponds to the JSON property `findingDetails`
2767
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails]
2768
+ attr_accessor :finding_details
2769
+
2770
+ # Container structure for the content to inspect.
2771
+ # Corresponds to the JSON property `item`
2772
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
2773
+ attr_accessor :item
2774
+
2775
+ def initialize(**args)
2776
+ update!(**args)
2777
+ end
2778
+
2779
+ # Update properties of this object
2780
+ def update!(**args)
2781
+ @finding_details = args[:finding_details] if args.key?(:finding_details)
2782
+ @item = args[:item] if args.key?(:item)
2783
+ end
2784
+ end
2785
+
2786
+ # Populate to associate additional data with each finding.
2787
+ class GooglePrivacyDlpV2HybridFindingDetails
2788
+ include Google::Apis::Core::Hashable
2789
+
2790
+ # Represents a container that may contain DLP findings.
2791
+ # Examples of a container include a file, table, or database record.
2792
+ # Corresponds to the JSON property `containerDetails`
2793
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]
2794
+ attr_accessor :container_details
2795
+
2796
+ # Offset in bytes of the line, from the beginning of the file, where the
2797
+ # finding is located. Populate if the item being scanned is only part of a
2798
+ # bigger item, such as a shard of a file and you want to track the absolute
2799
+ # position of the finding.
2800
+ # Corresponds to the JSON property `fileOffset`
2801
+ # @return [Fixnum]
2802
+ attr_accessor :file_offset
2803
+
2804
+ # Labels to represent user provided metadata about the data being inspected.
2805
+ # If configured by the job, some key values may be required.
2806
+ # The labels associated with `Finding`'s produced by hybrid
2807
+ # inspection.
2808
+ # Label keys must be between 1 and 63 characters long and must conform
2809
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
2810
+ # Label values must be between 0 and 63 characters long and must conform
2811
+ # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
2812
+ # No more than 10 labels can be associated with a given finding.
2813
+ # Example: <code>"environment" : "production"</code>
2814
+ # Example: <code>"pipeline" : "etl"</code>
2815
+ # Corresponds to the JSON property `labels`
2816
+ # @return [Hash<String,String>]
2817
+ attr_accessor :labels
2818
+
2819
+ # Offset of the row for tables. Populate if the row(s) being scanned are
2820
+ # part of a bigger dataset and you want to keep track of their absolute
2821
+ # position.
2822
+ # Corresponds to the JSON property `rowOffset`
2823
+ # @return [Fixnum]
2824
+ attr_accessor :row_offset
2825
+
2826
+ # Instructions regarding the table content being inspected.
2827
+ # Corresponds to the JSON property `tableOptions`
2828
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions]
2829
+ attr_accessor :table_options
2830
+
2831
+ def initialize(**args)
2832
+ update!(**args)
2833
+ end
2834
+
2835
+ # Update properties of this object
2836
+ def update!(**args)
2837
+ @container_details = args[:container_details] if args.key?(:container_details)
2838
+ @file_offset = args[:file_offset] if args.key?(:file_offset)
2839
+ @labels = args[:labels] if args.key?(:labels)
2840
+ @row_offset = args[:row_offset] if args.key?(:row_offset)
2841
+ @table_options = args[:table_options] if args.key?(:table_options)
2842
+ end
2843
+ end
2844
+
2845
+ # Request to search for potentially sensitive info in a custom location.
2846
+ class GooglePrivacyDlpV2HybridInspectDlpJobRequest
2847
+ include Google::Apis::Core::Hashable
2848
+
2849
+ # An individual hybrid item to inspect. Will be stored temporarily during
2850
+ # processing.
2851
+ # Corresponds to the JSON property `hybridItem`
2852
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem]
2853
+ attr_accessor :hybrid_item
2854
+
2855
+ def initialize(**args)
2856
+ update!(**args)
2857
+ end
2858
+
2859
+ # Update properties of this object
2860
+ def update!(**args)
2861
+ @hybrid_item = args[:hybrid_item] if args.key?(:hybrid_item)
2862
+ end
2863
+ end
2864
+
2865
+ # Request to search for potentially sensitive info in a custom location.
2866
+ class GooglePrivacyDlpV2HybridInspectJobTriggerRequest
2867
+ include Google::Apis::Core::Hashable
2868
+
2869
+ # An individual hybrid item to inspect. Will be stored temporarily during
2870
+ # processing.
2871
+ # Corresponds to the JSON property `hybridItem`
2872
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem]
2873
+ attr_accessor :hybrid_item
2874
+
2875
+ def initialize(**args)
2876
+ update!(**args)
2877
+ end
2878
+
2879
+ # Update properties of this object
2880
+ def update!(**args)
2881
+ @hybrid_item = args[:hybrid_item] if args.key?(:hybrid_item)
2882
+ end
2883
+ end
2884
+
2885
+ # Quota exceeded errors will be thrown once quota has been met.
2886
+ class GooglePrivacyDlpV2HybridInspectResponse
2887
+ include Google::Apis::Core::Hashable
2888
+
2889
+ def initialize(**args)
2890
+ update!(**args)
2891
+ end
2892
+
2893
+ # Update properties of this object
2894
+ def update!(**args)
2895
+ end
2896
+ end
2897
+
2898
+ # Statistics related to processing hybrid inspect requests.
2899
+ class GooglePrivacyDlpV2HybridInspectStatistics
2900
+ include Google::Apis::Core::Hashable
2901
+
2902
+ # The number of hybrid inspection requests aborted because the job ran
2903
+ # out of quota or was ended before they could be processed.
2904
+ # Corresponds to the JSON property `abortedCount`
2905
+ # @return [Fixnum]
2906
+ attr_accessor :aborted_count
2907
+
2908
+ # The number of hybrid requests currently being processed. Only populated
2909
+ # when called via method `getDlpJob`.
2910
+ # A burst of traffic may cause hybrid inspect requests to be enqueued.
2911
+ # Processing will take place as quickly as possible, but resource limitations
2912
+ # may impact how long a request is enqueued for.
2913
+ # Corresponds to the JSON property `pendingCount`
2914
+ # @return [Fixnum]
2915
+ attr_accessor :pending_count
2916
+
2917
+ # The number of hybrid inspection requests processed within this job.
2918
+ # Corresponds to the JSON property `processedCount`
2919
+ # @return [Fixnum]
2920
+ attr_accessor :processed_count
2921
+
2922
+ def initialize(**args)
2923
+ update!(**args)
2924
+ end
2925
+
2926
+ # Update properties of this object
2927
+ def update!(**args)
2928
+ @aborted_count = args[:aborted_count] if args.key?(:aborted_count)
2929
+ @pending_count = args[:pending_count] if args.key?(:pending_count)
2930
+ @processed_count = args[:processed_count] if args.key?(:processed_count)
2931
+ end
2932
+ end
2933
+
2934
+ # Configuration to control jobs where the content being inspected is outside
2935
+ # of Google Cloud Platform.
2936
+ class GooglePrivacyDlpV2HybridOptions
2937
+ include Google::Apis::Core::Hashable
2938
+
2939
+ # A short description of where the data is coming from. Will be stored once
2940
+ # in the job. 256 max length.
2941
+ # Corresponds to the JSON property `description`
2942
+ # @return [String]
2943
+ attr_accessor :description
2944
+
2945
+ # To organize findings, these labels will be added to each finding.
2946
+ # Label keys must be between 1 and 63 characters long and must conform
2947
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
2948
+ # Label values must be between 0 and 63 characters long and must conform
2949
+ # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?.
2950
+ # No more than 10 labels can be associated with a given finding.
2951
+ # Example: <code>"environment" : "production"</code>
2952
+ # Example: <code>"pipeline" : "etl"</code>
2953
+ # Corresponds to the JSON property `labels`
2954
+ # @return [Hash<String,String>]
2955
+ attr_accessor :labels
2956
+
2957
+ # These are labels that each inspection request must include within their
2958
+ # 'finding_labels' map. Request may contain others, but any missing one of
2959
+ # these will be rejected.
2960
+ # Label keys must be between 1 and 63 characters long and must conform
2961
+ # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?.
2962
+ # No more than 10 keys can be required.
2963
+ # Corresponds to the JSON property `requiredFindingLabelKeys`
2964
+ # @return [Array<String>]
2965
+ attr_accessor :required_finding_label_keys
2966
+
2967
+ # Instructions regarding the table content being inspected.
2968
+ # Corresponds to the JSON property `tableOptions`
2969
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableOptions]
2970
+ attr_accessor :table_options
2971
+
2972
+ def initialize(**args)
2973
+ update!(**args)
2974
+ end
2975
+
2976
+ # Update properties of this object
2977
+ def update!(**args)
2978
+ @description = args[:description] if args.key?(:description)
2979
+ @labels = args[:labels] if args.key?(:labels)
2980
+ @required_finding_label_keys = args[:required_finding_label_keys] if args.key?(:required_finding_label_keys)
2981
+ @table_options = args[:table_options] if args.key?(:table_options)
2982
+ end
2983
+ end
2984
+
2659
2985
  # Location of the finding within an image.
2660
2986
  class GooglePrivacyDlpV2ImageLocation
2661
2987
  include Google::Apis::Core::Hashable
@@ -4090,6 +4416,20 @@ module Google
4090
4416
  end
4091
4417
  end
4092
4418
 
4419
+ # Job trigger option for hybrid jobs. Jobs must be manually created
4420
+ # and finished.
4421
+ class GooglePrivacyDlpV2Manual
4422
+ include Google::Apis::Core::Hashable
4423
+
4424
+ def initialize(**args)
4425
+ update!(**args)
4426
+ end
4427
+
4428
+ # Update properties of this object
4429
+ def update!(**args)
4430
+ end
4431
+ end
4432
+
4093
4433
  # Compute numerical stats over an individual column, including
4094
4434
  # min, max, and quantiles.
4095
4435
  class GooglePrivacyDlpV2NumericalStatsConfig
@@ -5113,6 +5453,11 @@ module Google
5113
5453
  class GooglePrivacyDlpV2Result
5114
5454
  include Google::Apis::Core::Hashable
5115
5455
 
5456
+ # Statistics related to processing hybrid inspect requests.
5457
+ # Corresponds to the JSON property `hybridStats`
5458
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridInspectStatistics]
5459
+ attr_accessor :hybrid_stats
5460
+
5116
5461
  # Statistics of how many instances of each info type were found during
5117
5462
  # inspect job.
5118
5463
  # Corresponds to the JSON property `infoTypeStats`
@@ -5135,6 +5480,7 @@ module Google
5135
5480
 
5136
5481
  # Update properties of this object
5137
5482
  def update!(**args)
5483
+ @hybrid_stats = args[:hybrid_stats] if args.key?(:hybrid_stats)
5138
5484
  @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats)
5139
5485
  @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes)
5140
5486
  @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes)
@@ -5304,6 +5650,12 @@ module Google
5304
5650
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DatastoreOptions]
5305
5651
  attr_accessor :datastore_options
5306
5652
 
5653
+ # Configuration to control jobs where the content being inspected is outside
5654
+ # of Google Cloud Platform.
5655
+ # Corresponds to the JSON property `hybridOptions`
5656
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridOptions]
5657
+ attr_accessor :hybrid_options
5658
+
5307
5659
  # Configuration of the timespan of the items to include in scanning.
5308
5660
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
5309
5661
  # Corresponds to the JSON property `timespanConfig`
@@ -5319,6 +5671,7 @@ module Google
5319
5671
  @big_query_options = args[:big_query_options] if args.key?(:big_query_options)
5320
5672
  @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options)
5321
5673
  @datastore_options = args[:datastore_options] if args.key?(:datastore_options)
5674
+ @hybrid_options = args[:hybrid_options] if args.key?(:hybrid_options)
5322
5675
  @timespan_config = args[:timespan_config] if args.key?(:timespan_config)
5323
5676
  end
5324
5677
  end
@@ -5368,6 +5721,32 @@ module Google
5368
5721
  # @return [String]
5369
5722
  attr_accessor :description
5370
5723
 
5724
+ # Custom information type based on a dictionary of words or phrases. This can
5725
+ # be used to match sensitive information specific to the data, such as a list
5726
+ # of employee IDs or job titles.
5727
+ # Dictionary words are case-insensitive and all characters other than letters
5728
+ # and digits in the unicode [Basic Multilingual
5729
+ # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#
5730
+ # Basic_Multilingual_Plane)
5731
+ # will be replaced with whitespace when scanning for matches, so the
5732
+ # dictionary phrase "Sam Johnson" will match all three phrases "sam johnson",
5733
+ # "Sam, Johnson", and "Sam (Johnson)". Additionally, the characters
5734
+ # surrounding any match must be of a different type than the adjacent
5735
+ # characters within the word, so letters must be next to non-letters and
5736
+ # digits next to non-digits. For example, the dictionary word "jen" will
5737
+ # match the first three letters of the text "jen123" but will return no
5738
+ # matches for "jennifer".
5739
+ # Dictionary words containing a large number of characters that are not
5740
+ # letters or digits may result in unexpected findings because such characters
5741
+ # are treated as whitespace. The
5742
+ # [limits](https://cloud.google.com/dlp/limits) page contains details about
5743
+ # the size limits of dictionaries. For dictionaries that do not fit within
5744
+ # these constraints, consider using `LargeCustomDictionaryConfig` in the
5745
+ # `StoredInfoType` API.
5746
+ # Corresponds to the JSON property `dictionary`
5747
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
5748
+ attr_accessor :dictionary
5749
+
5371
5750
  # Display name of the StoredInfoType (max 256 characters).
5372
5751
  # Corresponds to the JSON property `displayName`
5373
5752
  # @return [String]
@@ -5383,6 +5762,11 @@ module Google
5383
5762
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
5384
5763
  attr_accessor :large_custom_dictionary
5385
5764
 
5765
+ # Message defining a custom regular expression.
5766
+ # Corresponds to the JSON property `regex`
5767
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
5768
+ attr_accessor :regex
5769
+
5386
5770
  def initialize(**args)
5387
5771
  update!(**args)
5388
5772
  end
@@ -5390,8 +5774,10 @@ module Google
5390
5774
  # Update properties of this object
5391
5775
  def update!(**args)
5392
5776
  @description = args[:description] if args.key?(:description)
5777
+ @dictionary = args[:dictionary] if args.key?(:dictionary)
5393
5778
  @display_name = args[:display_name] if args.key?(:display_name)
5394
5779
  @large_custom_dictionary = args[:large_custom_dictionary] if args.key?(:large_custom_dictionary)
5780
+ @regex = args[:regex] if args.key?(:regex)
5395
5781
  end
5396
5782
  end
5397
5783
 
@@ -5600,6 +5986,28 @@ module Google
5600
5986
  end
5601
5987
  end
5602
5988
 
5989
+ # Instructions regarding the table content being inspected.
5990
+ class GooglePrivacyDlpV2TableOptions
5991
+ include Google::Apis::Core::Hashable
5992
+
5993
+ # The columns that are the primary keys for table objects included in
5994
+ # ContentItem. A copy of this cell's value will stored alongside alongside
5995
+ # each finding so that the finding can be traced to the specific row it came
5996
+ # from. No more than 3 may be provided.
5997
+ # Corresponds to the JSON property `identifyingFields`
5998
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
5999
+ attr_accessor :identifying_fields
6000
+
6001
+ def initialize(**args)
6002
+ update!(**args)
6003
+ end
6004
+
6005
+ # Update properties of this object
6006
+ def update!(**args)
6007
+ @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
6008
+ end
6009
+ end
6010
+
5603
6011
  # A column with a semantic tag attached.
5604
6012
  class GooglePrivacyDlpV2TaggedField
5605
6013
  include Google::Apis::Core::Hashable
@@ -5890,6 +6298,12 @@ module Google
5890
6298
  class GooglePrivacyDlpV2Trigger
5891
6299
  include Google::Apis::Core::Hashable
5892
6300
 
6301
+ # Job trigger option for hybrid jobs. Jobs must be manually created
6302
+ # and finished.
6303
+ # Corresponds to the JSON property `manual`
6304
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Manual]
6305
+ attr_accessor :manual
6306
+
5893
6307
  # Schedule for triggeredJobs.
5894
6308
  # Corresponds to the JSON property `schedule`
5895
6309
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule]
@@ -5901,6 +6315,7 @@ module Google
5901
6315
 
5902
6316
  # Update properties of this object
5903
6317
  def update!(**args)
6318
+ @manual = args[:manual] if args.key?(:manual)
5904
6319
  @schedule = args[:schedule] if args.key?(:schedule)
5905
6320
  end
5906
6321
  end