google-cloud-data_catalog-v1 0.7.2 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/README.md +1 -1
  4. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +424 -387
  5. data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
  6. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +123 -95
  7. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +1 -1
  8. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +142 -56
  9. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +4 -3
  10. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  11. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +48 -0
  12. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +44 -0
  13. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +180 -143
  14. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +16 -15
  15. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +5 -0
  16. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +29 -15
  17. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +3 -0
  18. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +31 -0
  19. data/proto_docs/google/api/field_behavior.rb +7 -1
  20. data/proto_docs/google/cloud/datacatalog/v1/bigquery.rb +87 -0
  21. data/proto_docs/google/cloud/datacatalog/v1/common.rb +1 -2
  22. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +6 -5
  23. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +370 -246
  24. data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +16 -15
  25. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +87 -71
  26. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +34 -19
  27. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +3 -3
  28. data/proto_docs/google/cloud/datacatalog/v1/search.rb +43 -29
  29. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +23 -16
  30. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +96 -51
  31. data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +12 -5
  32. data/proto_docs/google/cloud/datacatalog/v1/usage.rb +79 -0
  33. data/proto_docs/google/type/expr.rb +35 -12
  34. metadata +8 -4
@@ -31,8 +31,8 @@ module Google
31
31
  module DataCatalog
32
32
  module V1
33
33
  ##
34
- # Data Catalog API service allows clients to discover, understand, and manage
35
- # their data.
34
+ # Data Catalog API service allows you to discover, understand, and manage
35
+ # your data.
36
36
  #
37
37
  # To load this service and instantiate a client:
38
38
  #
@@ -27,7 +27,7 @@ module Google
27
27
  ##
28
28
  # Client for the PolicyTagManager service.
29
29
  #
30
- # Policy Tag Manager API service allows clients to manage their policy tags and
30
+ # Policy Tag Manager API service allows you to manage your policy tags and
31
31
  # taxonomies.
32
32
  #
33
33
  # Policy tags are used to tag BigQuery columns and apply additional access
@@ -46,13 +46,12 @@ module Google
46
46
  # See {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client::Configuration}
47
47
  # for a description of the configuration fields.
48
48
  #
49
- # ## Example
49
+ # @example
50
50
  #
51
- # To modify the configuration for all PolicyTagManager clients:
52
- #
53
- # ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.configure do |config|
54
- # config.timeout = 10.0
55
- # end
51
+ # # Modify the configuration for all PolicyTagManager clients
52
+ # ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.configure do |config|
53
+ # config.timeout = 10.0
54
+ # end
56
55
  #
57
56
  # @yield [config] Configure the Client client.
58
57
  # @yieldparam config [Client::Configuration]
@@ -101,19 +100,15 @@ module Google
101
100
  ##
102
101
  # Create a new PolicyTagManager client object.
103
102
  #
104
- # ## Examples
105
- #
106
- # To create a new PolicyTagManager client with the default
107
- # configuration:
103
+ # @example
108
104
  #
109
- # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new
105
+ # # Create a client using the default configuration
106
+ # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new
110
107
  #
111
- # To create a new PolicyTagManager client with a custom
112
- # configuration:
113
- #
114
- # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new do |config|
115
- # config.timeout = 10.0
116
- # end
108
+ # # Create a client using a custom configuration
109
+ # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new do |config|
110
+ # config.timeout = 10.0
111
+ # end
117
112
  #
118
113
  # @yield [config] Configure the PolicyTagManager client.
119
114
  # @yieldparam config [Client::Configuration]
@@ -133,14 +128,13 @@ module Google
133
128
 
134
129
  # Create credentials
135
130
  credentials = @config.credentials
136
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
131
+ # Use self-signed JWT if the endpoint is unchanged from default,
137
132
  # but only if the default endpoint does not have a region prefix.
138
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
139
- @config.endpoint == Client.configure.endpoint &&
133
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
140
134
  !@config.endpoint.split(".").first.include?("-")
141
135
  credentials ||= Credentials.default scope: @config.scope,
142
136
  enable_self_signed_jwt: enable_self_signed_jwt
143
- if credentials.is_a?(String) || credentials.is_a?(Hash)
137
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
144
138
  credentials = Credentials.new credentials, scope: @config.scope
145
139
  end
146
140
  @quota_project_id = @config.quota_project
@@ -158,8 +152,9 @@ module Google
158
152
  # Service calls
159
153
 
160
154
  ##
161
- # Creates a taxonomy in a specified project. The taxonomy is initially empty,
162
- # i.e., does not contain policy tags.
155
+ # Creates a taxonomy in a specified project.
156
+ #
157
+ # The taxonomy is initially empty, that is, it doesn't contain policy tags.
163
158
  #
164
159
  # @overload create_taxonomy(request, options = nil)
165
160
  # Pass arguments to `create_taxonomy` via a request object, either of type
@@ -179,7 +174,7 @@ module Google
179
174
  # @param parent [::String]
180
175
  # Required. Resource name of the project that the taxonomy will belong to.
181
176
  # @param taxonomy [::Google::Cloud::DataCatalog::V1::Taxonomy, ::Hash]
182
- # The taxonomy to be created.
177
+ # The taxonomy to create.
183
178
  #
184
179
  # @yield [response, operation] Access the result along with the RPC operation
185
180
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -215,7 +210,9 @@ module Google
215
210
  options.apply_defaults timeout: @config.rpcs.create_taxonomy.timeout,
216
211
  metadata: metadata,
217
212
  retry_policy: @config.rpcs.create_taxonomy.retry_policy
218
- options.apply_defaults metadata: @config.metadata,
213
+
214
+ options.apply_defaults timeout: @config.timeout,
215
+ metadata: @config.metadata,
219
216
  retry_policy: @config.retry_policy
220
217
 
221
218
  @policy_tag_manager_stub.call_rpc :create_taxonomy, request, options: options do |response, operation|
@@ -227,7 +224,7 @@ module Google
227
224
  end
228
225
 
229
226
  ##
230
- # Deletes a taxonomy. This method will also delete all policy tags in this
227
+ # Deletes a taxonomy, including all policy tags in this
231
228
  # taxonomy, their associated policies, and the policy tags references from
232
229
  # BigQuery columns.
233
230
  #
@@ -247,8 +244,9 @@ module Google
247
244
  # the default parameter values, pass an empty Hash as a request object (see above).
248
245
  #
249
246
  # @param name [::String]
250
- # Required. Resource name of the taxonomy to be deleted. All policy tags in
251
- # this taxonomy will also be deleted.
247
+ # Required. Resource name of the taxonomy to delete.
248
+ #
249
+ # Note: All policy tags in this taxonomy are also deleted.
252
250
  #
253
251
  # @yield [response, operation] Access the result along with the RPC operation
254
252
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -284,7 +282,9 @@ module Google
284
282
  options.apply_defaults timeout: @config.rpcs.delete_taxonomy.timeout,
285
283
  metadata: metadata,
286
284
  retry_policy: @config.rpcs.delete_taxonomy.retry_policy
287
- options.apply_defaults metadata: @config.metadata,
285
+
286
+ options.apply_defaults timeout: @config.timeout,
287
+ metadata: @config.metadata,
288
288
  retry_policy: @config.retry_policy
289
289
 
290
290
  @policy_tag_manager_stub.call_rpc :delete_taxonomy, request, options: options do |response, operation|
@@ -296,7 +296,7 @@ module Google
296
296
  end
297
297
 
298
298
  ##
299
- # Updates a taxonomy. This method can update the taxonomy's display name,
299
+ # Updates a taxonomy, including its display name,
300
300
  # description, and activated policy types.
301
301
  #
302
302
  # @overload update_taxonomy(request, options = nil)
@@ -315,13 +315,14 @@ module Google
315
315
  # the default parameter values, pass an empty Hash as a request object (see above).
316
316
  #
317
317
  # @param taxonomy [::Google::Cloud::DataCatalog::V1::Taxonomy, ::Hash]
318
- # The taxonomy to update. Only description, display_name, and activated
319
- # policy types can be updated.
318
+ # The taxonomy to update. You can update only its description, display name,
319
+ # and activated policy types.
320
320
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
321
- # The update mask applies to the resource. For the `FieldMask` definition,
322
- # see
323
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
324
- # If not set, defaults to all of the fields that are allowed to update.
321
+ # Specifies fields to update. If not set, defaults to all fields you can
322
+ # update.
323
+ #
324
+ # For more information, see [FieldMask]
325
+ # (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
325
326
  #
326
327
  # @yield [response, operation] Access the result along with the RPC operation
327
328
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -357,7 +358,9 @@ module Google
357
358
  options.apply_defaults timeout: @config.rpcs.update_taxonomy.timeout,
358
359
  metadata: metadata,
359
360
  retry_policy: @config.rpcs.update_taxonomy.retry_policy
360
- options.apply_defaults metadata: @config.metadata,
361
+
362
+ options.apply_defaults timeout: @config.timeout,
363
+ metadata: @config.metadata,
361
364
  retry_policy: @config.retry_policy
362
365
 
363
366
  @policy_tag_manager_stub.call_rpc :update_taxonomy, request, options: options do |response, operation|
@@ -369,8 +372,8 @@ module Google
369
372
  end
370
373
 
371
374
  ##
372
- # Lists all taxonomies in a project in a particular location that the caller
373
- # has permission to view.
375
+ # Lists all taxonomies in a project in a particular location that you
376
+ # have a permission to view.
374
377
  #
375
378
  # @overload list_taxonomies(request, options = nil)
376
379
  # Pass arguments to `list_taxonomies` via a request object, either of type
@@ -390,11 +393,13 @@ module Google
390
393
  # @param parent [::String]
391
394
  # Required. Resource name of the project to list the taxonomies of.
392
395
  # @param page_size [::Integer]
393
- # The maximum number of items to return. Must be a value between 1 and 1000.
394
- # If not set, defaults to 50.
396
+ # The maximum number of items to return. Must be a value between 1 and 1000
397
+ # inclusively. If not set, defaults to 50.
395
398
  # @param page_token [::String]
396
- # The next_page_token value returned from a previous list request, if any. If
397
- # not set, defaults to an empty string.
399
+ # The pagination token of the next results page. If not set,
400
+ # the first page is returned.
401
+ #
402
+ # The token is returned in the response to a previous list request.
398
403
  #
399
404
  # @yield [response, operation] Access the result along with the RPC operation
400
405
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
@@ -430,7 +435,9 @@ module Google
430
435
  options.apply_defaults timeout: @config.rpcs.list_taxonomies.timeout,
431
436
  metadata: metadata,
432
437
  retry_policy: @config.rpcs.list_taxonomies.retry_policy
433
- options.apply_defaults metadata: @config.metadata,
438
+
439
+ options.apply_defaults timeout: @config.timeout,
440
+ metadata: @config.metadata,
434
441
  retry_policy: @config.retry_policy
435
442
 
436
443
  @policy_tag_manager_stub.call_rpc :list_taxonomies, request, options: options do |response, operation|
@@ -461,7 +468,7 @@ module Google
461
468
  # the default parameter values, pass an empty Hash as a request object (see above).
462
469
  #
463
470
  # @param name [::String]
464
- # Required. Resource name of the requested taxonomy.
471
+ # Required. Resource name of the taxonomy to get.
465
472
  #
466
473
  # @yield [response, operation] Access the result along with the RPC operation
467
474
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -497,7 +504,9 @@ module Google
497
504
  options.apply_defaults timeout: @config.rpcs.get_taxonomy.timeout,
498
505
  metadata: metadata,
499
506
  retry_policy: @config.rpcs.get_taxonomy.retry_policy
500
- options.apply_defaults metadata: @config.metadata,
507
+
508
+ options.apply_defaults timeout: @config.timeout,
509
+ metadata: @config.metadata,
501
510
  retry_policy: @config.retry_policy
502
511
 
503
512
  @policy_tag_manager_stub.call_rpc :get_taxonomy, request, options: options do |response, operation|
@@ -527,9 +536,10 @@ module Google
527
536
  # the default parameter values, pass an empty Hash as a request object (see above).
528
537
  #
529
538
  # @param parent [::String]
530
- # Required. Resource name of the taxonomy that the policy tag will belong to.
539
+ # Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
540
+ # />
531
541
  # @param policy_tag [::Google::Cloud::DataCatalog::V1::PolicyTag, ::Hash]
532
- # The policy tag to be created.
542
+ # The policy tag to create.
533
543
  #
534
544
  # @yield [response, operation] Access the result along with the RPC operation
535
545
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -565,7 +575,9 @@ module Google
565
575
  options.apply_defaults timeout: @config.rpcs.create_policy_tag.timeout,
566
576
  metadata: metadata,
567
577
  retry_policy: @config.rpcs.create_policy_tag.retry_policy
568
- options.apply_defaults metadata: @config.metadata,
578
+
579
+ options.apply_defaults timeout: @config.timeout,
580
+ metadata: @config.metadata,
569
581
  retry_policy: @config.retry_policy
570
582
 
571
583
  @policy_tag_manager_stub.call_rpc :create_policy_tag, request, options: options do |response, operation|
@@ -577,12 +589,12 @@ module Google
577
589
  end
578
590
 
579
591
  ##
580
- # Deletes a policy tag. This method also deletes:
592
+ # Deletes a policy tag together with the following:
581
593
  #
582
- # * all of its descendant policy tags, if any
583
- # * the policies associated with the policy tag and its descendants
584
- # * references from BigQuery table schema of the policy tag and its
585
- # descendants.
594
+ # * All of its descendant policy tags, if any
595
+ # * Policies associated with the policy tag and its descendants
596
+ # * References from BigQuery table schema of the policy tag and its
597
+ # descendants
586
598
  #
587
599
  # @overload delete_policy_tag(request, options = nil)
588
600
  # Pass arguments to `delete_policy_tag` via a request object, either of type
@@ -600,8 +612,9 @@ module Google
600
612
  # the default parameter values, pass an empty Hash as a request object (see above).
601
613
  #
602
614
  # @param name [::String]
603
- # Required. Resource name of the policy tag to be deleted. All of its descendant
604
- # policy tags will also be deleted.
615
+ # Required. Resource name of the policy tag to delete.
616
+ #
617
+ # Note: All of its descendant policy tags are also deleted.
605
618
  #
606
619
  # @yield [response, operation] Access the result along with the RPC operation
607
620
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -637,7 +650,9 @@ module Google
637
650
  options.apply_defaults timeout: @config.rpcs.delete_policy_tag.timeout,
638
651
  metadata: metadata,
639
652
  retry_policy: @config.rpcs.delete_policy_tag.retry_policy
640
- options.apply_defaults metadata: @config.metadata,
653
+
654
+ options.apply_defaults timeout: @config.timeout,
655
+ metadata: @config.metadata,
641
656
  retry_policy: @config.retry_policy
642
657
 
643
658
  @policy_tag_manager_stub.call_rpc :delete_policy_tag, request, options: options do |response, operation|
@@ -649,7 +664,7 @@ module Google
649
664
  end
650
665
 
651
666
  ##
652
- # Updates a policy tag. This method can update the policy tag's display
667
+ # Updates a policy tag, including its display
653
668
  # name, description, and parent policy tag.
654
669
  #
655
670
  # @overload update_policy_tag(request, options = nil)
@@ -668,16 +683,15 @@ module Google
668
683
  # the default parameter values, pass an empty Hash as a request object (see above).
669
684
  #
670
685
  # @param policy_tag [::Google::Cloud::DataCatalog::V1::PolicyTag, ::Hash]
671
- # The policy tag to update. Only the description, display_name, and
672
- # parent_policy_tag fields can be updated.
686
+ # The policy tag to update. You can update only its description, display
687
+ # name, and parent policy tag fields.
673
688
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
674
- # The update mask applies to the resource. Only display_name, description and
675
- # parent_policy_tag can be updated and thus can be listed in the mask. If
676
- # update_mask is not provided, all allowed fields (i.e. display_name,
677
- # description and parent) will be updated. For more information including the
678
- # `FieldMask` definition, see
679
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
680
- # If not set, defaults to all of the fields that are allowed to update.
689
+ # Specifies the fields to update.
690
+ #
691
+ # You can update only display name, description, and parent policy tag.
692
+ # If not set, defaults to all updatable fields.
693
+ # For more information, see [FieldMask]
694
+ # (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
681
695
  #
682
696
  # @yield [response, operation] Access the result along with the RPC operation
683
697
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -713,7 +727,9 @@ module Google
713
727
  options.apply_defaults timeout: @config.rpcs.update_policy_tag.timeout,
714
728
  metadata: metadata,
715
729
  retry_policy: @config.rpcs.update_policy_tag.retry_policy
716
- options.apply_defaults metadata: @config.metadata,
730
+
731
+ options.apply_defaults timeout: @config.timeout,
732
+ metadata: @config.metadata,
717
733
  retry_policy: @config.retry_policy
718
734
 
719
735
  @policy_tag_manager_stub.call_rpc :update_policy_tag, request, options: options do |response, operation|
@@ -745,11 +761,14 @@ module Google
745
761
  # @param parent [::String]
746
762
  # Required. Resource name of the taxonomy to list the policy tags of.
747
763
  # @param page_size [::Integer]
748
- # The maximum number of items to return. Must be a value between 1 and 1000.
764
+ # The maximum number of items to return. Must be a value between 1 and 1000
765
+ # inclusively.
749
766
  # If not set, defaults to 50.
750
767
  # @param page_token [::String]
751
- # The next_page_token value returned from a previous List request, if any. If
752
- # not set, defaults to an empty string.
768
+ # The pagination token of the next results page. If not set, returns the
769
+ # first page.
770
+ #
771
+ # The token is returned in the response to a previous list request.
753
772
  #
754
773
  # @yield [response, operation] Access the result along with the RPC operation
755
774
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::PolicyTag>]
@@ -785,7 +804,9 @@ module Google
785
804
  options.apply_defaults timeout: @config.rpcs.list_policy_tags.timeout,
786
805
  metadata: metadata,
787
806
  retry_policy: @config.rpcs.list_policy_tags.retry_policy
788
- options.apply_defaults metadata: @config.metadata,
807
+
808
+ options.apply_defaults timeout: @config.timeout,
809
+ metadata: @config.metadata,
789
810
  retry_policy: @config.retry_policy
790
811
 
791
812
  @policy_tag_manager_stub.call_rpc :list_policy_tags, request, options: options do |response, operation|
@@ -816,7 +837,7 @@ module Google
816
837
  # the default parameter values, pass an empty Hash as a request object (see above).
817
838
  #
818
839
  # @param name [::String]
819
- # Required. Resource name of the requested policy tag.
840
+ # Required. Resource name of the policy tag.
820
841
  #
821
842
  # @yield [response, operation] Access the result along with the RPC operation
822
843
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -852,7 +873,9 @@ module Google
852
873
  options.apply_defaults timeout: @config.rpcs.get_policy_tag.timeout,
853
874
  metadata: metadata,
854
875
  retry_policy: @config.rpcs.get_policy_tag.retry_policy
855
- options.apply_defaults metadata: @config.metadata,
876
+
877
+ options.apply_defaults timeout: @config.timeout,
878
+ metadata: @config.metadata,
856
879
  retry_policy: @config.retry_policy
857
880
 
858
881
  @policy_tag_manager_stub.call_rpc :get_policy_tag, request, options: options do |response, operation|
@@ -922,7 +945,9 @@ module Google
922
945
  options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
923
946
  metadata: metadata,
924
947
  retry_policy: @config.rpcs.get_iam_policy.retry_policy
925
- options.apply_defaults metadata: @config.metadata,
948
+
949
+ options.apply_defaults timeout: @config.timeout,
950
+ metadata: @config.metadata,
926
951
  retry_policy: @config.retry_policy
927
952
 
928
953
  @policy_tag_manager_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
@@ -994,7 +1019,9 @@ module Google
994
1019
  options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
995
1020
  metadata: metadata,
996
1021
  retry_policy: @config.rpcs.set_iam_policy.retry_policy
997
- options.apply_defaults metadata: @config.metadata,
1022
+
1023
+ options.apply_defaults timeout: @config.timeout,
1024
+ metadata: @config.metadata,
998
1025
  retry_policy: @config.retry_policy
999
1026
 
1000
1027
  @policy_tag_manager_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
@@ -1006,7 +1033,7 @@ module Google
1006
1033
  end
1007
1034
 
1008
1035
  ##
1009
- # Returns the permissions that a caller has on a specified policy tag or
1036
+ # Returns your permissions on a specified policy tag or
1010
1037
  # taxonomy.
1011
1038
  #
1012
1039
  # @overload test_iam_permissions(request, options = nil)
@@ -1067,7 +1094,9 @@ module Google
1067
1094
  options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
1068
1095
  metadata: metadata,
1069
1096
  retry_policy: @config.rpcs.test_iam_permissions.retry_policy
1070
- options.apply_defaults metadata: @config.metadata,
1097
+
1098
+ options.apply_defaults timeout: @config.timeout,
1099
+ metadata: @config.metadata,
1071
1100
  retry_policy: @config.retry_policy
1072
1101
 
1073
1102
  @policy_tag_manager_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
@@ -1091,22 +1120,21 @@ module Google
1091
1120
  # Configuration can be applied globally to all clients, or to a single client
1092
1121
  # on construction.
1093
1122
  #
1094
- # # Examples
1095
- #
1096
- # To modify the global config, setting the timeout for create_taxonomy
1097
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1098
- #
1099
- # ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.configure do |config|
1100
- # config.timeout = 10.0
1101
- # config.rpcs.create_taxonomy.timeout = 20.0
1102
- # end
1103
- #
1104
- # To apply the above configuration only to a new client:
1105
- #
1106
- # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new do |config|
1107
- # config.timeout = 10.0
1108
- # config.rpcs.create_taxonomy.timeout = 20.0
1109
- # end
1123
+ # @example
1124
+ #
1125
+ # # Modify the global config, setting the timeout for
1126
+ # # create_taxonomy to 20 seconds,
1127
+ # # and all remaining timeouts to 10 seconds.
1128
+ # ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.configure do |config|
1129
+ # config.timeout = 10.0
1130
+ # config.rpcs.create_taxonomy.timeout = 20.0
1131
+ # end
1132
+ #
1133
+ # # Apply the above configuration only to a new client.
1134
+ # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new do |config|
1135
+ # config.timeout = 10.0
1136
+ # config.rpcs.create_taxonomy.timeout = 20.0
1137
+ # end
1110
1138
  #
1111
1139
  # @!attribute [rw] endpoint
1112
1140
  # The hostname or hostname:port of the service endpoint.