google-cloud-bigtable-admin-v2 0.5.2 → 0.6.1
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.
- checksums.yaml +4 -4
 - data/AUTHENTICATION.md +8 -8
 - data/README.md +4 -4
 - data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +1 -1
 - data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
 - data/lib/google/bigtable/admin/v2/instance_pb.rb +1 -0
 - data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +99 -104
 - data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +34 -25
 - data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +106 -99
 - data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +34 -25
 - data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
 - data/proto_docs/google/api/field_behavior.rb +7 -1
 - data/proto_docs/google/bigtable/admin/v2/instance.rb +4 -0
 - data/proto_docs/google/type/expr.rb +35 -12
 - metadata +5 -6
 
| 
         @@ -83,7 +83,7 @@ module Google 
     | 
|
| 
       83 
83 
     | 
    
         
             
                            # Create credentials
         
     | 
| 
       84 
84 
     | 
    
         
             
                            credentials = @config.credentials
         
     | 
| 
       85 
85 
     | 
    
         
             
                            credentials ||= Credentials.default scope: @config.scope
         
     | 
| 
       86 
     | 
    
         
            -
                            if credentials.is_a?(String) || credentials.is_a?(Hash)
         
     | 
| 
      
 86 
     | 
    
         
            +
                            if credentials.is_a?(::String) || credentials.is_a?(::Hash)
         
     | 
| 
       87 
87 
     | 
    
         
             
                              credentials = Credentials.new credentials, scope: @config.scope
         
     | 
| 
       88 
88 
     | 
    
         
             
                            end
         
     | 
| 
       89 
89 
     | 
    
         
             
                            @quota_project_id = @config.quota_project
         
     | 
| 
         @@ -170,7 +170,9 @@ module Google 
     | 
|
| 
       170 
170 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_operations.timeout,
         
     | 
| 
       171 
171 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       172 
172 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.list_operations.retry_policy
         
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 175 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       174 
176 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       175 
177 
     | 
    
         | 
| 
       176 
178 
     | 
    
         
             
                            @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
         
     | 
| 
         @@ -240,7 +242,9 @@ module Google 
     | 
|
| 
       240 
242 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_operation.timeout,
         
     | 
| 
       241 
243 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       242 
244 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.get_operation.retry_policy
         
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
      
 245 
     | 
    
         
            +
             
     | 
| 
      
 246 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 247 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       244 
248 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       245 
249 
     | 
    
         | 
| 
       246 
250 
     | 
    
         
             
                            @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -310,7 +314,9 @@ module Google 
     | 
|
| 
       310 
314 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_operation.timeout,
         
     | 
| 
       311 
315 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       312 
316 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.delete_operation.retry_policy
         
     | 
| 
       313 
     | 
    
         
            -
             
     | 
| 
      
 317 
     | 
    
         
            +
             
     | 
| 
      
 318 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 319 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       314 
320 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       315 
321 
     | 
    
         | 
| 
       316 
322 
     | 
    
         
             
                            @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -385,7 +391,9 @@ module Google 
     | 
|
| 
       385 
391 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.cancel_operation.timeout,
         
     | 
| 
       386 
392 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       387 
393 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.cancel_operation.retry_policy
         
     | 
| 
       388 
     | 
    
         
            -
             
     | 
| 
      
 394 
     | 
    
         
            +
             
     | 
| 
      
 395 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 396 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       389 
397 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       390 
398 
     | 
    
         | 
| 
       391 
399 
     | 
    
         
             
                            @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -397,9 +405,9 @@ module Google 
     | 
|
| 
       397 
405 
     | 
    
         
             
                          end
         
     | 
| 
       398 
406 
     | 
    
         | 
| 
       399 
407 
     | 
    
         
             
                          ##
         
     | 
| 
       400 
     | 
    
         
            -
                          # Waits  
     | 
| 
       401 
     | 
    
         
            -
                          #  
     | 
| 
       402 
     | 
    
         
            -
                          #  
     | 
| 
      
 408 
     | 
    
         
            +
                          # Waits until the specified long-running operation is done or reaches at most
         
     | 
| 
      
 409 
     | 
    
         
            +
                          # a specified timeout, returning the latest state.  If the operation is
         
     | 
| 
      
 410 
     | 
    
         
            +
                          # already done, the latest state is immediately returned.  If the timeout
         
     | 
| 
       403 
411 
     | 
    
         
             
                          # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
         
     | 
| 
       404 
412 
     | 
    
         
             
                          # timeout is used.  If the server does not support this method, it returns
         
     | 
| 
       405 
413 
     | 
    
         
             
                          # `google.rpc.Code.UNIMPLEMENTED`.
         
     | 
| 
         @@ -457,7 +465,9 @@ module Google 
     | 
|
| 
       457 
465 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.wait_operation.timeout,
         
     | 
| 
       458 
466 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       459 
467 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.wait_operation.retry_policy
         
     | 
| 
       460 
     | 
    
         
            -
             
     | 
| 
      
 468 
     | 
    
         
            +
             
     | 
| 
      
 469 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 470 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       461 
471 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       462 
472 
     | 
    
         | 
| 
       463 
473 
     | 
    
         
             
                            @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -482,22 +492,21 @@ module Google 
     | 
|
| 
       482 
492 
     | 
    
         
             
                          # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       483 
493 
     | 
    
         
             
                          # on construction.
         
     | 
| 
       484 
494 
     | 
    
         
             
                          #
         
     | 
| 
       485 
     | 
    
         
            -
                          #  
     | 
| 
       486 
     | 
    
         
            -
                          #
         
     | 
| 
       487 
     | 
    
         
            -
                          #  
     | 
| 
       488 
     | 
    
         
            -
                          # to 20 seconds, 
     | 
| 
       489 
     | 
    
         
            -
                          #
         
     | 
| 
       490 
     | 
    
         
            -
                          # 
     | 
| 
       491 
     | 
    
         
            -
                          # 
     | 
| 
       492 
     | 
    
         
            -
                          # 
     | 
| 
       493 
     | 
    
         
            -
                          # 
     | 
| 
       494 
     | 
    
         
            -
                          #
         
     | 
| 
       495 
     | 
    
         
            -
                          #  
     | 
| 
       496 
     | 
    
         
            -
                          #
         
     | 
| 
       497 
     | 
    
         
            -
                          #      
     | 
| 
       498 
     | 
    
         
            -
                          # 
     | 
| 
       499 
     | 
    
         
            -
                          # 
     | 
| 
       500 
     | 
    
         
            -
                          #     end
         
     | 
| 
      
 495 
     | 
    
         
            +
                          # @example
         
     | 
| 
      
 496 
     | 
    
         
            +
                          #
         
     | 
| 
      
 497 
     | 
    
         
            +
                          #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 498 
     | 
    
         
            +
                          #   # list_operations to 20 seconds,
         
     | 
| 
      
 499 
     | 
    
         
            +
                          #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 500 
     | 
    
         
            +
                          #   ::Google::Longrunning::Operations::Client.configure do |config|
         
     | 
| 
      
 501 
     | 
    
         
            +
                          #     config.timeout = 10.0
         
     | 
| 
      
 502 
     | 
    
         
            +
                          #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 503 
     | 
    
         
            +
                          #   end
         
     | 
| 
      
 504 
     | 
    
         
            +
                          #
         
     | 
| 
      
 505 
     | 
    
         
            +
                          #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 506 
     | 
    
         
            +
                          #   client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 507 
     | 
    
         
            +
                          #     config.timeout = 10.0
         
     | 
| 
      
 508 
     | 
    
         
            +
                          #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 509 
     | 
    
         
            +
                          #   end
         
     | 
| 
       501 
510 
     | 
    
         
             
                          #
         
     | 
| 
       502 
511 
     | 
    
         
             
                          # @!attribute [rw] endpoint
         
     | 
| 
       503 
512 
     | 
    
         
             
                          #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -46,13 +46,12 @@ module Google 
     | 
|
| 
       46 
46 
     | 
    
         
             
                          # See {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client::Configuration}
         
     | 
| 
       47 
47 
     | 
    
         
             
                          # for a description of the configuration fields.
         
     | 
| 
       48 
48 
     | 
    
         
             
                          #
         
     | 
| 
       49 
     | 
    
         
            -
                          #  
     | 
| 
      
 49 
     | 
    
         
            +
                          # @example
         
     | 
| 
       50 
50 
     | 
    
         
             
                          #
         
     | 
| 
       51 
     | 
    
         
            -
                          #  
     | 
| 
       52 
     | 
    
         
            -
                          #
         
     | 
| 
       53 
     | 
    
         
            -
                          #      
     | 
| 
       54 
     | 
    
         
            -
                          # 
     | 
| 
       55 
     | 
    
         
            -
                          #     end
         
     | 
| 
      
 51 
     | 
    
         
            +
                          #   # Modify the configuration for all BigtableTableAdmin clients
         
     | 
| 
      
 52 
     | 
    
         
            +
                          #   ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::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]
         
     | 
| 
         @@ -74,18 +73,12 @@ module Google 
     | 
|
| 
       74 
73 
     | 
    
         | 
| 
       75 
74 
     | 
    
         
             
                              default_config.rpcs.list_tables.timeout = 60.0
         
     | 
| 
       76 
75 
     | 
    
         
             
                              default_config.rpcs.list_tables.retry_policy = {
         
     | 
| 
       77 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       78 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       79 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       80 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 76 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       81 
77 
     | 
    
         
             
                              }
         
     | 
| 
       82 
78 
     | 
    
         | 
| 
       83 
79 
     | 
    
         
             
                              default_config.rpcs.get_table.timeout = 60.0
         
     | 
| 
       84 
80 
     | 
    
         
             
                              default_config.rpcs.get_table.retry_policy = {
         
     | 
| 
       85 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       86 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       87 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       88 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 81 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       89 
82 
     | 
    
         
             
                              }
         
     | 
| 
       90 
83 
     | 
    
         | 
| 
       91 
84 
     | 
    
         
             
                              default_config.rpcs.delete_table.timeout = 60.0
         
     | 
| 
         @@ -96,34 +89,22 @@ module Google 
     | 
|
| 
       96 
89 
     | 
    
         | 
| 
       97 
90 
     | 
    
         
             
                              default_config.rpcs.generate_consistency_token.timeout = 60.0
         
     | 
| 
       98 
91 
     | 
    
         
             
                              default_config.rpcs.generate_consistency_token.retry_policy = {
         
     | 
| 
       99 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       100 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       101 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       102 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 92 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       103 
93 
     | 
    
         
             
                              }
         
     | 
| 
       104 
94 
     | 
    
         | 
| 
       105 
95 
     | 
    
         
             
                              default_config.rpcs.check_consistency.timeout = 60.0
         
     | 
| 
       106 
96 
     | 
    
         
             
                              default_config.rpcs.check_consistency.retry_policy = {
         
     | 
| 
       107 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       108 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       109 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       110 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 97 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       111 
98 
     | 
    
         
             
                              }
         
     | 
| 
       112 
99 
     | 
    
         | 
| 
       113 
100 
     | 
    
         
             
                              default_config.rpcs.get_snapshot.timeout = 60.0
         
     | 
| 
       114 
101 
     | 
    
         
             
                              default_config.rpcs.get_snapshot.retry_policy = {
         
     | 
| 
       115 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       116 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       117 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       118 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 102 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       119 
103 
     | 
    
         
             
                              }
         
     | 
| 
       120 
104 
     | 
    
         | 
| 
       121 
105 
     | 
    
         
             
                              default_config.rpcs.list_snapshots.timeout = 60.0
         
     | 
| 
       122 
106 
     | 
    
         
             
                              default_config.rpcs.list_snapshots.retry_policy = {
         
     | 
| 
       123 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       124 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       125 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       126 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 107 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       127 
108 
     | 
    
         
             
                              }
         
     | 
| 
       128 
109 
     | 
    
         | 
| 
       129 
110 
     | 
    
         
             
                              default_config.rpcs.delete_snapshot.timeout = 60.0
         
     | 
| 
         @@ -132,10 +113,7 @@ module Google 
     | 
|
| 
       132 
113 
     | 
    
         | 
| 
       133 
114 
     | 
    
         
             
                              default_config.rpcs.get_backup.timeout = 60.0
         
     | 
| 
       134 
115 
     | 
    
         
             
                              default_config.rpcs.get_backup.retry_policy = {
         
     | 
| 
       135 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       136 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       137 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       138 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 116 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       139 
117 
     | 
    
         
             
                              }
         
     | 
| 
       140 
118 
     | 
    
         | 
| 
       141 
119 
     | 
    
         
             
                              default_config.rpcs.update_backup.timeout = 60.0
         
     | 
| 
         @@ -144,30 +122,21 @@ module Google 
     | 
|
| 
       144 
122 
     | 
    
         | 
| 
       145 
123 
     | 
    
         
             
                              default_config.rpcs.list_backups.timeout = 60.0
         
     | 
| 
       146 
124 
     | 
    
         
             
                              default_config.rpcs.list_backups.retry_policy = {
         
     | 
| 
       147 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       148 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       149 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       150 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 125 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       151 
126 
     | 
    
         
             
                              }
         
     | 
| 
       152 
127 
     | 
    
         | 
| 
       153 
128 
     | 
    
         
             
                              default_config.rpcs.restore_table.timeout = 60.0
         
     | 
| 
       154 
129 
     | 
    
         | 
| 
       155 
130 
     | 
    
         
             
                              default_config.rpcs.get_iam_policy.timeout = 60.0
         
     | 
| 
       156 
131 
     | 
    
         
             
                              default_config.rpcs.get_iam_policy.retry_policy = {
         
     | 
| 
       157 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       158 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       159 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       160 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 132 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       161 
133 
     | 
    
         
             
                              }
         
     | 
| 
       162 
134 
     | 
    
         | 
| 
       163 
135 
     | 
    
         
             
                              default_config.rpcs.set_iam_policy.timeout = 60.0
         
     | 
| 
       164 
136 
     | 
    
         | 
| 
       165 
137 
     | 
    
         
             
                              default_config.rpcs.test_iam_permissions.timeout = 60.0
         
     | 
| 
       166 
138 
     | 
    
         
             
                              default_config.rpcs.test_iam_permissions.retry_policy = {
         
     | 
| 
       167 
     | 
    
         
            -
                                initial_delay: 1.0,
         
     | 
| 
       168 
     | 
    
         
            -
                            max_delay: 60.0,
         
     | 
| 
       169 
     | 
    
         
            -
                            multiplier: 2,
         
     | 
| 
       170 
     | 
    
         
            -
                            retry_codes: [14, 4]
         
     | 
| 
      
 139 
     | 
    
         
            +
                                initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
         
     | 
| 
       171 
140 
     | 
    
         
             
                              }
         
     | 
| 
       172 
141 
     | 
    
         | 
| 
       173 
142 
     | 
    
         
             
                              default_config
         
     | 
| 
         @@ -199,19 +168,15 @@ module Google 
     | 
|
| 
       199 
168 
     | 
    
         
             
                          ##
         
     | 
| 
       200 
169 
     | 
    
         
             
                          # Create a new BigtableTableAdmin client object.
         
     | 
| 
       201 
170 
     | 
    
         
             
                          #
         
     | 
| 
       202 
     | 
    
         
            -
                          #  
     | 
| 
       203 
     | 
    
         
            -
                          #
         
     | 
| 
       204 
     | 
    
         
            -
                          # To create a new BigtableTableAdmin client with the default
         
     | 
| 
       205 
     | 
    
         
            -
                          # configuration:
         
     | 
| 
      
 171 
     | 
    
         
            +
                          # @example
         
     | 
| 
       206 
172 
     | 
    
         
             
                          #
         
     | 
| 
       207 
     | 
    
         
            -
                          # 
     | 
| 
      
 173 
     | 
    
         
            +
                          #   # Create a client using the default configuration
         
     | 
| 
      
 174 
     | 
    
         
            +
                          #   client = ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
         
     | 
| 
       208 
175 
     | 
    
         
             
                          #
         
     | 
| 
       209 
     | 
    
         
            -
                          #  
     | 
| 
       210 
     | 
    
         
            -
                          #  
     | 
| 
       211 
     | 
    
         
            -
                          #
         
     | 
| 
       212 
     | 
    
         
            -
                          # 
     | 
| 
       213 
     | 
    
         
            -
                          #       config.timeout = 10.0
         
     | 
| 
       214 
     | 
    
         
            -
                          #     end
         
     | 
| 
      
 176 
     | 
    
         
            +
                          #   # Create a client using a custom configuration
         
     | 
| 
      
 177 
     | 
    
         
            +
                          #   client = ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new do |config|
         
     | 
| 
      
 178 
     | 
    
         
            +
                          #     config.timeout = 10.0
         
     | 
| 
      
 179 
     | 
    
         
            +
                          #   end
         
     | 
| 
       215 
180 
     | 
    
         
             
                          #
         
     | 
| 
       216 
181 
     | 
    
         
             
                          # @yield [config] Configure the BigtableTableAdmin client.
         
     | 
| 
       217 
182 
     | 
    
         
             
                          # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -231,14 +196,13 @@ module Google 
     | 
|
| 
       231 
196 
     | 
    
         | 
| 
       232 
197 
     | 
    
         
             
                            # Create credentials
         
     | 
| 
       233 
198 
     | 
    
         
             
                            credentials = @config.credentials
         
     | 
| 
       234 
     | 
    
         
            -
                            # Use self-signed JWT if the  
     | 
| 
      
 199 
     | 
    
         
            +
                            # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       235 
200 
     | 
    
         
             
                            # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       236 
     | 
    
         
            -
                            enable_self_signed_jwt = @config. 
     | 
| 
       237 
     | 
    
         
            -
                                                     @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
      
 201 
     | 
    
         
            +
                            enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
       238 
202 
     | 
    
         
             
                                                     !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       239 
203 
     | 
    
         
             
                            credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       240 
204 
     | 
    
         
             
                                                                enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
       241 
     | 
    
         
            -
                            if credentials.is_a?(String) || credentials.is_a?(Hash)
         
     | 
| 
      
 205 
     | 
    
         
            +
                            if credentials.is_a?(::String) || credentials.is_a?(::Hash)
         
     | 
| 
       242 
206 
     | 
    
         
             
                              credentials = Credentials.new credentials, scope: @config.scope
         
     | 
| 
       243 
207 
     | 
    
         
             
                            end
         
     | 
| 
       244 
208 
     | 
    
         
             
                            @quota_project_id = @config.quota_project
         
     | 
| 
         @@ -348,7 +312,9 @@ module Google 
     | 
|
| 
       348 
312 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_table.timeout,
         
     | 
| 
       349 
313 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       350 
314 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.create_table.retry_policy
         
     | 
| 
       351 
     | 
    
         
            -
             
     | 
| 
      
 315 
     | 
    
         
            +
             
     | 
| 
      
 316 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 317 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       352 
318 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       353 
319 
     | 
    
         | 
| 
       354 
320 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :create_table, request, options: options do |response, operation|
         
     | 
| 
         @@ -430,7 +396,9 @@ module Google 
     | 
|
| 
       430 
396 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_table_from_snapshot.timeout,
         
     | 
| 
       431 
397 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       432 
398 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.create_table_from_snapshot.retry_policy
         
     | 
| 
       433 
     | 
    
         
            -
             
     | 
| 
      
 399 
     | 
    
         
            +
             
     | 
| 
      
 400 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 401 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       434 
402 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       435 
403 
     | 
    
         | 
| 
       436 
404 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :create_table_from_snapshot, request, options: options do |response, operation|
         
     | 
| 
         @@ -513,7 +481,9 @@ module Google 
     | 
|
| 
       513 
481 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_tables.timeout,
         
     | 
| 
       514 
482 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       515 
483 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.list_tables.retry_policy
         
     | 
| 
       516 
     | 
    
         
            -
             
     | 
| 
      
 484 
     | 
    
         
            +
             
     | 
| 
      
 485 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 486 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       517 
487 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       518 
488 
     | 
    
         | 
| 
       519 
489 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :list_tables, request, options: options do |response, operation|
         
     | 
| 
         @@ -585,7 +555,9 @@ module Google 
     | 
|
| 
       585 
555 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_table.timeout,
         
     | 
| 
       586 
556 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       587 
557 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.get_table.retry_policy
         
     | 
| 
       588 
     | 
    
         
            -
             
     | 
| 
      
 558 
     | 
    
         
            +
             
     | 
| 
      
 559 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 560 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       589 
561 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       590 
562 
     | 
    
         | 
| 
       591 
563 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :get_table, request, options: options do |response, operation|
         
     | 
| 
         @@ -653,7 +625,9 @@ module Google 
     | 
|
| 
       653 
625 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_table.timeout,
         
     | 
| 
       654 
626 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       655 
627 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.delete_table.retry_policy
         
     | 
| 
       656 
     | 
    
         
            -
             
     | 
| 
      
 628 
     | 
    
         
            +
             
     | 
| 
      
 629 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 630 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       657 
631 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       658 
632 
     | 
    
         | 
| 
       659 
633 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :delete_table, request, options: options do |response, operation|
         
     | 
| 
         @@ -729,7 +703,9 @@ module Google 
     | 
|
| 
       729 
703 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.modify_column_families.timeout,
         
     | 
| 
       730 
704 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       731 
705 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.modify_column_families.retry_policy
         
     | 
| 
       732 
     | 
    
         
            -
             
     | 
| 
      
 706 
     | 
    
         
            +
             
     | 
| 
      
 707 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 708 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       733 
709 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       734 
710 
     | 
    
         | 
| 
       735 
711 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :modify_column_families, request, options: options do |response, operation|
         
     | 
| 
         @@ -804,7 +780,9 @@ module Google 
     | 
|
| 
       804 
780 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.drop_row_range.timeout,
         
     | 
| 
       805 
781 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       806 
782 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.drop_row_range.retry_policy
         
     | 
| 
       807 
     | 
    
         
            -
             
     | 
| 
      
 783 
     | 
    
         
            +
             
     | 
| 
      
 784 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 785 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       808 
786 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       809 
787 
     | 
    
         | 
| 
       810 
788 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :drop_row_range, request, options: options do |response, operation|
         
     | 
| 
         @@ -875,7 +853,9 @@ module Google 
     | 
|
| 
       875 
853 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.generate_consistency_token.timeout,
         
     | 
| 
       876 
854 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       877 
855 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.generate_consistency_token.retry_policy
         
     | 
| 
       878 
     | 
    
         
            -
             
     | 
| 
      
 856 
     | 
    
         
            +
             
     | 
| 
      
 857 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 858 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       879 
859 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       880 
860 
     | 
    
         | 
| 
       881 
861 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :generate_consistency_token, request, options: options do |response, operation|
         
     | 
| 
         @@ -947,7 +927,9 @@ module Google 
     | 
|
| 
       947 
927 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.check_consistency.timeout,
         
     | 
| 
       948 
928 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       949 
929 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.check_consistency.retry_policy
         
     | 
| 
       950 
     | 
    
         
            -
             
     | 
| 
      
 930 
     | 
    
         
            +
             
     | 
| 
      
 931 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 932 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       951 
933 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       952 
934 
     | 
    
         | 
| 
       953 
935 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :check_consistency, request, options: options do |response, operation|
         
     | 
| 
         @@ -1038,7 +1020,9 @@ module Google 
     | 
|
| 
       1038 
1020 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.snapshot_table.timeout,
         
     | 
| 
       1039 
1021 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1040 
1022 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.snapshot_table.retry_policy
         
     | 
| 
       1041 
     | 
    
         
            -
             
     | 
| 
      
 1023 
     | 
    
         
            +
             
     | 
| 
      
 1024 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1025 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1042 
1026 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1043 
1027 
     | 
    
         | 
| 
       1044 
1028 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :snapshot_table, request, options: options do |response, operation|
         
     | 
| 
         @@ -1113,7 +1097,9 @@ module Google 
     | 
|
| 
       1113 
1097 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_snapshot.timeout,
         
     | 
| 
       1114 
1098 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1115 
1099 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.get_snapshot.retry_policy
         
     | 
| 
       1116 
     | 
    
         
            -
             
     | 
| 
      
 1100 
     | 
    
         
            +
             
     | 
| 
      
 1101 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1102 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1117 
1103 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1118 
1104 
     | 
    
         | 
| 
       1119 
1105 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :get_snapshot, request, options: options do |response, operation|
         
     | 
| 
         @@ -1194,7 +1180,9 @@ module Google 
     | 
|
| 
       1194 
1180 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_snapshots.timeout,
         
     | 
| 
       1195 
1181 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1196 
1182 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.list_snapshots.retry_policy
         
     | 
| 
       1197 
     | 
    
         
            -
             
     | 
| 
      
 1183 
     | 
    
         
            +
             
     | 
| 
      
 1184 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1185 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1198 
1186 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1199 
1187 
     | 
    
         | 
| 
       1200 
1188 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :list_snapshots, request, options: options do |response, operation|
         
     | 
| 
         @@ -1269,7 +1257,9 @@ module Google 
     | 
|
| 
       1269 
1257 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_snapshot.timeout,
         
     | 
| 
       1270 
1258 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1271 
1259 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.delete_snapshot.retry_policy
         
     | 
| 
       1272 
     | 
    
         
            -
             
     | 
| 
      
 1260 
     | 
    
         
            +
             
     | 
| 
      
 1261 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1262 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1273 
1263 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1274 
1264 
     | 
    
         | 
| 
       1275 
1265 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :delete_snapshot, request, options: options do |response, operation|
         
     | 
| 
         @@ -1353,7 +1343,9 @@ module Google 
     | 
|
| 
       1353 
1343 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.create_backup.timeout,
         
     | 
| 
       1354 
1344 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1355 
1345 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.create_backup.retry_policy
         
     | 
| 
       1356 
     | 
    
         
            -
             
     | 
| 
      
 1346 
     | 
    
         
            +
             
     | 
| 
      
 1347 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1348 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1357 
1349 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1358 
1350 
     | 
    
         | 
| 
       1359 
1351 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :create_backup, request, options: options do |response, operation|
         
     | 
| 
         @@ -1422,7 +1414,9 @@ module Google 
     | 
|
| 
       1422 
1414 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_backup.timeout,
         
     | 
| 
       1423 
1415 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1424 
1416 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.get_backup.retry_policy
         
     | 
| 
       1425 
     | 
    
         
            -
             
     | 
| 
      
 1417 
     | 
    
         
            +
             
     | 
| 
      
 1418 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1419 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1426 
1420 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1427 
1421 
     | 
    
         | 
| 
       1428 
1422 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :get_backup, request, options: options do |response, operation|
         
     | 
| 
         @@ -1497,7 +1491,9 @@ module Google 
     | 
|
| 
       1497 
1491 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.update_backup.timeout,
         
     | 
| 
       1498 
1492 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1499 
1493 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.update_backup.retry_policy
         
     | 
| 
       1500 
     | 
    
         
            -
             
     | 
| 
      
 1494 
     | 
    
         
            +
             
     | 
| 
      
 1495 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1496 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1501 
1497 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1502 
1498 
     | 
    
         | 
| 
       1503 
1499 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :update_backup, request, options: options do |response, operation|
         
     | 
| 
         @@ -1565,7 +1561,9 @@ module Google 
     | 
|
| 
       1565 
1561 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.delete_backup.timeout,
         
     | 
| 
       1566 
1562 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1567 
1563 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.delete_backup.retry_policy
         
     | 
| 
       1568 
     | 
    
         
            -
             
     | 
| 
      
 1564 
     | 
    
         
            +
             
     | 
| 
      
 1565 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1566 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1569 
1567 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1570 
1568 
     | 
    
         | 
| 
       1571 
1569 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :delete_backup, request, options: options do |response, operation|
         
     | 
| 
         @@ -1697,7 +1695,9 @@ module Google 
     | 
|
| 
       1697 
1695 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.list_backups.timeout,
         
     | 
| 
       1698 
1696 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1699 
1697 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.list_backups.retry_policy
         
     | 
| 
       1700 
     | 
    
         
            -
             
     | 
| 
      
 1698 
     | 
    
         
            +
             
     | 
| 
      
 1699 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1700 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1701 
1701 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1702 
1702 
     | 
    
         | 
| 
       1703 
1703 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :list_backups, request, options: options do |response, operation|
         
     | 
| 
         @@ -1781,7 +1781,9 @@ module Google 
     | 
|
| 
       1781 
1781 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.restore_table.timeout,
         
     | 
| 
       1782 
1782 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1783 
1783 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.restore_table.retry_policy
         
     | 
| 
       1784 
     | 
    
         
            -
             
     | 
| 
      
 1784 
     | 
    
         
            +
             
     | 
| 
      
 1785 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1786 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1785 
1787 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1786 
1788 
     | 
    
         | 
| 
       1787 
1789 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :restore_table, request, options: options do |response, operation|
         
     | 
| 
         @@ -1854,7 +1856,9 @@ module Google 
     | 
|
| 
       1854 
1856 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.get_iam_policy.timeout,
         
     | 
| 
       1855 
1857 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1856 
1858 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.get_iam_policy.retry_policy
         
     | 
| 
       1857 
     | 
    
         
            -
             
     | 
| 
      
 1859 
     | 
    
         
            +
             
     | 
| 
      
 1860 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1861 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1858 
1862 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1859 
1863 
     | 
    
         | 
| 
       1860 
1864 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -1927,7 +1931,9 @@ module Google 
     | 
|
| 
       1927 
1931 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.set_iam_policy.timeout,
         
     | 
| 
       1928 
1932 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       1929 
1933 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.set_iam_policy.retry_policy
         
     | 
| 
       1930 
     | 
    
         
            -
             
     | 
| 
      
 1934 
     | 
    
         
            +
             
     | 
| 
      
 1935 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 1936 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       1931 
1937 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       1932 
1938 
     | 
    
         | 
| 
       1933 
1939 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -1999,7 +2005,9 @@ module Google 
     | 
|
| 
       1999 
2005 
     | 
    
         
             
                            options.apply_defaults timeout:      @config.rpcs.test_iam_permissions.timeout,
         
     | 
| 
       2000 
2006 
     | 
    
         
             
                                                   metadata:     metadata,
         
     | 
| 
       2001 
2007 
     | 
    
         
             
                                                   retry_policy: @config.rpcs.test_iam_permissions.retry_policy
         
     | 
| 
       2002 
     | 
    
         
            -
             
     | 
| 
      
 2008 
     | 
    
         
            +
             
     | 
| 
      
 2009 
     | 
    
         
            +
                            options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 2010 
     | 
    
         
            +
                                                   metadata:     @config.metadata,
         
     | 
| 
       2003 
2011 
     | 
    
         
             
                                                   retry_policy: @config.retry_policy
         
     | 
| 
       2004 
2012 
     | 
    
         | 
| 
       2005 
2013 
     | 
    
         
             
                            @bigtable_table_admin_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
         
     | 
| 
         @@ -2023,22 +2031,21 @@ module Google 
     | 
|
| 
       2023 
2031 
     | 
    
         
             
                          # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       2024 
2032 
     | 
    
         
             
                          # on construction.
         
     | 
| 
       2025 
2033 
     | 
    
         
             
                          #
         
     | 
| 
       2026 
     | 
    
         
            -
                          #  
     | 
| 
       2027 
     | 
    
         
            -
                          #
         
     | 
| 
       2028 
     | 
    
         
            -
                          #  
     | 
| 
       2029 
     | 
    
         
            -
                          # to 20 seconds, 
     | 
| 
       2030 
     | 
    
         
            -
                          #
         
     | 
| 
       2031 
     | 
    
         
            -
                          # 
     | 
| 
       2032 
     | 
    
         
            -
                          # 
     | 
| 
       2033 
     | 
    
         
            -
                          # 
     | 
| 
       2034 
     | 
    
         
            -
                          # 
     | 
| 
       2035 
     | 
    
         
            -
                          #
         
     | 
| 
       2036 
     | 
    
         
            -
                          #  
     | 
| 
       2037 
     | 
    
         
            -
                          #
         
     | 
| 
       2038 
     | 
    
         
            -
                          #      
     | 
| 
       2039 
     | 
    
         
            -
                          # 
     | 
| 
       2040 
     | 
    
         
            -
                          # 
     | 
| 
       2041 
     | 
    
         
            -
                          #     end
         
     | 
| 
      
 2034 
     | 
    
         
            +
                          # @example
         
     | 
| 
      
 2035 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2036 
     | 
    
         
            +
                          #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 2037 
     | 
    
         
            +
                          #   # create_table to 20 seconds,
         
     | 
| 
      
 2038 
     | 
    
         
            +
                          #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 2039 
     | 
    
         
            +
                          #   ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.configure do |config|
         
     | 
| 
      
 2040 
     | 
    
         
            +
                          #     config.timeout = 10.0
         
     | 
| 
      
 2041 
     | 
    
         
            +
                          #     config.rpcs.create_table.timeout = 20.0
         
     | 
| 
      
 2042 
     | 
    
         
            +
                          #   end
         
     | 
| 
      
 2043 
     | 
    
         
            +
                          #
         
     | 
| 
      
 2044 
     | 
    
         
            +
                          #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 2045 
     | 
    
         
            +
                          #   client = ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new do |config|
         
     | 
| 
      
 2046 
     | 
    
         
            +
                          #     config.timeout = 10.0
         
     | 
| 
      
 2047 
     | 
    
         
            +
                          #     config.rpcs.create_table.timeout = 20.0
         
     | 
| 
      
 2048 
     | 
    
         
            +
                          #   end
         
     | 
| 
       2042 
2049 
     | 
    
         
             
                          #
         
     | 
| 
       2043 
2050 
     | 
    
         
             
                          # @!attribute [rw] endpoint
         
     | 
| 
       2044 
2051 
     | 
    
         
             
                          #   The hostname or hostname:port of the service endpoint.
         
     |