google-cloud-retail-v2 2.5.0 → 2.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/lib/google/cloud/retail/v2/analytics_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/analytics_service/operations.rb +32 -4
 - data/lib/google/cloud/retail/v2/analytics_service/rest/operations.rb +12 -1
 - data/lib/google/cloud/retail/v2/catalog_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/completion_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/completion_service/operations.rb +32 -4
 - data/lib/google/cloud/retail/v2/completion_service/rest/operations.rb +12 -1
 - data/lib/google/cloud/retail/v2/control_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/conversational_search_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/generative_question_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/model_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/model_service/operations.rb +32 -4
 - data/lib/google/cloud/retail/v2/model_service/rest/operations.rb +12 -1
 - data/lib/google/cloud/retail/v2/prediction_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/product_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/product_service/operations.rb +32 -4
 - data/lib/google/cloud/retail/v2/product_service/rest/operations.rb +12 -1
 - data/lib/google/cloud/retail/v2/search_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/serving_config_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/user_event_service/client.rb +20 -3
 - data/lib/google/cloud/retail/v2/user_event_service/operations.rb +32 -4
 - data/lib/google/cloud/retail/v2/user_event_service/rest/operations.rb +12 -1
 - data/lib/google/cloud/retail/v2/version.rb +1 -1
 - data/proto_docs/google/longrunning/operations.rb +18 -0
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d65c2c7cd673bb7bb9570d4d1a57b8d40133ba2bfdc0166a8a42e0e58489099c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: fc99d101fb070ad00e60bb0a8bc3b2054cb6d184bbebb8ee4de4acb376997b1d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f4b2d19c94567667f4ea0e9cc424246c01980cf3ed4d3efa2db592c982bef08307e231133b29950e2ff5ef4bb7ced2ffea3d9eac40a30711e84076e8d88e33a2
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: aa6d5830fb94a317a348d30486d0157a0a7e64d1a9c29fbbb0be7310d397085937867ae25bf4dd02cbc8d569f8e0737cd69c0403212dd7191be1291f6db9f5e8
         
     | 
| 
         @@ -370,8 +370,6 @@ module Google 
     | 
|
| 
       370 
370 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       371 
371 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       372 
372 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       373 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       374 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       375 
373 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       376 
374 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       377 
375 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -380,7 +378,26 @@ module Google 
     | 
|
| 
       380 
378 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       381 
379 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       382 
380 
     | 
    
         
             
                        #
         
     | 
| 
       383 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 381 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 382 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 383 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 384 
     | 
    
         
            +
                        #
         
     | 
| 
      
 385 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 386 
     | 
    
         
            +
                        #
         
     | 
| 
      
 387 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 388 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 389 
     | 
    
         
            +
                        #
         
     | 
| 
      
 390 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 391 
     | 
    
         
            +
                        #
         
     | 
| 
      
 392 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 393 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 394 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 395 
     | 
    
         
            +
                        #
         
     | 
| 
      
 396 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::AnalyticsService::Client.new do |config|
         
     | 
| 
      
 397 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 398 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 399 
     | 
    
         
            +
                        #
         
     | 
| 
      
 400 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       384 
401 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       385 
402 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       386 
403 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -125,7 +125,7 @@ module Google 
     | 
|
| 
       125 
125 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       126 
126 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       127 
127 
     | 
    
         
             
                          #
         
     | 
| 
       128 
     | 
    
         
            -
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 128 
     | 
    
         
            +
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       129 
129 
     | 
    
         
             
                          #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       130 
130 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       131 
131 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -138,6 +138,17 @@ module Google 
     | 
|
| 
       138 
138 
     | 
    
         
             
                          #     The standard list page size.
         
     | 
| 
       139 
139 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       140 
140 
     | 
    
         
             
                          #     The standard list page token.
         
     | 
| 
      
 141 
     | 
    
         
            +
                          #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 142 
     | 
    
         
            +
                          #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 143 
     | 
    
         
            +
                          #     and those that are unreachable are returned in the
         
     | 
| 
      
 144 
     | 
    
         
            +
                          #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 145 
     | 
    
         
            +
                          #
         
     | 
| 
      
 146 
     | 
    
         
            +
                          #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 147 
     | 
    
         
            +
                          #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 148 
     | 
    
         
            +
                          #
         
     | 
| 
      
 149 
     | 
    
         
            +
                          #     This field is not by default supported and will result in an
         
     | 
| 
      
 150 
     | 
    
         
            +
                          #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 151 
     | 
    
         
            +
                          #     service or product specific documentation.
         
     | 
| 
       141 
152 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       142 
153 
     | 
    
         
             
                          # @yieldparam result [::Gapic::Operation]
         
     | 
| 
       143 
154 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -1347,8 +1347,6 @@ module Google 
     | 
|
| 
       1347 
1347 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1348 
1348 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1349 
1349 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1350 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1351 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1352 
1350 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1353 
1351 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1354 
1352 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1357,7 +1355,26 @@ module Google 
     | 
|
| 
       1357 
1355 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1358 
1356 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1359 
1357 
     | 
    
         
             
                        #
         
     | 
| 
       1360 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1358 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1359 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1360 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1361 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1362 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1363 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1364 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1365 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1366 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1367 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1368 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1369 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1370 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1371 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1372 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1373 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::CatalogService::Client.new do |config|
         
     | 
| 
      
 1374 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1375 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1376 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1377 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1361 
1378 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1362 
1379 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1363 
1380 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -536,8 +536,6 @@ module Google 
     | 
|
| 
       536 
536 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       537 
537 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       538 
538 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       539 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       540 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       541 
539 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       542 
540 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       543 
541 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -546,7 +544,26 @@ module Google 
     | 
|
| 
       546 
544 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       547 
545 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       548 
546 
     | 
    
         
             
                        #
         
     | 
| 
       549 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 547 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 548 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 549 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 550 
     | 
    
         
            +
                        #
         
     | 
| 
      
 551 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 552 
     | 
    
         
            +
                        #
         
     | 
| 
      
 553 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 554 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 555 
     | 
    
         
            +
                        #
         
     | 
| 
      
 556 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 557 
     | 
    
         
            +
                        #
         
     | 
| 
      
 558 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 559 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 560 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 561 
     | 
    
         
            +
                        #
         
     | 
| 
      
 562 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::CompletionService::Client.new do |config|
         
     | 
| 
      
 563 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 564 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 565 
     | 
    
         
            +
                        #
         
     | 
| 
      
 566 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       550 
567 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       551 
568 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       552 
569 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -125,7 +125,7 @@ module Google 
     | 
|
| 
       125 
125 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       126 
126 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       127 
127 
     | 
    
         
             
                          #
         
     | 
| 
       128 
     | 
    
         
            -
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 128 
     | 
    
         
            +
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       129 
129 
     | 
    
         
             
                          #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       130 
130 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       131 
131 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -138,6 +138,17 @@ module Google 
     | 
|
| 
       138 
138 
     | 
    
         
             
                          #     The standard list page size.
         
     | 
| 
       139 
139 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       140 
140 
     | 
    
         
             
                          #     The standard list page token.
         
     | 
| 
      
 141 
     | 
    
         
            +
                          #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 142 
     | 
    
         
            +
                          #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 143 
     | 
    
         
            +
                          #     and those that are unreachable are returned in the
         
     | 
| 
      
 144 
     | 
    
         
            +
                          #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 145 
     | 
    
         
            +
                          #
         
     | 
| 
      
 146 
     | 
    
         
            +
                          #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 147 
     | 
    
         
            +
                          #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 148 
     | 
    
         
            +
                          #
         
     | 
| 
      
 149 
     | 
    
         
            +
                          #     This field is not by default supported and will result in an
         
     | 
| 
      
 150 
     | 
    
         
            +
                          #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 151 
     | 
    
         
            +
                          #     service or product specific documentation.
         
     | 
| 
       141 
152 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       142 
153 
     | 
    
         
             
                          # @yieldparam result [::Gapic::Operation]
         
     | 
| 
       143 
154 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -710,8 +710,6 @@ module Google 
     | 
|
| 
       710 
710 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       711 
711 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       712 
712 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       713 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       714 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       715 
713 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       716 
714 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       717 
715 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -720,7 +718,26 @@ module Google 
     | 
|
| 
       720 
718 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       721 
719 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       722 
720 
     | 
    
         
             
                        #
         
     | 
| 
       723 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 721 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 722 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 723 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 724 
     | 
    
         
            +
                        #
         
     | 
| 
      
 725 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 726 
     | 
    
         
            +
                        #
         
     | 
| 
      
 727 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 728 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 729 
     | 
    
         
            +
                        #
         
     | 
| 
      
 730 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 731 
     | 
    
         
            +
                        #
         
     | 
| 
      
 732 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 733 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 734 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 735 
     | 
    
         
            +
                        #
         
     | 
| 
      
 736 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::ControlService::Client.new do |config|
         
     | 
| 
      
 737 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 738 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 739 
     | 
    
         
            +
                        #
         
     | 
| 
      
 740 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       724 
741 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       725 
742 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       726 
743 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -403,8 +403,6 @@ module Google 
     | 
|
| 
       403 
403 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       404 
404 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       405 
405 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       406 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       407 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       408 
406 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       409 
407 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       410 
408 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -413,7 +411,26 @@ module Google 
     | 
|
| 
       413 
411 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       414 
412 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       415 
413 
     | 
    
         
             
                        #
         
     | 
| 
       416 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 414 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 415 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 416 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 417 
     | 
    
         
            +
                        #
         
     | 
| 
      
 418 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 419 
     | 
    
         
            +
                        #
         
     | 
| 
      
 420 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 421 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 422 
     | 
    
         
            +
                        #
         
     | 
| 
      
 423 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 424 
     | 
    
         
            +
                        #
         
     | 
| 
      
 425 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 426 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 427 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 428 
     | 
    
         
            +
                        #
         
     | 
| 
      
 429 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::ConversationalSearchService::Client.new do |config|
         
     | 
| 
      
 430 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 431 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 432 
     | 
    
         
            +
                        #
         
     | 
| 
      
 433 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       417 
434 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       418 
435 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       419 
436 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -678,8 +678,6 @@ module Google 
     | 
|
| 
       678 
678 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       679 
679 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       680 
680 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       681 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       682 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       683 
681 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       684 
682 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       685 
683 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -688,7 +686,26 @@ module Google 
     | 
|
| 
       688 
686 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       689 
687 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       690 
688 
     | 
    
         
             
                        #
         
     | 
| 
       691 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 689 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 690 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 691 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 692 
     | 
    
         
            +
                        #
         
     | 
| 
      
 693 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 694 
     | 
    
         
            +
                        #
         
     | 
| 
      
 695 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 696 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 697 
     | 
    
         
            +
                        #
         
     | 
| 
      
 698 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 699 
     | 
    
         
            +
                        #
         
     | 
| 
      
 700 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 701 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 702 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 703 
     | 
    
         
            +
                        #
         
     | 
| 
      
 704 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::GenerativeQuestionService::Client.new do |config|
         
     | 
| 
      
 705 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 706 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 707 
     | 
    
         
            +
                        #
         
     | 
| 
      
 708 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       692 
709 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       693 
710 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       694 
711 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -999,8 +999,6 @@ module Google 
     | 
|
| 
       999 
999 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1000 
1000 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1001 
1001 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1002 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1003 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1004 
1002 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1005 
1003 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1006 
1004 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1009,7 +1007,26 @@ module Google 
     | 
|
| 
       1009 
1007 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1010 
1008 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       1011 
1009 
     | 
    
         
             
                        #
         
     | 
| 
       1012 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 1010 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 1011 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 1012 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1013 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1014 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 1015 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1016 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 1017 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 1018 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1019 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 1020 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1021 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 1022 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 1023 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 1024 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1025 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::ModelService::Client.new do |config|
         
     | 
| 
      
 1026 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 1027 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 1028 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1029 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       1013 
1030 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       1014 
1031 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       1015 
1032 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -125,7 +125,7 @@ module Google 
     | 
|
| 
       125 
125 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       126 
126 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       127 
127 
     | 
    
         
             
                          #
         
     | 
| 
       128 
     | 
    
         
            -
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 128 
     | 
    
         
            +
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       129 
129 
     | 
    
         
             
                          #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       130 
130 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       131 
131 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -138,6 +138,17 @@ module Google 
     | 
|
| 
       138 
138 
     | 
    
         
             
                          #     The standard list page size.
         
     | 
| 
       139 
139 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       140 
140 
     | 
    
         
             
                          #     The standard list page token.
         
     | 
| 
      
 141 
     | 
    
         
            +
                          #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 142 
     | 
    
         
            +
                          #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 143 
     | 
    
         
            +
                          #     and those that are unreachable are returned in the
         
     | 
| 
      
 144 
     | 
    
         
            +
                          #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 145 
     | 
    
         
            +
                          #
         
     | 
| 
      
 146 
     | 
    
         
            +
                          #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 147 
     | 
    
         
            +
                          #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 148 
     | 
    
         
            +
                          #
         
     | 
| 
      
 149 
     | 
    
         
            +
                          #     This field is not by default supported and will result in an
         
     | 
| 
      
 150 
     | 
    
         
            +
                          #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 151 
     | 
    
         
            +
                          #     service or product specific documentation.
         
     | 
| 
       141 
152 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       142 
153 
     | 
    
         
             
                          # @yieldparam result [::Gapic::Operation]
         
     | 
| 
       143 
154 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -450,8 +450,6 @@ module Google 
     | 
|
| 
       450 
450 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       451 
451 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       452 
452 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       453 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       454 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       455 
453 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       456 
454 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       457 
455 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -460,7 +458,26 @@ module Google 
     | 
|
| 
       460 
458 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       461 
459 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       462 
460 
     | 
    
         
             
                        #
         
     | 
| 
       463 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 461 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 462 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 463 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 464 
     | 
    
         
            +
                        #
         
     | 
| 
      
 465 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 466 
     | 
    
         
            +
                        #
         
     | 
| 
      
 467 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 468 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 469 
     | 
    
         
            +
                        #
         
     | 
| 
      
 470 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 471 
     | 
    
         
            +
                        #
         
     | 
| 
      
 472 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 473 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 474 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 475 
     | 
    
         
            +
                        #
         
     | 
| 
      
 476 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::PredictionService::Client.new do |config|
         
     | 
| 
      
 477 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 478 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 479 
     | 
    
         
            +
                        #
         
     | 
| 
      
 480 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       464 
481 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       465 
482 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       466 
483 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -1989,8 +1989,6 @@ module Google 
     | 
|
| 
       1989 
1989 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       1990 
1990 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       1991 
1991 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       1992 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       1993 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       1994 
1992 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       1995 
1993 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       1996 
1994 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -1999,7 +1997,26 @@ module Google 
     | 
|
| 
       1999 
1997 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       2000 
1998 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       2001 
1999 
     | 
    
         
             
                        #
         
     | 
| 
       2002 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 2000 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 2001 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 2002 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 2003 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2004 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 2005 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2006 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 2007 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 2008 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2009 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 2010 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2011 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 2012 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 2013 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 2014 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2015 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::ProductService::Client.new do |config|
         
     | 
| 
      
 2016 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 2017 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 2018 
     | 
    
         
            +
                        #
         
     | 
| 
      
 2019 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       2003 
2020 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       2004 
2021 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       2005 
2022 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -125,7 +125,7 @@ module Google 
     | 
|
| 
       125 
125 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       126 
126 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       127 
127 
     | 
    
         
             
                          #
         
     | 
| 
       128 
     | 
    
         
            -
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 128 
     | 
    
         
            +
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       129 
129 
     | 
    
         
             
                          #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       130 
130 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       131 
131 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -138,6 +138,17 @@ module Google 
     | 
|
| 
       138 
138 
     | 
    
         
             
                          #     The standard list page size.
         
     | 
| 
       139 
139 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       140 
140 
     | 
    
         
             
                          #     The standard list page token.
         
     | 
| 
      
 141 
     | 
    
         
            +
                          #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 142 
     | 
    
         
            +
                          #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 143 
     | 
    
         
            +
                          #     and those that are unreachable are returned in the
         
     | 
| 
      
 144 
     | 
    
         
            +
                          #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 145 
     | 
    
         
            +
                          #
         
     | 
| 
      
 146 
     | 
    
         
            +
                          #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 147 
     | 
    
         
            +
                          #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 148 
     | 
    
         
            +
                          #
         
     | 
| 
      
 149 
     | 
    
         
            +
                          #     This field is not by default supported and will result in an
         
     | 
| 
      
 150 
     | 
    
         
            +
                          #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 151 
     | 
    
         
            +
                          #     service or product specific documentation.
         
     | 
| 
       141 
152 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       142 
153 
     | 
    
         
             
                          # @yieldparam result [::Gapic::Operation]
         
     | 
| 
       143 
154 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -616,8 +616,6 @@ module Google 
     | 
|
| 
       616 
616 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       617 
617 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       618 
618 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       619 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       620 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       621 
619 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       622 
620 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       623 
621 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -626,7 +624,26 @@ module Google 
     | 
|
| 
       626 
624 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       627 
625 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       628 
626 
     | 
    
         
             
                        #
         
     | 
| 
       629 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 627 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 628 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 629 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 630 
     | 
    
         
            +
                        #
         
     | 
| 
      
 631 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 632 
     | 
    
         
            +
                        #
         
     | 
| 
      
 633 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 634 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 635 
     | 
    
         
            +
                        #
         
     | 
| 
      
 636 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 637 
     | 
    
         
            +
                        #
         
     | 
| 
      
 638 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 639 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 640 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 641 
     | 
    
         
            +
                        #
         
     | 
| 
      
 642 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::SearchService::Client.new do |config|
         
     | 
| 
      
 643 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 644 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 645 
     | 
    
         
            +
                        #
         
     | 
| 
      
 646 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       630 
647 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       631 
648 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       632 
649 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -887,8 +887,6 @@ module Google 
     | 
|
| 
       887 
887 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       888 
888 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       889 
889 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       890 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       891 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       892 
890 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       893 
891 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       894 
892 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -897,7 +895,26 @@ module Google 
     | 
|
| 
       897 
895 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       898 
896 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       899 
897 
     | 
    
         
             
                        #
         
     | 
| 
       900 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 898 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 899 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 900 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 901 
     | 
    
         
            +
                        #
         
     | 
| 
      
 902 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 903 
     | 
    
         
            +
                        #
         
     | 
| 
      
 904 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 905 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 906 
     | 
    
         
            +
                        #
         
     | 
| 
      
 907 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 908 
     | 
    
         
            +
                        #
         
     | 
| 
      
 909 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 910 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 911 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 912 
     | 
    
         
            +
                        #
         
     | 
| 
      
 913 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::ServingConfigService::Client.new do |config|
         
     | 
| 
      
 914 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 915 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 916 
     | 
    
         
            +
                        #
         
     | 
| 
      
 917 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       901 
918 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       902 
919 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       903 
920 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -807,8 +807,6 @@ module Google 
     | 
|
| 
       807 
807 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       808 
808 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       809 
809 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       810 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       811 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       812 
810 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       813 
811 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       814 
812 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -817,7 +815,26 @@ module Google 
     | 
|
| 
       817 
815 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       818 
816 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       819 
817 
     | 
    
         
             
                        #
         
     | 
| 
       820 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 818 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 819 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 820 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 821 
     | 
    
         
            +
                        #
         
     | 
| 
      
 822 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 823 
     | 
    
         
            +
                        #
         
     | 
| 
      
 824 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 825 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 826 
     | 
    
         
            +
                        #
         
     | 
| 
      
 827 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 828 
     | 
    
         
            +
                        #
         
     | 
| 
      
 829 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 830 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 831 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 832 
     | 
    
         
            +
                        #
         
     | 
| 
      
 833 
     | 
    
         
            +
                        #     client = ::Google::Cloud::Retail::V2::UserEventService::Client.new do |config|
         
     | 
| 
      
 834 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 835 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 836 
     | 
    
         
            +
                        #
         
     | 
| 
      
 837 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       821 
838 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       822 
839 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       823 
840 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -134,7 +134,7 @@ module Google 
     | 
|
| 
       134 
134 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       135 
135 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       136 
136 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 137 
     | 
    
         
            +
                        # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       138 
138 
     | 
    
         
             
                        #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       139 
139 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       140 
140 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -147,6 +147,17 @@ module Google 
     | 
|
| 
       147 
147 
     | 
    
         
             
                        #     The standard list page size.
         
     | 
| 
       148 
148 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       149 
149 
     | 
    
         
             
                        #     The standard list page token.
         
     | 
| 
      
 150 
     | 
    
         
            +
                        #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 151 
     | 
    
         
            +
                        #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 152 
     | 
    
         
            +
                        #     and those that are unreachable are returned in the
         
     | 
| 
      
 153 
     | 
    
         
            +
                        #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 154 
     | 
    
         
            +
                        #
         
     | 
| 
      
 155 
     | 
    
         
            +
                        #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 156 
     | 
    
         
            +
                        #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 157 
     | 
    
         
            +
                        #
         
     | 
| 
      
 158 
     | 
    
         
            +
                        #     This field is not by default supported and will result in an
         
     | 
| 
      
 159 
     | 
    
         
            +
                        #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 160 
     | 
    
         
            +
                        #     service or product specific documentation.
         
     | 
| 
       150 
161 
     | 
    
         
             
                        #
         
     | 
| 
       151 
162 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       152 
163 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
         
     | 
| 
         @@ -631,8 +642,6 @@ module Google 
     | 
|
| 
       631 
642 
     | 
    
         
             
                        #   @return [::String,nil]
         
     | 
| 
       632 
643 
     | 
    
         
             
                        # @!attribute [rw] credentials
         
     | 
| 
       633 
644 
     | 
    
         
             
                        #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       634 
     | 
    
         
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       635 
     | 
    
         
            -
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       636 
645 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       637 
646 
     | 
    
         
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       638 
647 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -641,7 +650,26 @@ module Google 
     | 
|
| 
       641 
650 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
651 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
       643 
652 
     | 
    
         
             
                        #
         
     | 
| 
       644 
     | 
    
         
            -
                        #   Warning:  
     | 
| 
      
 653 
     | 
    
         
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 654 
     | 
    
         
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 655 
     | 
    
         
            +
                        #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 656 
     | 
    
         
            +
                        #
         
     | 
| 
      
 657 
     | 
    
         
            +
                        #   @example
         
     | 
| 
      
 658 
     | 
    
         
            +
                        #
         
     | 
| 
      
 659 
     | 
    
         
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 660 
     | 
    
         
            +
                        #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 661 
     | 
    
         
            +
                        #
         
     | 
| 
      
 662 
     | 
    
         
            +
                        #     require "googleauth"
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #     )
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #       config.credentials = credentials
         
     | 
| 
      
 670 
     | 
    
         
            +
                        #     end
         
     | 
| 
      
 671 
     | 
    
         
            +
                        #
         
     | 
| 
      
 672 
     | 
    
         
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       645 
673 
     | 
    
         
             
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       646 
674 
     | 
    
         
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       647 
675 
     | 
    
         
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -125,7 +125,7 @@ module Google 
     | 
|
| 
       125 
125 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       126 
126 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       127 
127 
     | 
    
         
             
                          #
         
     | 
| 
       128 
     | 
    
         
            -
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
         
     | 
| 
      
 128 
     | 
    
         
            +
                          # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
         
     | 
| 
       129 
129 
     | 
    
         
             
                          #   Pass arguments to `list_operations` via keyword arguments. Note that at
         
     | 
| 
       130 
130 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       131 
131 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
         @@ -138,6 +138,17 @@ module Google 
     | 
|
| 
       138 
138 
     | 
    
         
             
                          #     The standard list page size.
         
     | 
| 
       139 
139 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       140 
140 
     | 
    
         
             
                          #     The standard list page token.
         
     | 
| 
      
 141 
     | 
    
         
            +
                          #   @param return_partial_success [::Boolean]
         
     | 
| 
      
 142 
     | 
    
         
            +
                          #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 143 
     | 
    
         
            +
                          #     and those that are unreachable are returned in the
         
     | 
| 
      
 144 
     | 
    
         
            +
                          #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 145 
     | 
    
         
            +
                          #
         
     | 
| 
      
 146 
     | 
    
         
            +
                          #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 147 
     | 
    
         
            +
                          #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 148 
     | 
    
         
            +
                          #
         
     | 
| 
      
 149 
     | 
    
         
            +
                          #     This field is not by default supported and will result in an
         
     | 
| 
      
 150 
     | 
    
         
            +
                          #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 151 
     | 
    
         
            +
                          #     service or product specific documentation.
         
     | 
| 
       141 
152 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       142 
153 
     | 
    
         
             
                          # @yieldparam result [::Gapic::Operation]
         
     | 
| 
       143 
154 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -83,6 +83,18 @@ module Google 
     | 
|
| 
       83 
83 
     | 
    
         
             
                # @!attribute [rw] page_token
         
     | 
| 
       84 
84 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       85 
85 
     | 
    
         
             
                #     The standard list page token.
         
     | 
| 
      
 86 
     | 
    
         
            +
                # @!attribute [rw] return_partial_success
         
     | 
| 
      
 87 
     | 
    
         
            +
                #   @return [::Boolean]
         
     | 
| 
      
 88 
     | 
    
         
            +
                #     When set to `true`, operations that are reachable are returned as normal,
         
     | 
| 
      
 89 
     | 
    
         
            +
                #     and those that are unreachable are returned in the
         
     | 
| 
      
 90 
     | 
    
         
            +
                #     [ListOperationsResponse.unreachable] field.
         
     | 
| 
      
 91 
     | 
    
         
            +
                #
         
     | 
| 
      
 92 
     | 
    
         
            +
                #     This can only be `true` when reading across collections e.g. when `parent`
         
     | 
| 
      
 93 
     | 
    
         
            +
                #     is set to `"projects/example/locations/-"`.
         
     | 
| 
      
 94 
     | 
    
         
            +
                #
         
     | 
| 
      
 95 
     | 
    
         
            +
                #     This field is not by default supported and will result in an
         
     | 
| 
      
 96 
     | 
    
         
            +
                #     `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
         
     | 
| 
      
 97 
     | 
    
         
            +
                #     service or product specific documentation.
         
     | 
| 
       86 
98 
     | 
    
         
             
                class ListOperationsRequest
         
     | 
| 
       87 
99 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       88 
100 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -96,6 +108,12 @@ module Google 
     | 
|
| 
       96 
108 
     | 
    
         
             
                # @!attribute [rw] next_page_token
         
     | 
| 
       97 
109 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       98 
110 
     | 
    
         
             
                #     The standard List next-page token.
         
     | 
| 
      
 111 
     | 
    
         
            +
                # @!attribute [rw] unreachable
         
     | 
| 
      
 112 
     | 
    
         
            +
                #   @return [::Array<::String>]
         
     | 
| 
      
 113 
     | 
    
         
            +
                #     Unordered list. Unreachable resources. Populated when the request sets
         
     | 
| 
      
 114 
     | 
    
         
            +
                #     `ListOperationsRequest.return_partial_success` and reads across
         
     | 
| 
      
 115 
     | 
    
         
            +
                #     collections e.g. when attempting to list all resources across all supported
         
     | 
| 
      
 116 
     | 
    
         
            +
                #     locations.
         
     | 
| 
       99 
117 
     | 
    
         
             
                class ListOperationsResponse
         
     | 
| 
       100 
118 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       101 
119 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     |