google-cloud-data_catalog-v1 0.8.2 → 0.10.0

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +1 -1
  5. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +972 -83
  6. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +273 -41
  7. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +60 -9
  8. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  9. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +1 -1
  10. data/lib/google/cloud/datacatalog/v1/common_pb.rb +6 -0
  11. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +1 -1
  12. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +47 -2
  13. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +27 -3
  14. data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -2
  15. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -2
  16. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +1 -1
  17. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +3 -3
  18. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +1 -1
  19. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +1 -1
  20. data/lib/google/cloud/datacatalog/v1/search_pb.rb +4 -2
  21. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +3 -2
  22. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +2 -2
  23. data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -2
  24. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +1 -1
  25. data/proto_docs/google/api/resource.rb +10 -71
  26. data/proto_docs/google/cloud/datacatalog/v1/common.rb +12 -0
  27. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +133 -12
  28. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +2 -4
  29. data/proto_docs/google/cloud/datacatalog/v1/search.rb +7 -0
  30. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +3 -0
  31. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +4 -25
  32. metadata +3 -3
@@ -228,7 +228,8 @@ module Google
228
228
  # @param query [::String]
229
229
  # Optional. The query string with a minimum of 3 characters and specific syntax.
230
230
  # For more information, see
231
- # [Data Catalog search syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
231
+ # [Data Catalog search
232
+ # syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
232
233
  #
233
234
  # An empty query string returns all data assets (in the specified scope)
234
235
  # that you have access to.
@@ -259,6 +260,7 @@ module Google
259
260
  #
260
261
  # * `relevance` that can only be descending
261
262
  # * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default
263
+ # * `default` that can only be descending
262
264
  #
263
265
  # If this parameter is omitted, it defaults to the descending `relevance`.
264
266
  #
@@ -270,6 +272,27 @@ module Google
270
272
  #
271
273
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
272
274
  #
275
+ # @example Basic example
276
+ # require "google/cloud/data_catalog/v1"
277
+ #
278
+ # # Create a client object. The client can be reused for multiple calls.
279
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
280
+ #
281
+ # # Create a request. To set request fields, pass in keyword arguments.
282
+ # request = Google::Cloud::DataCatalog::V1::SearchCatalogRequest.new
283
+ #
284
+ # # Call the search_catalog method.
285
+ # result = client.search_catalog request
286
+ #
287
+ # # The returned object is of type Gapic::PagedEnumerable. You can
288
+ # # iterate over all elements by calling #each, and the enumerable
289
+ # # will lazily make API calls to fetch subsequent pages. Other
290
+ # # methods are also available for managing paging directly.
291
+ # result.each do |response|
292
+ # # Each element is of type ::Google::Cloud::DataCatalog::V1::SearchCatalogResult.
293
+ # p response
294
+ # end
295
+ #
273
296
  def search_catalog request, options = nil
274
297
  raise ::ArgumentError, "request must be provided" if request.nil?
275
298
 
@@ -370,6 +393,21 @@ module Google
370
393
  #
371
394
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
372
395
  #
396
+ # @example Basic example
397
+ # require "google/cloud/data_catalog/v1"
398
+ #
399
+ # # Create a client object. The client can be reused for multiple calls.
400
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
401
+ #
402
+ # # Create a request. To set request fields, pass in keyword arguments.
403
+ # request = Google::Cloud::DataCatalog::V1::CreateEntryGroupRequest.new
404
+ #
405
+ # # Call the create_entry_group method.
406
+ # result = client.create_entry_group request
407
+ #
408
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::EntryGroup.
409
+ # p result
410
+ #
373
411
  def create_entry_group request, options = nil
374
412
  raise ::ArgumentError, "request must be provided" if request.nil?
375
413
 
@@ -387,9 +425,11 @@ module Google
387
425
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
388
426
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
389
427
 
390
- header_params = {
391
- "parent" => request.parent
392
- }
428
+ header_params = {}
429
+ if request.parent
430
+ header_params["parent"] = request.parent
431
+ end
432
+
393
433
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
394
434
  metadata[:"x-goog-request-params"] ||= request_params_header
395
435
 
@@ -440,6 +480,21 @@ module Google
440
480
  #
441
481
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
442
482
  #
483
+ # @example Basic example
484
+ # require "google/cloud/data_catalog/v1"
485
+ #
486
+ # # Create a client object. The client can be reused for multiple calls.
487
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
488
+ #
489
+ # # Create a request. To set request fields, pass in keyword arguments.
490
+ # request = Google::Cloud::DataCatalog::V1::GetEntryGroupRequest.new
491
+ #
492
+ # # Call the get_entry_group method.
493
+ # result = client.get_entry_group request
494
+ #
495
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::EntryGroup.
496
+ # p result
497
+ #
443
498
  def get_entry_group request, options = nil
444
499
  raise ::ArgumentError, "request must be provided" if request.nil?
445
500
 
@@ -457,9 +512,11 @@ module Google
457
512
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
458
513
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
459
514
 
460
- header_params = {
461
- "name" => request.name
462
- }
515
+ header_params = {}
516
+ if request.name
517
+ header_params["name"] = request.name
518
+ end
519
+
463
520
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
464
521
  metadata[:"x-goog-request-params"] ||= request_params_header
465
522
 
@@ -519,6 +576,21 @@ module Google
519
576
  #
520
577
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
521
578
  #
579
+ # @example Basic example
580
+ # require "google/cloud/data_catalog/v1"
581
+ #
582
+ # # Create a client object. The client can be reused for multiple calls.
583
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
584
+ #
585
+ # # Create a request. To set request fields, pass in keyword arguments.
586
+ # request = Google::Cloud::DataCatalog::V1::UpdateEntryGroupRequest.new
587
+ #
588
+ # # Call the update_entry_group method.
589
+ # result = client.update_entry_group request
590
+ #
591
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::EntryGroup.
592
+ # p result
593
+ #
522
594
  def update_entry_group request, options = nil
523
595
  raise ::ArgumentError, "request must be provided" if request.nil?
524
596
 
@@ -536,9 +608,11 @@ module Google
536
608
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
537
609
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
538
610
 
539
- header_params = {
540
- "entry_group.name" => request.entry_group.name
541
- }
611
+ header_params = {}
612
+ if request.entry_group&.name
613
+ header_params["entry_group.name"] = request.entry_group.name
614
+ end
615
+
542
616
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
543
617
  metadata[:"x-goog-request-params"] ||= request_params_header
544
618
 
@@ -594,6 +668,21 @@ module Google
594
668
  #
595
669
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
596
670
  #
671
+ # @example Basic example
672
+ # require "google/cloud/data_catalog/v1"
673
+ #
674
+ # # Create a client object. The client can be reused for multiple calls.
675
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
676
+ #
677
+ # # Create a request. To set request fields, pass in keyword arguments.
678
+ # request = Google::Cloud::DataCatalog::V1::DeleteEntryGroupRequest.new
679
+ #
680
+ # # Call the delete_entry_group method.
681
+ # result = client.delete_entry_group request
682
+ #
683
+ # # The returned object is of type Google::Protobuf::Empty.
684
+ # p result
685
+ #
597
686
  def delete_entry_group request, options = nil
598
687
  raise ::ArgumentError, "request must be provided" if request.nil?
599
688
 
@@ -611,9 +700,11 @@ module Google
611
700
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
612
701
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
613
702
 
614
- header_params = {
615
- "name" => request.name
616
- }
703
+ header_params = {}
704
+ if request.name
705
+ header_params["name"] = request.name
706
+ end
707
+
617
708
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
618
709
  metadata[:"x-goog-request-params"] ||= request_params_header
619
710
 
@@ -672,6 +763,27 @@ module Google
672
763
  #
673
764
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
674
765
  #
766
+ # @example Basic example
767
+ # require "google/cloud/data_catalog/v1"
768
+ #
769
+ # # Create a client object. The client can be reused for multiple calls.
770
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
771
+ #
772
+ # # Create a request. To set request fields, pass in keyword arguments.
773
+ # request = Google::Cloud::DataCatalog::V1::ListEntryGroupsRequest.new
774
+ #
775
+ # # Call the list_entry_groups method.
776
+ # result = client.list_entry_groups request
777
+ #
778
+ # # The returned object is of type Gapic::PagedEnumerable. You can
779
+ # # iterate over all elements by calling #each, and the enumerable
780
+ # # will lazily make API calls to fetch subsequent pages. Other
781
+ # # methods are also available for managing paging directly.
782
+ # result.each do |response|
783
+ # # Each element is of type ::Google::Cloud::DataCatalog::V1::EntryGroup.
784
+ # p response
785
+ # end
786
+ #
675
787
  def list_entry_groups request, options = nil
676
788
  raise ::ArgumentError, "request must be provided" if request.nil?
677
789
 
@@ -689,9 +801,11 @@ module Google
689
801
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
690
802
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
691
803
 
692
- header_params = {
693
- "parent" => request.parent
694
- }
804
+ header_params = {}
805
+ if request.parent
806
+ header_params["parent"] = request.parent
807
+ end
808
+
695
809
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
696
810
  metadata[:"x-goog-request-params"] ||= request_params_header
697
811
 
@@ -762,6 +876,21 @@ module Google
762
876
  #
763
877
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
764
878
  #
879
+ # @example Basic example
880
+ # require "google/cloud/data_catalog/v1"
881
+ #
882
+ # # Create a client object. The client can be reused for multiple calls.
883
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
884
+ #
885
+ # # Create a request. To set request fields, pass in keyword arguments.
886
+ # request = Google::Cloud::DataCatalog::V1::CreateEntryRequest.new
887
+ #
888
+ # # Call the create_entry method.
889
+ # result = client.create_entry request
890
+ #
891
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Entry.
892
+ # p result
893
+ #
765
894
  def create_entry request, options = nil
766
895
  raise ::ArgumentError, "request must be provided" if request.nil?
767
896
 
@@ -779,9 +908,11 @@ module Google
779
908
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
780
909
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
781
910
 
782
- header_params = {
783
- "parent" => request.parent
784
- }
911
+ header_params = {}
912
+ if request.parent
913
+ header_params["parent"] = request.parent
914
+ end
915
+
785
916
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
786
917
  metadata[:"x-goog-request-params"] ||= request_params_header
787
918
 
@@ -865,6 +996,21 @@ module Google
865
996
  #
866
997
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
867
998
  #
999
+ # @example Basic example
1000
+ # require "google/cloud/data_catalog/v1"
1001
+ #
1002
+ # # Create a client object. The client can be reused for multiple calls.
1003
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1004
+ #
1005
+ # # Create a request. To set request fields, pass in keyword arguments.
1006
+ # request = Google::Cloud::DataCatalog::V1::UpdateEntryRequest.new
1007
+ #
1008
+ # # Call the update_entry method.
1009
+ # result = client.update_entry request
1010
+ #
1011
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Entry.
1012
+ # p result
1013
+ #
868
1014
  def update_entry request, options = nil
869
1015
  raise ::ArgumentError, "request must be provided" if request.nil?
870
1016
 
@@ -882,9 +1028,11 @@ module Google
882
1028
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
883
1029
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
884
1030
 
885
- header_params = {
886
- "entry.name" => request.entry.name
887
- }
1031
+ header_params = {}
1032
+ if request.entry&.name
1033
+ header_params["entry.name"] = request.entry.name
1034
+ end
1035
+
888
1036
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
889
1037
  metadata[:"x-goog-request-params"] ||= request_params_header
890
1038
 
@@ -942,6 +1090,21 @@ module Google
942
1090
  #
943
1091
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
944
1092
  #
1093
+ # @example Basic example
1094
+ # require "google/cloud/data_catalog/v1"
1095
+ #
1096
+ # # Create a client object. The client can be reused for multiple calls.
1097
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1098
+ #
1099
+ # # Create a request. To set request fields, pass in keyword arguments.
1100
+ # request = Google::Cloud::DataCatalog::V1::DeleteEntryRequest.new
1101
+ #
1102
+ # # Call the delete_entry method.
1103
+ # result = client.delete_entry request
1104
+ #
1105
+ # # The returned object is of type Google::Protobuf::Empty.
1106
+ # p result
1107
+ #
945
1108
  def delete_entry request, options = nil
946
1109
  raise ::ArgumentError, "request must be provided" if request.nil?
947
1110
 
@@ -959,9 +1122,11 @@ module Google
959
1122
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
960
1123
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
961
1124
 
962
- header_params = {
963
- "name" => request.name
964
- }
1125
+ header_params = {}
1126
+ if request.name
1127
+ header_params["name"] = request.name
1128
+ end
1129
+
965
1130
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
966
1131
  metadata[:"x-goog-request-params"] ||= request_params_header
967
1132
 
@@ -1010,6 +1175,21 @@ module Google
1010
1175
  #
1011
1176
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1012
1177
  #
1178
+ # @example Basic example
1179
+ # require "google/cloud/data_catalog/v1"
1180
+ #
1181
+ # # Create a client object. The client can be reused for multiple calls.
1182
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1183
+ #
1184
+ # # Create a request. To set request fields, pass in keyword arguments.
1185
+ # request = Google::Cloud::DataCatalog::V1::GetEntryRequest.new
1186
+ #
1187
+ # # Call the get_entry method.
1188
+ # result = client.get_entry request
1189
+ #
1190
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Entry.
1191
+ # p result
1192
+ #
1013
1193
  def get_entry request, options = nil
1014
1194
  raise ::ArgumentError, "request must be provided" if request.nil?
1015
1195
 
@@ -1027,9 +1207,11 @@ module Google
1027
1207
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1028
1208
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1029
1209
 
1030
- header_params = {
1031
- "name" => request.name
1032
- }
1210
+ header_params = {}
1211
+ if request.name
1212
+ header_params["name"] = request.name
1213
+ end
1214
+
1033
1215
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1034
1216
  metadata[:"x-goog-request-params"] ||= request_params_header
1035
1217
 
@@ -1117,6 +1299,21 @@ module Google
1117
1299
  #
1118
1300
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1119
1301
  #
1302
+ # @example Basic example
1303
+ # require "google/cloud/data_catalog/v1"
1304
+ #
1305
+ # # Create a client object. The client can be reused for multiple calls.
1306
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1307
+ #
1308
+ # # Create a request. To set request fields, pass in keyword arguments.
1309
+ # request = Google::Cloud::DataCatalog::V1::LookupEntryRequest.new
1310
+ #
1311
+ # # Call the lookup_entry method.
1312
+ # result = client.lookup_entry request
1313
+ #
1314
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Entry.
1315
+ # p result
1316
+ #
1120
1317
  def lookup_entry request, options = nil
1121
1318
  raise ::ArgumentError, "request must be provided" if request.nil?
1122
1319
 
@@ -1153,6 +1350,10 @@ module Google
1153
1350
  ##
1154
1351
  # Lists entries.
1155
1352
  #
1353
+ # Note: Currently, this method can list only custom entries.
1354
+ # To get a list of both custom and automatically created entries, use
1355
+ # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalog}.
1356
+ #
1156
1357
  # @overload list_entries(request, options = nil)
1157
1358
  # Pass arguments to `list_entries` via a request object, either of type
1158
1359
  # {::Google::Cloud::DataCatalog::V1::ListEntriesRequest} or an equivalent Hash.
@@ -1193,6 +1394,27 @@ module Google
1193
1394
  #
1194
1395
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1195
1396
  #
1397
+ # @example Basic example
1398
+ # require "google/cloud/data_catalog/v1"
1399
+ #
1400
+ # # Create a client object. The client can be reused for multiple calls.
1401
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1402
+ #
1403
+ # # Create a request. To set request fields, pass in keyword arguments.
1404
+ # request = Google::Cloud::DataCatalog::V1::ListEntriesRequest.new
1405
+ #
1406
+ # # Call the list_entries method.
1407
+ # result = client.list_entries request
1408
+ #
1409
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1410
+ # # iterate over all elements by calling #each, and the enumerable
1411
+ # # will lazily make API calls to fetch subsequent pages. Other
1412
+ # # methods are also available for managing paging directly.
1413
+ # result.each do |response|
1414
+ # # Each element is of type ::Google::Cloud::DataCatalog::V1::Entry.
1415
+ # p response
1416
+ # end
1417
+ #
1196
1418
  def list_entries request, options = nil
1197
1419
  raise ::ArgumentError, "request must be provided" if request.nil?
1198
1420
 
@@ -1210,9 +1432,11 @@ module Google
1210
1432
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1211
1433
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1212
1434
 
1213
- header_params = {
1214
- "parent" => request.parent
1215
- }
1435
+ header_params = {}
1436
+ if request.parent
1437
+ header_params["parent"] = request.parent
1438
+ end
1439
+
1216
1440
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1217
1441
  metadata[:"x-goog-request-params"] ||= request_params_header
1218
1442
 
@@ -1233,6 +1457,188 @@ module Google
1233
1457
  raise ::Google::Cloud::Error.from_error(e)
1234
1458
  end
1235
1459
 
1460
+ ##
1461
+ # Modifies entry overview, part of the business context of an
1462
+ # {::Google::Cloud::DataCatalog::V1::Entry Entry}.
1463
+ #
1464
+ # To call this method, you must have the `datacatalog.entries.updateOverview`
1465
+ # IAM permission on the corresponding project.
1466
+ #
1467
+ # @overload modify_entry_overview(request, options = nil)
1468
+ # Pass arguments to `modify_entry_overview` via a request object, either of type
1469
+ # {::Google::Cloud::DataCatalog::V1::ModifyEntryOverviewRequest} or an equivalent Hash.
1470
+ #
1471
+ # @param request [::Google::Cloud::DataCatalog::V1::ModifyEntryOverviewRequest, ::Hash]
1472
+ # A request object representing the call parameters. Required. To specify no
1473
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1474
+ # @param options [::Gapic::CallOptions, ::Hash]
1475
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1476
+ #
1477
+ # @overload modify_entry_overview(name: nil, entry_overview: nil)
1478
+ # Pass arguments to `modify_entry_overview` via keyword arguments. Note that at
1479
+ # least one keyword argument is required. To specify no parameters, or to keep all
1480
+ # the default parameter values, pass an empty Hash as a request object (see above).
1481
+ #
1482
+ # @param name [::String]
1483
+ # Required. The full resource name of the entry.
1484
+ # @param entry_overview [::Google::Cloud::DataCatalog::V1::EntryOverview, ::Hash]
1485
+ # Required. The new value for the Entry Overview.
1486
+ #
1487
+ # @yield [response, operation] Access the result along with the RPC operation
1488
+ # @yieldparam response [::Google::Cloud::DataCatalog::V1::EntryOverview]
1489
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1490
+ #
1491
+ # @return [::Google::Cloud::DataCatalog::V1::EntryOverview]
1492
+ #
1493
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1494
+ #
1495
+ # @example Basic example
1496
+ # require "google/cloud/data_catalog/v1"
1497
+ #
1498
+ # # Create a client object. The client can be reused for multiple calls.
1499
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1500
+ #
1501
+ # # Create a request. To set request fields, pass in keyword arguments.
1502
+ # request = Google::Cloud::DataCatalog::V1::ModifyEntryOverviewRequest.new
1503
+ #
1504
+ # # Call the modify_entry_overview method.
1505
+ # result = client.modify_entry_overview request
1506
+ #
1507
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::EntryOverview.
1508
+ # p result
1509
+ #
1510
+ def modify_entry_overview request, options = nil
1511
+ raise ::ArgumentError, "request must be provided" if request.nil?
1512
+
1513
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ModifyEntryOverviewRequest
1514
+
1515
+ # Converts hash and nil to an options object
1516
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1517
+
1518
+ # Customize the options with defaults
1519
+ metadata = @config.rpcs.modify_entry_overview.metadata.to_h
1520
+
1521
+ # Set x-goog-api-client and x-goog-user-project headers
1522
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1523
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1524
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1525
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1526
+
1527
+ header_params = {}
1528
+ if request.name
1529
+ header_params["name"] = request.name
1530
+ end
1531
+
1532
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1533
+ metadata[:"x-goog-request-params"] ||= request_params_header
1534
+
1535
+ options.apply_defaults timeout: @config.rpcs.modify_entry_overview.timeout,
1536
+ metadata: metadata,
1537
+ retry_policy: @config.rpcs.modify_entry_overview.retry_policy
1538
+
1539
+ options.apply_defaults timeout: @config.timeout,
1540
+ metadata: @config.metadata,
1541
+ retry_policy: @config.retry_policy
1542
+
1543
+ @data_catalog_stub.call_rpc :modify_entry_overview, request, options: options do |response, operation|
1544
+ yield response, operation if block_given?
1545
+ return response
1546
+ end
1547
+ rescue ::GRPC::BadStatus => e
1548
+ raise ::Google::Cloud::Error.from_error(e)
1549
+ end
1550
+
1551
+ ##
1552
+ # Modifies contacts, part of the business context of an
1553
+ # {::Google::Cloud::DataCatalog::V1::Entry Entry}.
1554
+ #
1555
+ # To call this method, you must have the `datacatalog.entries.updateContacts`
1556
+ # IAM permission on the corresponding project.
1557
+ #
1558
+ # @overload modify_entry_contacts(request, options = nil)
1559
+ # Pass arguments to `modify_entry_contacts` via a request object, either of type
1560
+ # {::Google::Cloud::DataCatalog::V1::ModifyEntryContactsRequest} or an equivalent Hash.
1561
+ #
1562
+ # @param request [::Google::Cloud::DataCatalog::V1::ModifyEntryContactsRequest, ::Hash]
1563
+ # A request object representing the call parameters. Required. To specify no
1564
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1565
+ # @param options [::Gapic::CallOptions, ::Hash]
1566
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1567
+ #
1568
+ # @overload modify_entry_contacts(name: nil, contacts: nil)
1569
+ # Pass arguments to `modify_entry_contacts` via keyword arguments. Note that at
1570
+ # least one keyword argument is required. To specify no parameters, or to keep all
1571
+ # the default parameter values, pass an empty Hash as a request object (see above).
1572
+ #
1573
+ # @param name [::String]
1574
+ # Required. The full resource name of the entry.
1575
+ # @param contacts [::Google::Cloud::DataCatalog::V1::Contacts, ::Hash]
1576
+ # Required. The new value for the Contacts.
1577
+ #
1578
+ # @yield [response, operation] Access the result along with the RPC operation
1579
+ # @yieldparam response [::Google::Cloud::DataCatalog::V1::Contacts]
1580
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1581
+ #
1582
+ # @return [::Google::Cloud::DataCatalog::V1::Contacts]
1583
+ #
1584
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1585
+ #
1586
+ # @example Basic example
1587
+ # require "google/cloud/data_catalog/v1"
1588
+ #
1589
+ # # Create a client object. The client can be reused for multiple calls.
1590
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1591
+ #
1592
+ # # Create a request. To set request fields, pass in keyword arguments.
1593
+ # request = Google::Cloud::DataCatalog::V1::ModifyEntryContactsRequest.new
1594
+ #
1595
+ # # Call the modify_entry_contacts method.
1596
+ # result = client.modify_entry_contacts request
1597
+ #
1598
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Contacts.
1599
+ # p result
1600
+ #
1601
+ def modify_entry_contacts request, options = nil
1602
+ raise ::ArgumentError, "request must be provided" if request.nil?
1603
+
1604
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ModifyEntryContactsRequest
1605
+
1606
+ # Converts hash and nil to an options object
1607
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1608
+
1609
+ # Customize the options with defaults
1610
+ metadata = @config.rpcs.modify_entry_contacts.metadata.to_h
1611
+
1612
+ # Set x-goog-api-client and x-goog-user-project headers
1613
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1614
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1615
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1616
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1617
+
1618
+ header_params = {}
1619
+ if request.name
1620
+ header_params["name"] = request.name
1621
+ end
1622
+
1623
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1624
+ metadata[:"x-goog-request-params"] ||= request_params_header
1625
+
1626
+ options.apply_defaults timeout: @config.rpcs.modify_entry_contacts.timeout,
1627
+ metadata: metadata,
1628
+ retry_policy: @config.rpcs.modify_entry_contacts.retry_policy
1629
+
1630
+ options.apply_defaults timeout: @config.timeout,
1631
+ metadata: @config.metadata,
1632
+ retry_policy: @config.retry_policy
1633
+
1634
+ @data_catalog_stub.call_rpc :modify_entry_contacts, request, options: options do |response, operation|
1635
+ yield response, operation if block_given?
1636
+ return response
1637
+ end
1638
+ rescue ::GRPC::BadStatus => e
1639
+ raise ::Google::Cloud::Error.from_error(e)
1640
+ end
1641
+
1236
1642
  ##
1237
1643
  # Creates a tag template.
1238
1644
  #
@@ -1276,6 +1682,21 @@ module Google
1276
1682
  #
1277
1683
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1278
1684
  #
1685
+ # @example Basic example
1686
+ # require "google/cloud/data_catalog/v1"
1687
+ #
1688
+ # # Create a client object. The client can be reused for multiple calls.
1689
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1690
+ #
1691
+ # # Create a request. To set request fields, pass in keyword arguments.
1692
+ # request = Google::Cloud::DataCatalog::V1::CreateTagTemplateRequest.new
1693
+ #
1694
+ # # Call the create_tag_template method.
1695
+ # result = client.create_tag_template request
1696
+ #
1697
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplate.
1698
+ # p result
1699
+ #
1279
1700
  def create_tag_template request, options = nil
1280
1701
  raise ::ArgumentError, "request must be provided" if request.nil?
1281
1702
 
@@ -1293,9 +1714,11 @@ module Google
1293
1714
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1294
1715
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1295
1716
 
1296
- header_params = {
1297
- "parent" => request.parent
1298
- }
1717
+ header_params = {}
1718
+ if request.parent
1719
+ header_params["parent"] = request.parent
1720
+ end
1721
+
1299
1722
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1300
1723
  metadata[:"x-goog-request-params"] ||= request_params_header
1301
1724
 
@@ -1344,6 +1767,21 @@ module Google
1344
1767
  #
1345
1768
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1346
1769
  #
1770
+ # @example Basic example
1771
+ # require "google/cloud/data_catalog/v1"
1772
+ #
1773
+ # # Create a client object. The client can be reused for multiple calls.
1774
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1775
+ #
1776
+ # # Create a request. To set request fields, pass in keyword arguments.
1777
+ # request = Google::Cloud::DataCatalog::V1::GetTagTemplateRequest.new
1778
+ #
1779
+ # # Call the get_tag_template method.
1780
+ # result = client.get_tag_template request
1781
+ #
1782
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplate.
1783
+ # p result
1784
+ #
1347
1785
  def get_tag_template request, options = nil
1348
1786
  raise ::ArgumentError, "request must be provided" if request.nil?
1349
1787
 
@@ -1361,9 +1799,11 @@ module Google
1361
1799
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1362
1800
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1363
1801
 
1364
- header_params = {
1365
- "name" => request.name
1366
- }
1802
+ header_params = {}
1803
+ if request.name
1804
+ header_params["name"] = request.name
1805
+ end
1806
+
1367
1807
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1368
1808
  metadata[:"x-goog-request-params"] ||= request_params_header
1369
1809
 
@@ -1413,12 +1853,15 @@ module Google
1413
1853
  # Required. The template to update. The `name` field must be set.
1414
1854
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1415
1855
  # Names of fields whose values to overwrite on a tag template. Currently,
1416
- # only `display_name` can be overwritten.
1856
+ # only `display_name` and `is_publicly_readable` can be overwritten.
1417
1857
  #
1418
1858
  # If this parameter is absent or empty, all modifiable fields
1419
1859
  # are overwritten. If such fields are non-required and omitted in the
1420
1860
  # request body, their values are emptied.
1421
1861
  #
1862
+ # Note: Updating the `is_publicly_readable` field may require up to 12
1863
+ # hours to take effect in search results.
1864
+ #
1422
1865
  # @yield [response, operation] Access the result along with the RPC operation
1423
1866
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplate]
1424
1867
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
@@ -1427,6 +1870,21 @@ module Google
1427
1870
  #
1428
1871
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1429
1872
  #
1873
+ # @example Basic example
1874
+ # require "google/cloud/data_catalog/v1"
1875
+ #
1876
+ # # Create a client object. The client can be reused for multiple calls.
1877
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1878
+ #
1879
+ # # Create a request. To set request fields, pass in keyword arguments.
1880
+ # request = Google::Cloud::DataCatalog::V1::UpdateTagTemplateRequest.new
1881
+ #
1882
+ # # Call the update_tag_template method.
1883
+ # result = client.update_tag_template request
1884
+ #
1885
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplate.
1886
+ # p result
1887
+ #
1430
1888
  def update_tag_template request, options = nil
1431
1889
  raise ::ArgumentError, "request must be provided" if request.nil?
1432
1890
 
@@ -1444,9 +1902,11 @@ module Google
1444
1902
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1445
1903
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1446
1904
 
1447
- header_params = {
1448
- "tag_template.name" => request.tag_template.name
1449
- }
1905
+ header_params = {}
1906
+ if request.tag_template&.name
1907
+ header_params["tag_template.name"] = request.tag_template.name
1908
+ end
1909
+
1450
1910
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1451
1911
  metadata[:"x-goog-request-params"] ||= request_params_header
1452
1912
 
@@ -1503,6 +1963,21 @@ module Google
1503
1963
  #
1504
1964
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1505
1965
  #
1966
+ # @example Basic example
1967
+ # require "google/cloud/data_catalog/v1"
1968
+ #
1969
+ # # Create a client object. The client can be reused for multiple calls.
1970
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
1971
+ #
1972
+ # # Create a request. To set request fields, pass in keyword arguments.
1973
+ # request = Google::Cloud::DataCatalog::V1::DeleteTagTemplateRequest.new
1974
+ #
1975
+ # # Call the delete_tag_template method.
1976
+ # result = client.delete_tag_template request
1977
+ #
1978
+ # # The returned object is of type Google::Protobuf::Empty.
1979
+ # p result
1980
+ #
1506
1981
  def delete_tag_template request, options = nil
1507
1982
  raise ::ArgumentError, "request must be provided" if request.nil?
1508
1983
 
@@ -1520,9 +1995,11 @@ module Google
1520
1995
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1521
1996
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1522
1997
 
1523
- header_params = {
1524
- "name" => request.name
1525
- }
1998
+ header_params = {}
1999
+ if request.name
2000
+ header_params["name"] = request.name
2001
+ end
2002
+
1526
2003
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1527
2004
  metadata[:"x-goog-request-params"] ||= request_params_header
1528
2005
 
@@ -1587,6 +2064,21 @@ module Google
1587
2064
  #
1588
2065
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1589
2066
  #
2067
+ # @example Basic example
2068
+ # require "google/cloud/data_catalog/v1"
2069
+ #
2070
+ # # Create a client object. The client can be reused for multiple calls.
2071
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2072
+ #
2073
+ # # Create a request. To set request fields, pass in keyword arguments.
2074
+ # request = Google::Cloud::DataCatalog::V1::CreateTagTemplateFieldRequest.new
2075
+ #
2076
+ # # Call the create_tag_template_field method.
2077
+ # result = client.create_tag_template_field request
2078
+ #
2079
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplateField.
2080
+ # p result
2081
+ #
1590
2082
  def create_tag_template_field request, options = nil
1591
2083
  raise ::ArgumentError, "request must be provided" if request.nil?
1592
2084
 
@@ -1604,9 +2096,11 @@ module Google
1604
2096
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1605
2097
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1606
2098
 
1607
- header_params = {
1608
- "parent" => request.parent
1609
- }
2099
+ header_params = {}
2100
+ if request.parent
2101
+ header_params["parent"] = request.parent
2102
+ end
2103
+
1610
2104
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1611
2105
  metadata[:"x-goog-request-params"] ||= request_params_header
1612
2106
 
@@ -1681,6 +2175,21 @@ module Google
1681
2175
  #
1682
2176
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1683
2177
  #
2178
+ # @example Basic example
2179
+ # require "google/cloud/data_catalog/v1"
2180
+ #
2181
+ # # Create a client object. The client can be reused for multiple calls.
2182
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2183
+ #
2184
+ # # Create a request. To set request fields, pass in keyword arguments.
2185
+ # request = Google::Cloud::DataCatalog::V1::UpdateTagTemplateFieldRequest.new
2186
+ #
2187
+ # # Call the update_tag_template_field method.
2188
+ # result = client.update_tag_template_field request
2189
+ #
2190
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplateField.
2191
+ # p result
2192
+ #
1684
2193
  def update_tag_template_field request, options = nil
1685
2194
  raise ::ArgumentError, "request must be provided" if request.nil?
1686
2195
 
@@ -1698,9 +2207,11 @@ module Google
1698
2207
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1699
2208
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1700
2209
 
1701
- header_params = {
1702
- "name" => request.name
1703
- }
2210
+ header_params = {}
2211
+ if request.name
2212
+ header_params["name"] = request.name
2213
+ end
2214
+
1704
2215
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1705
2216
  metadata[:"x-goog-request-params"] ||= request_params_header
1706
2217
 
@@ -1743,7 +2254,7 @@ module Google
1743
2254
  # the default parameter values, pass an empty Hash as a request object (see above).
1744
2255
  #
1745
2256
  # @param name [::String]
1746
- # Required. The name of the tag template.
2257
+ # Required. The name of the tag template field.
1747
2258
  # @param new_tag_template_field_id [::String]
1748
2259
  # Required. The new ID of this tag template field. For example, `my_new_field`.
1749
2260
  #
@@ -1755,6 +2266,21 @@ module Google
1755
2266
  #
1756
2267
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1757
2268
  #
2269
+ # @example Basic example
2270
+ # require "google/cloud/data_catalog/v1"
2271
+ #
2272
+ # # Create a client object. The client can be reused for multiple calls.
2273
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2274
+ #
2275
+ # # Create a request. To set request fields, pass in keyword arguments.
2276
+ # request = Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldRequest.new
2277
+ #
2278
+ # # Call the rename_tag_template_field method.
2279
+ # result = client.rename_tag_template_field request
2280
+ #
2281
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplateField.
2282
+ # p result
2283
+ #
1758
2284
  def rename_tag_template_field request, options = nil
1759
2285
  raise ::ArgumentError, "request must be provided" if request.nil?
1760
2286
 
@@ -1772,9 +2298,11 @@ module Google
1772
2298
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1773
2299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1774
2300
 
1775
- header_params = {
1776
- "name" => request.name
1777
- }
2301
+ header_params = {}
2302
+ if request.name
2303
+ header_params["name"] = request.name
2304
+ end
2305
+
1778
2306
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1779
2307
  metadata[:"x-goog-request-params"] ||= request_params_header
1780
2308
 
@@ -1827,6 +2355,21 @@ module Google
1827
2355
  #
1828
2356
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1829
2357
  #
2358
+ # @example Basic example
2359
+ # require "google/cloud/data_catalog/v1"
2360
+ #
2361
+ # # Create a client object. The client can be reused for multiple calls.
2362
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2363
+ #
2364
+ # # Create a request. To set request fields, pass in keyword arguments.
2365
+ # request = Google::Cloud::DataCatalog::V1::RenameTagTemplateFieldEnumValueRequest.new
2366
+ #
2367
+ # # Call the rename_tag_template_field_enum_value method.
2368
+ # result = client.rename_tag_template_field_enum_value request
2369
+ #
2370
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::TagTemplateField.
2371
+ # p result
2372
+ #
1830
2373
  def rename_tag_template_field_enum_value request, options = nil
1831
2374
  raise ::ArgumentError, "request must be provided" if request.nil?
1832
2375
 
@@ -1844,9 +2387,11 @@ module Google
1844
2387
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1845
2388
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1846
2389
 
1847
- header_params = {
1848
- "name" => request.name
1849
- }
2390
+ header_params = {}
2391
+ if request.name
2392
+ header_params["name"] = request.name
2393
+ end
2394
+
1850
2395
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1851
2396
  metadata[:"x-goog-request-params"] ||= request_params_header
1852
2397
 
@@ -1904,6 +2449,21 @@ module Google
1904
2449
  #
1905
2450
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1906
2451
  #
2452
+ # @example Basic example
2453
+ # require "google/cloud/data_catalog/v1"
2454
+ #
2455
+ # # Create a client object. The client can be reused for multiple calls.
2456
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2457
+ #
2458
+ # # Create a request. To set request fields, pass in keyword arguments.
2459
+ # request = Google::Cloud::DataCatalog::V1::DeleteTagTemplateFieldRequest.new
2460
+ #
2461
+ # # Call the delete_tag_template_field method.
2462
+ # result = client.delete_tag_template_field request
2463
+ #
2464
+ # # The returned object is of type Google::Protobuf::Empty.
2465
+ # p result
2466
+ #
1907
2467
  def delete_tag_template_field request, options = nil
1908
2468
  raise ::ArgumentError, "request must be provided" if request.nil?
1909
2469
 
@@ -1921,9 +2481,11 @@ module Google
1921
2481
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
1922
2482
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1923
2483
 
1924
- header_params = {
1925
- "name" => request.name
1926
- }
2484
+ header_params = {}
2485
+ if request.name
2486
+ header_params["name"] = request.name
2487
+ end
2488
+
1927
2489
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1928
2490
  metadata[:"x-goog-request-params"] ||= request_params_header
1929
2491
 
@@ -1947,9 +2509,9 @@ module Google
1947
2509
  # Creates a tag and assigns it to:
1948
2510
  #
1949
2511
  # * An {::Google::Cloud::DataCatalog::V1::Entry Entry} if the method name is
1950
- # ``projects.locations.entryGroups.entries.tags.create``.
2512
+ # `projects.locations.entryGroups.entries.tags.create`.
1951
2513
  # * Or {::Google::Cloud::DataCatalog::V1::EntryGroup EntryGroup}if the method
1952
- # name is ``projects.locations.entryGroups.tags.create``.
2514
+ # name is `projects.locations.entryGroups.tags.create`.
1953
2515
  #
1954
2516
  # Note: The project identified by the `parent` parameter for the [tag]
1955
2517
  # (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
@@ -1991,6 +2553,21 @@ module Google
1991
2553
  #
1992
2554
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1993
2555
  #
2556
+ # @example Basic example
2557
+ # require "google/cloud/data_catalog/v1"
2558
+ #
2559
+ # # Create a client object. The client can be reused for multiple calls.
2560
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2561
+ #
2562
+ # # Create a request. To set request fields, pass in keyword arguments.
2563
+ # request = Google::Cloud::DataCatalog::V1::CreateTagRequest.new
2564
+ #
2565
+ # # Call the create_tag method.
2566
+ # result = client.create_tag request
2567
+ #
2568
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Tag.
2569
+ # p result
2570
+ #
1994
2571
  def create_tag request, options = nil
1995
2572
  raise ::ArgumentError, "request must be provided" if request.nil?
1996
2573
 
@@ -2008,9 +2585,11 @@ module Google
2008
2585
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2009
2586
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2010
2587
 
2011
- header_params = {
2012
- "parent" => request.parent
2013
- }
2588
+ header_params = {}
2589
+ if request.parent
2590
+ header_params["parent"] = request.parent
2591
+ end
2592
+
2014
2593
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2015
2594
  metadata[:"x-goog-request-params"] ||= request_params_header
2016
2595
 
@@ -2066,6 +2645,21 @@ module Google
2066
2645
  #
2067
2646
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2068
2647
  #
2648
+ # @example Basic example
2649
+ # require "google/cloud/data_catalog/v1"
2650
+ #
2651
+ # # Create a client object. The client can be reused for multiple calls.
2652
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2653
+ #
2654
+ # # Create a request. To set request fields, pass in keyword arguments.
2655
+ # request = Google::Cloud::DataCatalog::V1::UpdateTagRequest.new
2656
+ #
2657
+ # # Call the update_tag method.
2658
+ # result = client.update_tag request
2659
+ #
2660
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::Tag.
2661
+ # p result
2662
+ #
2069
2663
  def update_tag request, options = nil
2070
2664
  raise ::ArgumentError, "request must be provided" if request.nil?
2071
2665
 
@@ -2083,9 +2677,11 @@ module Google
2083
2677
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2084
2678
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2085
2679
 
2086
- header_params = {
2087
- "tag.name" => request.tag.name
2088
- }
2680
+ header_params = {}
2681
+ if request.tag&.name
2682
+ header_params["tag.name"] = request.tag.name
2683
+ end
2684
+
2089
2685
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2090
2686
  metadata[:"x-goog-request-params"] ||= request_params_header
2091
2687
 
@@ -2134,6 +2730,21 @@ module Google
2134
2730
  #
2135
2731
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2136
2732
  #
2733
+ # @example Basic example
2734
+ # require "google/cloud/data_catalog/v1"
2735
+ #
2736
+ # # Create a client object. The client can be reused for multiple calls.
2737
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2738
+ #
2739
+ # # Create a request. To set request fields, pass in keyword arguments.
2740
+ # request = Google::Cloud::DataCatalog::V1::DeleteTagRequest.new
2741
+ #
2742
+ # # Call the delete_tag method.
2743
+ # result = client.delete_tag request
2744
+ #
2745
+ # # The returned object is of type Google::Protobuf::Empty.
2746
+ # p result
2747
+ #
2137
2748
  def delete_tag request, options = nil
2138
2749
  raise ::ArgumentError, "request must be provided" if request.nil?
2139
2750
 
@@ -2151,9 +2762,11 @@ module Google
2151
2762
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2152
2763
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2153
2764
 
2154
- header_params = {
2155
- "name" => request.name
2156
- }
2765
+ header_params = {}
2766
+ if request.name
2767
+ header_params["name"] = request.name
2768
+ end
2769
+
2157
2770
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2158
2771
  metadata[:"x-goog-request-params"] ||= request_params_header
2159
2772
 
@@ -2175,6 +2788,8 @@ module Google
2175
2788
 
2176
2789
  ##
2177
2790
  # Lists tags assigned to an {::Google::Cloud::DataCatalog::V1::Entry Entry}.
2791
+ # The {::Google::Cloud::DataCatalog::V1::Tag#column columns} in the response are
2792
+ # lowercased.
2178
2793
  #
2179
2794
  # @overload list_tags(request, options = nil)
2180
2795
  # Pass arguments to `list_tags` via a request object, either of type
@@ -2211,6 +2826,27 @@ module Google
2211
2826
  #
2212
2827
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2213
2828
  #
2829
+ # @example Basic example
2830
+ # require "google/cloud/data_catalog/v1"
2831
+ #
2832
+ # # Create a client object. The client can be reused for multiple calls.
2833
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2834
+ #
2835
+ # # Create a request. To set request fields, pass in keyword arguments.
2836
+ # request = Google::Cloud::DataCatalog::V1::ListTagsRequest.new
2837
+ #
2838
+ # # Call the list_tags method.
2839
+ # result = client.list_tags request
2840
+ #
2841
+ # # The returned object is of type Gapic::PagedEnumerable. You can
2842
+ # # iterate over all elements by calling #each, and the enumerable
2843
+ # # will lazily make API calls to fetch subsequent pages. Other
2844
+ # # methods are also available for managing paging directly.
2845
+ # result.each do |response|
2846
+ # # Each element is of type ::Google::Cloud::DataCatalog::V1::Tag.
2847
+ # p response
2848
+ # end
2849
+ #
2214
2850
  def list_tags request, options = nil
2215
2851
  raise ::ArgumentError, "request must be provided" if request.nil?
2216
2852
 
@@ -2228,9 +2864,11 @@ module Google
2228
2864
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2229
2865
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2230
2866
 
2231
- header_params = {
2232
- "parent" => request.parent
2233
- }
2867
+ header_params = {}
2868
+ if request.parent
2869
+ header_params["parent"] = request.parent
2870
+ end
2871
+
2234
2872
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2235
2873
  metadata[:"x-goog-request-params"] ||= request_params_header
2236
2874
 
@@ -2251,6 +2889,178 @@ module Google
2251
2889
  raise ::Google::Cloud::Error.from_error(e)
2252
2890
  end
2253
2891
 
2892
+ ##
2893
+ # Marks an {::Google::Cloud::DataCatalog::V1::Entry Entry} as starred by
2894
+ # the current user. Starring information is private to each user.
2895
+ #
2896
+ # @overload star_entry(request, options = nil)
2897
+ # Pass arguments to `star_entry` via a request object, either of type
2898
+ # {::Google::Cloud::DataCatalog::V1::StarEntryRequest} or an equivalent Hash.
2899
+ #
2900
+ # @param request [::Google::Cloud::DataCatalog::V1::StarEntryRequest, ::Hash]
2901
+ # A request object representing the call parameters. Required. To specify no
2902
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2903
+ # @param options [::Gapic::CallOptions, ::Hash]
2904
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2905
+ #
2906
+ # @overload star_entry(name: nil)
2907
+ # Pass arguments to `star_entry` via keyword arguments. Note that at
2908
+ # least one keyword argument is required. To specify no parameters, or to keep all
2909
+ # the default parameter values, pass an empty Hash as a request object (see above).
2910
+ #
2911
+ # @param name [::String]
2912
+ # Required. The name of the entry to mark as starred.
2913
+ #
2914
+ # @yield [response, operation] Access the result along with the RPC operation
2915
+ # @yieldparam response [::Google::Cloud::DataCatalog::V1::StarEntryResponse]
2916
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2917
+ #
2918
+ # @return [::Google::Cloud::DataCatalog::V1::StarEntryResponse]
2919
+ #
2920
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2921
+ #
2922
+ # @example Basic example
2923
+ # require "google/cloud/data_catalog/v1"
2924
+ #
2925
+ # # Create a client object. The client can be reused for multiple calls.
2926
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2927
+ #
2928
+ # # Create a request. To set request fields, pass in keyword arguments.
2929
+ # request = Google::Cloud::DataCatalog::V1::StarEntryRequest.new
2930
+ #
2931
+ # # Call the star_entry method.
2932
+ # result = client.star_entry request
2933
+ #
2934
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::StarEntryResponse.
2935
+ # p result
2936
+ #
2937
+ def star_entry request, options = nil
2938
+ raise ::ArgumentError, "request must be provided" if request.nil?
2939
+
2940
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::StarEntryRequest
2941
+
2942
+ # Converts hash and nil to an options object
2943
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2944
+
2945
+ # Customize the options with defaults
2946
+ metadata = @config.rpcs.star_entry.metadata.to_h
2947
+
2948
+ # Set x-goog-api-client and x-goog-user-project headers
2949
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2950
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2951
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2952
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2953
+
2954
+ header_params = {}
2955
+ if request.name
2956
+ header_params["name"] = request.name
2957
+ end
2958
+
2959
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2960
+ metadata[:"x-goog-request-params"] ||= request_params_header
2961
+
2962
+ options.apply_defaults timeout: @config.rpcs.star_entry.timeout,
2963
+ metadata: metadata,
2964
+ retry_policy: @config.rpcs.star_entry.retry_policy
2965
+
2966
+ options.apply_defaults timeout: @config.timeout,
2967
+ metadata: @config.metadata,
2968
+ retry_policy: @config.retry_policy
2969
+
2970
+ @data_catalog_stub.call_rpc :star_entry, request, options: options do |response, operation|
2971
+ yield response, operation if block_given?
2972
+ return response
2973
+ end
2974
+ rescue ::GRPC::BadStatus => e
2975
+ raise ::Google::Cloud::Error.from_error(e)
2976
+ end
2977
+
2978
+ ##
2979
+ # Marks an {::Google::Cloud::DataCatalog::V1::Entry Entry} as NOT starred by
2980
+ # the current user. Starring information is private to each user.
2981
+ #
2982
+ # @overload unstar_entry(request, options = nil)
2983
+ # Pass arguments to `unstar_entry` via a request object, either of type
2984
+ # {::Google::Cloud::DataCatalog::V1::UnstarEntryRequest} or an equivalent Hash.
2985
+ #
2986
+ # @param request [::Google::Cloud::DataCatalog::V1::UnstarEntryRequest, ::Hash]
2987
+ # A request object representing the call parameters. Required. To specify no
2988
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2989
+ # @param options [::Gapic::CallOptions, ::Hash]
2990
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2991
+ #
2992
+ # @overload unstar_entry(name: nil)
2993
+ # Pass arguments to `unstar_entry` via keyword arguments. Note that at
2994
+ # least one keyword argument is required. To specify no parameters, or to keep all
2995
+ # the default parameter values, pass an empty Hash as a request object (see above).
2996
+ #
2997
+ # @param name [::String]
2998
+ # Required. The name of the entry to mark as **not** starred.
2999
+ #
3000
+ # @yield [response, operation] Access the result along with the RPC operation
3001
+ # @yieldparam response [::Google::Cloud::DataCatalog::V1::UnstarEntryResponse]
3002
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3003
+ #
3004
+ # @return [::Google::Cloud::DataCatalog::V1::UnstarEntryResponse]
3005
+ #
3006
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3007
+ #
3008
+ # @example Basic example
3009
+ # require "google/cloud/data_catalog/v1"
3010
+ #
3011
+ # # Create a client object. The client can be reused for multiple calls.
3012
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
3013
+ #
3014
+ # # Create a request. To set request fields, pass in keyword arguments.
3015
+ # request = Google::Cloud::DataCatalog::V1::UnstarEntryRequest.new
3016
+ #
3017
+ # # Call the unstar_entry method.
3018
+ # result = client.unstar_entry request
3019
+ #
3020
+ # # The returned object is of type Google::Cloud::DataCatalog::V1::UnstarEntryResponse.
3021
+ # p result
3022
+ #
3023
+ def unstar_entry request, options = nil
3024
+ raise ::ArgumentError, "request must be provided" if request.nil?
3025
+
3026
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::UnstarEntryRequest
3027
+
3028
+ # Converts hash and nil to an options object
3029
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3030
+
3031
+ # Customize the options with defaults
3032
+ metadata = @config.rpcs.unstar_entry.metadata.to_h
3033
+
3034
+ # Set x-goog-api-client and x-goog-user-project headers
3035
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3036
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3037
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
3038
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3039
+
3040
+ header_params = {}
3041
+ if request.name
3042
+ header_params["name"] = request.name
3043
+ end
3044
+
3045
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3046
+ metadata[:"x-goog-request-params"] ||= request_params_header
3047
+
3048
+ options.apply_defaults timeout: @config.rpcs.unstar_entry.timeout,
3049
+ metadata: metadata,
3050
+ retry_policy: @config.rpcs.unstar_entry.retry_policy
3051
+
3052
+ options.apply_defaults timeout: @config.timeout,
3053
+ metadata: @config.metadata,
3054
+ retry_policy: @config.retry_policy
3055
+
3056
+ @data_catalog_stub.call_rpc :unstar_entry, request, options: options do |response, operation|
3057
+ yield response, operation if block_given?
3058
+ return response
3059
+ end
3060
+ rescue ::GRPC::BadStatus => e
3061
+ raise ::Google::Cloud::Error.from_error(e)
3062
+ end
3063
+
2254
3064
  ##
2255
3065
  # Sets an access control policy for a resource. Replaces any existing
2256
3066
  # policy.
@@ -2302,6 +3112,21 @@ module Google
2302
3112
  #
2303
3113
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2304
3114
  #
3115
+ # @example Basic example
3116
+ # require "google/cloud/data_catalog/v1"
3117
+ #
3118
+ # # Create a client object. The client can be reused for multiple calls.
3119
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
3120
+ #
3121
+ # # Create a request. To set request fields, pass in keyword arguments.
3122
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
3123
+ #
3124
+ # # Call the set_iam_policy method.
3125
+ # result = client.set_iam_policy request
3126
+ #
3127
+ # # The returned object is of type Google::Iam::V1::Policy.
3128
+ # p result
3129
+ #
2305
3130
  def set_iam_policy request, options = nil
2306
3131
  raise ::ArgumentError, "request must be provided" if request.nil?
2307
3132
 
@@ -2319,9 +3144,11 @@ module Google
2319
3144
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2320
3145
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2321
3146
 
2322
- header_params = {
2323
- "resource" => request.resource
2324
- }
3147
+ header_params = {}
3148
+ if request.resource
3149
+ header_params["resource"] = request.resource
3150
+ end
3151
+
2325
3152
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2326
3153
  metadata[:"x-goog-request-params"] ||= request_params_header
2327
3154
 
@@ -2394,6 +3221,21 @@ module Google
2394
3221
  #
2395
3222
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2396
3223
  #
3224
+ # @example Basic example
3225
+ # require "google/cloud/data_catalog/v1"
3226
+ #
3227
+ # # Create a client object. The client can be reused for multiple calls.
3228
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
3229
+ #
3230
+ # # Create a request. To set request fields, pass in keyword arguments.
3231
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
3232
+ #
3233
+ # # Call the get_iam_policy method.
3234
+ # result = client.get_iam_policy request
3235
+ #
3236
+ # # The returned object is of type Google::Iam::V1::Policy.
3237
+ # p result
3238
+ #
2397
3239
  def get_iam_policy request, options = nil
2398
3240
  raise ::ArgumentError, "request must be provided" if request.nil?
2399
3241
 
@@ -2411,9 +3253,11 @@ module Google
2411
3253
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2412
3254
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2413
3255
 
2414
- header_params = {
2415
- "resource" => request.resource
2416
- }
3256
+ header_params = {}
3257
+ if request.resource
3258
+ header_params["resource"] = request.resource
3259
+ end
3260
+
2417
3261
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2418
3262
  metadata[:"x-goog-request-params"] ||= request_params_header
2419
3263
 
@@ -2481,6 +3325,21 @@ module Google
2481
3325
  #
2482
3326
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2483
3327
  #
3328
+ # @example Basic example
3329
+ # require "google/cloud/data_catalog/v1"
3330
+ #
3331
+ # # Create a client object. The client can be reused for multiple calls.
3332
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
3333
+ #
3334
+ # # Create a request. To set request fields, pass in keyword arguments.
3335
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
3336
+ #
3337
+ # # Call the test_iam_permissions method.
3338
+ # result = client.test_iam_permissions request
3339
+ #
3340
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
3341
+ # p result
3342
+ #
2484
3343
  def test_iam_permissions request, options = nil
2485
3344
  raise ::ArgumentError, "request must be provided" if request.nil?
2486
3345
 
@@ -2498,9 +3357,11 @@ module Google
2498
3357
  gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
2499
3358
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2500
3359
 
2501
- header_params = {
2502
- "resource" => request.resource
2503
- }
3360
+ header_params = {}
3361
+ if request.resource
3362
+ header_params["resource"] = request.resource
3363
+ end
3364
+
2504
3365
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2505
3366
  metadata[:"x-goog-request-params"] ||= request_params_header
2506
3367
 
@@ -2716,6 +3577,16 @@ module Google
2716
3577
  #
2717
3578
  attr_reader :list_entries
2718
3579
  ##
3580
+ # RPC-specific configuration for `modify_entry_overview`
3581
+ # @return [::Gapic::Config::Method]
3582
+ #
3583
+ attr_reader :modify_entry_overview
3584
+ ##
3585
+ # RPC-specific configuration for `modify_entry_contacts`
3586
+ # @return [::Gapic::Config::Method]
3587
+ #
3588
+ attr_reader :modify_entry_contacts
3589
+ ##
2719
3590
  # RPC-specific configuration for `create_tag_template`
2720
3591
  # @return [::Gapic::Config::Method]
2721
3592
  #
@@ -2781,6 +3652,16 @@ module Google
2781
3652
  #
2782
3653
  attr_reader :list_tags
2783
3654
  ##
3655
+ # RPC-specific configuration for `star_entry`
3656
+ # @return [::Gapic::Config::Method]
3657
+ #
3658
+ attr_reader :star_entry
3659
+ ##
3660
+ # RPC-specific configuration for `unstar_entry`
3661
+ # @return [::Gapic::Config::Method]
3662
+ #
3663
+ attr_reader :unstar_entry
3664
+ ##
2784
3665
  # RPC-specific configuration for `set_iam_policy`
2785
3666
  # @return [::Gapic::Config::Method]
2786
3667
  #
@@ -2822,6 +3703,10 @@ module Google
2822
3703
  @lookup_entry = ::Gapic::Config::Method.new lookup_entry_config
2823
3704
  list_entries_config = parent_rpcs.list_entries if parent_rpcs.respond_to? :list_entries
2824
3705
  @list_entries = ::Gapic::Config::Method.new list_entries_config
3706
+ modify_entry_overview_config = parent_rpcs.modify_entry_overview if parent_rpcs.respond_to? :modify_entry_overview
3707
+ @modify_entry_overview = ::Gapic::Config::Method.new modify_entry_overview_config
3708
+ modify_entry_contacts_config = parent_rpcs.modify_entry_contacts if parent_rpcs.respond_to? :modify_entry_contacts
3709
+ @modify_entry_contacts = ::Gapic::Config::Method.new modify_entry_contacts_config
2825
3710
  create_tag_template_config = parent_rpcs.create_tag_template if parent_rpcs.respond_to? :create_tag_template
2826
3711
  @create_tag_template = ::Gapic::Config::Method.new create_tag_template_config
2827
3712
  get_tag_template_config = parent_rpcs.get_tag_template if parent_rpcs.respond_to? :get_tag_template
@@ -2848,6 +3733,10 @@ module Google
2848
3733
  @delete_tag = ::Gapic::Config::Method.new delete_tag_config
2849
3734
  list_tags_config = parent_rpcs.list_tags if parent_rpcs.respond_to? :list_tags
2850
3735
  @list_tags = ::Gapic::Config::Method.new list_tags_config
3736
+ star_entry_config = parent_rpcs.star_entry if parent_rpcs.respond_to? :star_entry
3737
+ @star_entry = ::Gapic::Config::Method.new star_entry_config
3738
+ unstar_entry_config = parent_rpcs.unstar_entry if parent_rpcs.respond_to? :unstar_entry
3739
+ @unstar_entry = ::Gapic::Config::Method.new unstar_entry_config
2851
3740
  set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
2852
3741
  @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
2853
3742
  get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy