google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -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 = '20201107'
30
+ REVISION = '20201207'
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'
@@ -759,6 +759,83 @@ module Google
759
759
  execute_or_queue_command(command, &block)
760
760
  end
761
761
 
762
+ # Lists DlpJobs that match the specified filter in the request. See https://
763
+ # cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/
764
+ # docs/compute-risk-analysis to learn more.
765
+ # @param [String] parent
766
+ # Required. Parent resource name. The format of this value varies depending on
767
+ # whether you have [specified a processing location](https://cloud.google.com/
768
+ # dlp/docs/specifying-location): + Projects scope, location specified: `projects/
769
+ # `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
770
+ # defaults to global): `projects/`PROJECT_ID The following example `parent`
771
+ # string specifies a parent project with the identifier `example-project`, and
772
+ # specifies the `europe-west3` location for processing data: parent=projects/
773
+ # example-project/locations/europe-west3
774
+ # @param [String] filter
775
+ # Allows filtering. Supported syntax: * Filter expressions are made up of one or
776
+ # more restrictions. * Restrictions can be combined by `AND` or `OR` logical
777
+ # operators. A sequence of restrictions implicitly uses `AND`. * A restriction
778
+ # has the form of ``field` `operator` `value``. * Supported fields/values for
779
+ # inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `
780
+ # inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The
781
+ # resource name of the trigger that created job. - 'end_time` - Corresponds to
782
+ # time the job finished. - 'start_time` - Corresponds to time the job finished. *
783
+ # Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|
784
+ # FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - '
785
+ # start_time` - Corresponds to time the job finished. * The operator must be `=`
786
+ # or `!=`. Examples: * inspected_storage = cloud_storage AND state = done *
787
+ # inspected_storage = cloud_storage OR inspected_storage = bigquery *
788
+ # inspected_storage = cloud_storage AND (state = done OR state = canceled) *
789
+ # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no
790
+ # more than 500 characters.
791
+ # @param [String] location_id
792
+ # Deprecated. This field has no effect.
793
+ # @param [String] order_by
794
+ # Comma separated list of fields to order by, followed by `asc` or `desc`
795
+ # postfix. This list is case-insensitive, default sorting order is ascending,
796
+ # redundant space characters are insignificant. Example: `name asc, end_time asc,
797
+ # create_time desc` Supported fields are: - `create_time`: corresponds to time
798
+ # the job was created. - `end_time`: corresponds to time the job ended. - `name`:
799
+ # corresponds to job's name. - `state`: corresponds to `state`
800
+ # @param [Fixnum] page_size
801
+ # The standard list page size.
802
+ # @param [String] page_token
803
+ # The standard list page token.
804
+ # @param [String] type
805
+ # The type of job. Defaults to `DlpJobType.INSPECT`
806
+ # @param [String] fields
807
+ # Selector specifying which fields to include in a partial response.
808
+ # @param [String] quota_user
809
+ # Available to use for quota purposes for server-side applications. Can be any
810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
811
+ # @param [Google::Apis::RequestOptions] options
812
+ # Request-specific options
813
+ #
814
+ # @yield [result, err] Result & error if block supplied
815
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse] parsed result object
816
+ # @yieldparam err [StandardError] error object if request failed
817
+ #
818
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse]
819
+ #
820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
823
+ def list_organization_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
824
+ command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options)
825
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation
826
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
827
+ command.params['parent'] = parent unless parent.nil?
828
+ command.query['filter'] = filter unless filter.nil?
829
+ command.query['locationId'] = location_id unless location_id.nil?
830
+ command.query['orderBy'] = order_by unless order_by.nil?
831
+ command.query['pageSize'] = page_size unless page_size.nil?
832
+ command.query['pageToken'] = page_token unless page_token.nil?
833
+ command.query['type'] = type unless type.nil?
834
+ command.query['fields'] = fields unless fields.nil?
835
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
836
+ execute_or_queue_command(command, &block)
837
+ end
838
+
762
839
  # Creates an InspectTemplate for re-using frequently used configuration for
763
840
  # inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/
764
841
  # creating-templates to learn more.
@@ -967,6 +1044,222 @@ module Google
967
1044
  execute_or_queue_command(command, &block)
968
1045
  end
969
1046
 
1047
+ # Creates a job trigger to run DLP actions such as scanning storage for
1048
+ # sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/
1049
+ # creating-job-triggers to learn more.
1050
+ # @param [String] parent
1051
+ # Required. Parent resource name. The format of this value varies depending on
1052
+ # whether you have [specified a processing location](https://cloud.google.com/
1053
+ # dlp/docs/specifying-location): + Projects scope, location specified: `projects/
1054
+ # `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
1055
+ # defaults to global): `projects/`PROJECT_ID The following example `parent`
1056
+ # string specifies a parent project with the identifier `example-project`, and
1057
+ # specifies the `europe-west3` location for processing data: parent=projects/
1058
+ # example-project/locations/europe-west3
1059
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
1060
+ # @param [String] fields
1061
+ # Selector specifying which fields to include in a partial response.
1062
+ # @param [String] quota_user
1063
+ # Available to use for quota purposes for server-side applications. Can be any
1064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1065
+ # @param [Google::Apis::RequestOptions] options
1066
+ # Request-specific options
1067
+ #
1068
+ # @yield [result, err] Result & error if block supplied
1069
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger] parsed result object
1070
+ # @yieldparam err [StandardError] error object if request failed
1071
+ #
1072
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1073
+ #
1074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1077
+ def create_organization_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1078
+ command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', options)
1079
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation
1080
+ command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object
1081
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
1082
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
1083
+ command.params['parent'] = parent unless parent.nil?
1084
+ command.query['fields'] = fields unless fields.nil?
1085
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1086
+ execute_or_queue_command(command, &block)
1087
+ end
1088
+
1089
+ # Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-
1090
+ # triggers to learn more.
1091
+ # @param [String] name
1092
+ # Required. Resource name of the project and the triggeredJob, for example `
1093
+ # projects/dlp-test-project/jobTriggers/53234423`.
1094
+ # @param [String] fields
1095
+ # Selector specifying which fields to include in a partial response.
1096
+ # @param [String] quota_user
1097
+ # Available to use for quota purposes for server-side applications. Can be any
1098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1099
+ # @param [Google::Apis::RequestOptions] options
1100
+ # Request-specific options
1101
+ #
1102
+ # @yield [result, err] Result & error if block supplied
1103
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
1104
+ # @yieldparam err [StandardError] error object if request failed
1105
+ #
1106
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
1107
+ #
1108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1111
+ def delete_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1112
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1113
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
1114
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
1115
+ command.params['name'] = name unless name.nil?
1116
+ command.query['fields'] = fields unless fields.nil?
1117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1118
+ execute_or_queue_command(command, &block)
1119
+ end
1120
+
1121
+ # Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-
1122
+ # triggers to learn more.
1123
+ # @param [String] name
1124
+ # Required. Resource name of the project and the triggeredJob, for example `
1125
+ # projects/dlp-test-project/jobTriggers/53234423`.
1126
+ # @param [String] fields
1127
+ # Selector specifying which fields to include in a partial response.
1128
+ # @param [String] quota_user
1129
+ # Available to use for quota purposes for server-side applications. Can be any
1130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1131
+ # @param [Google::Apis::RequestOptions] options
1132
+ # Request-specific options
1133
+ #
1134
+ # @yield [result, err] Result & error if block supplied
1135
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger] parsed result object
1136
+ # @yieldparam err [StandardError] error object if request failed
1137
+ #
1138
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1139
+ #
1140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1143
+ def get_organization_location_job_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1144
+ command = make_simple_command(:get, 'v2/{+name}', options)
1145
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
1146
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
1147
+ command.params['name'] = name unless name.nil?
1148
+ command.query['fields'] = fields unless fields.nil?
1149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1150
+ execute_or_queue_command(command, &block)
1151
+ end
1152
+
1153
+ # Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-
1154
+ # triggers to learn more.
1155
+ # @param [String] parent
1156
+ # Required. Parent resource name. The format of this value varies depending on
1157
+ # whether you have [specified a processing location](https://cloud.google.com/
1158
+ # dlp/docs/specifying-location): + Projects scope, location specified: `projects/
1159
+ # `PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location specified (
1160
+ # defaults to global): `projects/`PROJECT_ID The following example `parent`
1161
+ # string specifies a parent project with the identifier `example-project`, and
1162
+ # specifies the `europe-west3` location for processing data: parent=projects/
1163
+ # example-project/locations/europe-west3
1164
+ # @param [String] filter
1165
+ # Allows filtering. Supported syntax: * Filter expressions are made up of one or
1166
+ # more restrictions. * Restrictions can be combined by `AND` or `OR` logical
1167
+ # operators. A sequence of restrictions implicitly uses `AND`. * A restriction
1168
+ # has the form of ``field` `operator` `value``. * Supported fields/values for
1169
+ # inspect jobs: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` -
1170
+ # DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted
1171
+ # timestamp, surrounded by quotation marks. Nanoseconds are ignored. - '
1172
+ # error_count' - Number of errors that have occurred while running. * The
1173
+ # operator must be `=` or `!=` for status and inspected_storage. Examples: *
1174
+ # inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage =
1175
+ # cloud_storage OR inspected_storage = bigquery * inspected_storage =
1176
+ # cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \"2017-
1177
+ # 12-12T00:00:00+00:00\" The length of this field should be no more than 500
1178
+ # characters.
1179
+ # @param [String] location_id
1180
+ # Deprecated. This field has no effect.
1181
+ # @param [String] order_by
1182
+ # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
1183
+ # desc` postfix. This list is case-insensitive, default sorting order is
1184
+ # ascending, redundant space characters are insignificant. Example: `name asc,
1185
+ # update_time, create_time desc` Supported fields are: - `create_time`:
1186
+ # corresponds to time the JobTrigger was created. - `update_time`: corresponds
1187
+ # to time the JobTrigger was last updated. - `last_run_time`: corresponds to the
1188
+ # last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `
1189
+ # display_name`: corresponds to JobTrigger's display name. - `status`:
1190
+ # corresponds to JobTrigger's status.
1191
+ # @param [Fixnum] page_size
1192
+ # Size of the page, can be limited by a server.
1193
+ # @param [String] page_token
1194
+ # Page token to continue retrieval. Comes from previous call to ListJobTriggers.
1195
+ # `order_by` field must not change for subsequent calls.
1196
+ # @param [String] fields
1197
+ # Selector specifying which fields to include in a partial response.
1198
+ # @param [String] quota_user
1199
+ # Available to use for quota purposes for server-side applications. Can be any
1200
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1201
+ # @param [Google::Apis::RequestOptions] options
1202
+ # Request-specific options
1203
+ #
1204
+ # @yield [result, err] Result & error if block supplied
1205
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse] parsed result object
1206
+ # @yieldparam err [StandardError] error object if request failed
1207
+ #
1208
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse]
1209
+ #
1210
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1211
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1212
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1213
+ def list_organization_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1214
+ command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
1215
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
1216
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
1217
+ command.params['parent'] = parent unless parent.nil?
1218
+ command.query['filter'] = filter unless filter.nil?
1219
+ command.query['locationId'] = location_id unless location_id.nil?
1220
+ command.query['orderBy'] = order_by unless order_by.nil?
1221
+ command.query['pageSize'] = page_size unless page_size.nil?
1222
+ command.query['pageToken'] = page_token unless page_token.nil?
1223
+ command.query['fields'] = fields unless fields.nil?
1224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1225
+ execute_or_queue_command(command, &block)
1226
+ end
1227
+
1228
+ # Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-
1229
+ # triggers to learn more.
1230
+ # @param [String] name
1231
+ # Required. Resource name of the project and the triggeredJob, for example `
1232
+ # projects/dlp-test-project/jobTriggers/53234423`.
1233
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest] google_privacy_dlp_v2_update_job_trigger_request_object
1234
+ # @param [String] fields
1235
+ # Selector specifying which fields to include in a partial response.
1236
+ # @param [String] quota_user
1237
+ # Available to use for quota purposes for server-side applications. Can be any
1238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1239
+ # @param [Google::Apis::RequestOptions] options
1240
+ # Request-specific options
1241
+ #
1242
+ # @yield [result, err] Result & error if block supplied
1243
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger] parsed result object
1244
+ # @yieldparam err [StandardError] error object if request failed
1245
+ #
1246
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1247
+ #
1248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1251
+ def patch_organization_location_job_trigger(name, google_privacy_dlp_v2_update_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1252
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1253
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest::Representation
1254
+ command.request_object = google_privacy_dlp_v2_update_job_trigger_request_object
1255
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
1256
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
1257
+ command.params['name'] = name unless name.nil?
1258
+ command.query['fields'] = fields unless fields.nil?
1259
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1260
+ execute_or_queue_command(command, &block)
1261
+ end
1262
+
970
1263
  # Creates a pre-built stored infoType to be used for inspection. See https://
971
1264
  # cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
972
1265
  # @param [String] parent
@@ -2972,7 +3265,7 @@ module Google
2972
3265
  execute_or_queue_command(command, &block)
2973
3266
  end
2974
3267
 
2975
- # Inspect hybrid content and store findings to a job. To review the findings
3268
+ # Inspect hybrid content and store findings to a job. To review the findings,
2976
3269
  # inspect the job. Inspection will occur asynchronously. Early access feature is
2977
3270
  # in a pre-release state and might change or have limited support. For more
2978
3271
  # information, see https://cloud.google.com/products#product-launch-stages.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dns/docs
26
26
  module DnsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201116'
28
+ REVISION = '20201127'
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'
@@ -430,6 +430,11 @@ module Google
430
430
  # @return [Google::Apis::DnsV1::ManagedZoneReverseLookupConfig]
431
431
  attr_accessor :reverse_lookup_config
432
432
 
433
+ # Contains information about Service Directory-backed zones.
434
+ # Corresponds to the JSON property `serviceDirectoryConfig`
435
+ # @return [Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig]
436
+ attr_accessor :service_directory_config
437
+
433
438
  # The zone's visibility: public zones are exposed to the Internet, while private
434
439
  # zones are visible only to Virtual Private Cloud resources.
435
440
  # Corresponds to the JSON property `visibility`
@@ -456,6 +461,7 @@ module Google
456
461
  @peering_config = args[:peering_config] if args.key?(:peering_config)
457
462
  @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
458
463
  @reverse_lookup_config = args[:reverse_lookup_config] if args.key?(:reverse_lookup_config)
464
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
459
465
  @visibility = args[:visibility] if args.key?(:visibility)
460
466
  end
461
467
  end
@@ -735,6 +741,65 @@ module Google
735
741
  end
736
742
  end
737
743
 
744
+ # Contains information about Service Directory-backed zones.
745
+ class ManagedZoneServiceDirectoryConfig
746
+ include Google::Apis::Core::Hashable
747
+
748
+ #
749
+ # Corresponds to the JSON property `kind`
750
+ # @return [String]
751
+ attr_accessor :kind
752
+
753
+ # Contains information about the namespace associated with the zone.
754
+ # Corresponds to the JSON property `namespace`
755
+ # @return [Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace]
756
+ attr_accessor :namespace
757
+
758
+ def initialize(**args)
759
+ update!(**args)
760
+ end
761
+
762
+ # Update properties of this object
763
+ def update!(**args)
764
+ @kind = args[:kind] if args.key?(:kind)
765
+ @namespace = args[:namespace] if args.key?(:namespace)
766
+ end
767
+ end
768
+
769
+ #
770
+ class ManagedZoneServiceDirectoryConfigNamespace
771
+ include Google::Apis::Core::Hashable
772
+
773
+ # The time that the namespace backing this zone was deleted, empty string if it
774
+ # still exists. This is in RFC3339 text format. Output only.
775
+ # Corresponds to the JSON property `deletionTime`
776
+ # @return [String]
777
+ attr_accessor :deletion_time
778
+
779
+ #
780
+ # Corresponds to the JSON property `kind`
781
+ # @return [String]
782
+ attr_accessor :kind
783
+
784
+ # The fully qualified URL of the namespace associated with the zone. This should
785
+ # be formatted like https://servicedirectory.googleapis.com/v1/projects/`project`
786
+ # /locations/`location`/namespaces/`namespace`
787
+ # Corresponds to the JSON property `namespaceUrl`
788
+ # @return [String]
789
+ attr_accessor :namespace_url
790
+
791
+ def initialize(**args)
792
+ update!(**args)
793
+ end
794
+
795
+ # Update properties of this object
796
+ def update!(**args)
797
+ @deletion_time = args[:deletion_time] if args.key?(:deletion_time)
798
+ @kind = args[:kind] if args.key?(:kind)
799
+ @namespace_url = args[:namespace_url] if args.key?(:namespace_url)
800
+ end
801
+ end
802
+
738
803
  #
739
804
  class ListManagedZonesResponse
740
805
  include Google::Apis::Core::Hashable
@@ -118,6 +118,18 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ManagedZoneServiceDirectoryConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ManagedZoneServiceDirectoryConfigNamespace
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class ListManagedZonesResponse
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -341,6 +353,8 @@ module Google
341
353
 
342
354
  property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig::Representation
343
355
 
356
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig::Representation
357
+
344
358
  property :visibility, as: 'visibility'
345
359
  end
346
360
  end
@@ -428,6 +442,24 @@ module Google
428
442
  end
429
443
  end
430
444
 
445
+ class ManagedZoneServiceDirectoryConfig
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :kind, as: 'kind'
449
+ property :namespace, as: 'namespace', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace::Representation
450
+
451
+ end
452
+ end
453
+
454
+ class ManagedZoneServiceDirectoryConfigNamespace
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :deletion_time, as: 'deletionTime'
458
+ property :kind, as: 'kind'
459
+ property :namespace_url, as: 'namespaceUrl'
460
+ end
461
+ end
462
+
431
463
  class ListManagedZonesResponse
432
464
  # @private
433
465
  class Representation < Google::Apis::Core::JsonRepresentation