google-cloud-dataplex-v1 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataplex/v1/bindings_override.rb +120 -0
  3. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +17 -1
  4. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +585 -121
  5. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +3 -10
  6. data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
  7. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +556 -121
  8. data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +32 -10
  9. data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +238 -0
  10. data/lib/google/cloud/dataplex/v1/catalog_service/rest.rb +4 -4
  11. data/lib/google/cloud/dataplex/v1/catalog_service.rb +4 -4
  12. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +44 -20
  13. data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +52 -0
  14. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +1 -1
  15. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +3 -10
  16. data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +36 -0
  17. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +32 -10
  18. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +3 -10
  19. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +32 -10
  20. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +3 -10
  21. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +32 -10
  22. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +3 -1
  23. data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -1
  24. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  25. data/proto_docs/google/api/client.rb +51 -10
  26. data/proto_docs/google/api/field_info.rb +88 -0
  27. data/proto_docs/google/api/resource.rb +7 -2
  28. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +710 -234
  29. data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +156 -0
  30. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +4 -4
  31. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +7 -2
  32. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +30 -12
  33. data/proto_docs/google/cloud/dataplex/v1/logs.rb +51 -1
  34. data/proto_docs/google/cloud/dataplex/v1/tasks.rb +3 -4
  35. data/proto_docs/google/longrunning/operations.rb +19 -14
  36. metadata +6 -3
@@ -124,14 +124,6 @@ module Google
124
124
  # Lists operations that match the specified filter in the request. If the
125
125
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
126
  #
127
- # NOTE: the `name` binding allows API services to override the binding
128
- # to use different resource name schemes, such as `users/*/operations`. To
129
- # override the binding, API services can add a binding such as
130
- # `"/v1/{name=users/*}/operations"` to their service configuration.
131
- # For backwards compatibility, the default name includes the operations
132
- # collection id, however overriding users must ensure the name binding
133
- # is the parent resource, without the operations collection id.
134
- #
135
127
  # @overload list_operations(request, options = nil)
136
128
  # Pass arguments to `list_operations` via a request object, either of type
137
129
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -421,8 +413,9 @@ module Google
421
413
  # other methods to check whether the cancellation succeeded or whether the
422
414
  # operation completed despite cancellation. On successful cancellation,
423
415
  # the operation is not deleted; instead, it becomes an operation with
424
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
425
- # corresponding to `Code.CANCELLED`.
416
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
417
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
418
+ # `Code.CANCELLED`.
426
419
  #
427
420
  # @overload cancel_operation(request, options = nil)
428
421
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -119,6 +119,25 @@ module Google
119
119
  "projects/#{project}/locations/#{location}"
120
120
  end
121
121
 
122
+ ##
123
+ # Create a fully-qualified MetadataJob resource string.
124
+ #
125
+ # The resource will be in the following format:
126
+ #
127
+ # `projects/{project}/locations/{location}/metadataJobs/{metadata_job}`
128
+ #
129
+ # @param project [String]
130
+ # @param location [String]
131
+ # @param metadata_job [String]
132
+ #
133
+ # @return [::String]
134
+ def metadata_job_path project:, location:, metadata_job:
135
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
136
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
137
+
138
+ "projects/#{project}/locations/#{location}/metadataJobs/#{metadata_job}"
139
+ end
140
+
122
141
  extend self
123
142
  end
124
143
  end