google-cloud-speech-v1 1.1.0 → 1.2.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/README.md +1 -1
 - data/lib/google/cloud/speech/v1/adaptation/client.rb +9 -2
 - data/lib/google/cloud/speech/v1/adaptation/rest/client.rb +8 -1
 - data/lib/google/cloud/speech/v1/speech/client.rb +9 -2
 - data/lib/google/cloud/speech/v1/speech/operations.rb +9 -2
 - data/lib/google/cloud/speech/v1/speech/rest/client.rb +8 -1
 - data/lib/google/cloud/speech/v1/speech/rest/operations.rb +8 -1
 - data/lib/google/cloud/speech/v1/version.rb +1 -1
 - data/proto_docs/google/api/client.rb +14 -0
 - data/proto_docs/google/cloud/speech/v1/cloud_speech.rb +8 -0
 - data/proto_docs/google/longrunning/operations.rb +4 -0
 - metadata +6 -9
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 05f13cf87e7155c6c01b1fa7f84d6b8c52960376f2709661dcbc6ebe9646f78d
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4e7b8fa506f8e6f3590dedc6a5c4f7de4cbc5d06ed9071e6a3e877d8a43f5bb2
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 12cc7886f714822095b133223ee6ad0fdc7887921ff15fb0efd8884fa0167318be2a3f5e9619453a4bc9e00a0a0dee52e0e31c4af9c243a579c58e96176082b9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 7ea1bb12a1f2ca3227a1254e6a8715864a2875093e77f0d1ca98c219c02c474e7ddb82257650444a62071a66894515f2779baaa57d80fa8900e57b6aef313bab
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 
     | 
|
| 
       86 
86 
     | 
    
         | 
| 
       87 
87 
     | 
    
         
             
            ## Supported Ruby Versions
         
     | 
| 
       88 
88 
     | 
    
         | 
| 
       89 
     | 
    
         
            -
            This library is supported on Ruby  
     | 
| 
      
 89 
     | 
    
         
            +
            This library is supported on Ruby 3.0+.
         
     | 
| 
       90 
90 
     | 
    
         | 
| 
       91 
91 
     | 
    
         
             
            Google provides official support for Ruby versions that are actively supported
         
     | 
| 
       92 
92 
     | 
    
         
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         
     | 
| 
         @@ -1209,6 +1209,13 @@ module Google 
     | 
|
| 
       1209 
1209 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       1210 
1210 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       1211 
1211 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 1212 
     | 
    
         
            +
                        #
         
     | 
| 
      
 1213 
     | 
    
         
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 1214 
     | 
    
         
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 1215 
     | 
    
         
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 1216 
     | 
    
         
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1217 
     | 
    
         
            +
                        #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 1218 
     | 
    
         
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       1212 
1219 
     | 
    
         
             
                        #   @return [::Object]
         
     | 
| 
       1213 
1220 
     | 
    
         
             
                        # @!attribute [rw] scope
         
     | 
| 
       1214 
1221 
     | 
    
         
             
                        #   The OAuth scopes
         
     | 
| 
         @@ -1263,8 +1270,8 @@ module Google 
     | 
|
| 
       1263 
1270 
     | 
    
         | 
| 
       1264 
1271 
     | 
    
         
             
                          config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       1265 
1272 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       1266 
     | 
    
         
            -
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       1267 
     | 
    
         
            -
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
      
 1273 
     | 
    
         
            +
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 1274 
     | 
    
         
            +
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
         
     | 
| 
       1268 
1275 
     | 
    
         
             
                            allowed.any? { |klass| klass === value }
         
     | 
| 
       1269 
1276 
     | 
    
         
             
                          end
         
     | 
| 
       1270 
1277 
     | 
    
         
             
                          config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -1130,6 +1130,13 @@ module Google 
     | 
|
| 
       1130 
1130 
     | 
    
         
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       1131 
1131 
     | 
    
         
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       1132 
1132 
     | 
    
         
             
                          #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 1133 
     | 
    
         
            +
                          #
         
     | 
| 
      
 1134 
     | 
    
         
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 1135 
     | 
    
         
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 1136 
     | 
    
         
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 1137 
     | 
    
         
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 1138 
     | 
    
         
            +
                          #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 1139 
     | 
    
         
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       1133 
1140 
     | 
    
         
             
                          #   @return [::Object]
         
     | 
| 
       1134 
1141 
     | 
    
         
             
                          # @!attribute [rw] scope
         
     | 
| 
       1135 
1142 
     | 
    
         
             
                          #   The OAuth scopes
         
     | 
| 
         @@ -1177,7 +1184,7 @@ module Google 
     | 
|
| 
       1177 
1184 
     | 
    
         | 
| 
       1178 
1185 
     | 
    
         
             
                            config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       1179 
1186 
     | 
    
         
             
                            config_attr :credentials,   nil do |value|
         
     | 
| 
       1180 
     | 
    
         
            -
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 1187 
     | 
    
         
            +
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       1181 
1188 
     | 
    
         
             
                              allowed.any? { |klass| klass === value }
         
     | 
| 
       1182 
1189 
     | 
    
         
             
                            end
         
     | 
| 
       1183 
1190 
     | 
    
         
             
                            config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -509,6 +509,13 @@ module Google 
     | 
|
| 
       509 
509 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       510 
510 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       511 
511 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 512 
     | 
    
         
            +
                        #
         
     | 
| 
      
 513 
     | 
    
         
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 514 
     | 
    
         
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 515 
     | 
    
         
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 516 
     | 
    
         
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 517 
     | 
    
         
            +
                        #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 518 
     | 
    
         
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       512 
519 
     | 
    
         
             
                        #   @return [::Object]
         
     | 
| 
       513 
520 
     | 
    
         
             
                        # @!attribute [rw] scope
         
     | 
| 
       514 
521 
     | 
    
         
             
                        #   The OAuth scopes
         
     | 
| 
         @@ -563,8 +570,8 @@ module Google 
     | 
|
| 
       563 
570 
     | 
    
         | 
| 
       564 
571 
     | 
    
         
             
                          config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       565 
572 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       566 
     | 
    
         
            -
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       567 
     | 
    
         
            -
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
      
 573 
     | 
    
         
            +
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 574 
     | 
    
         
            +
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
         
     | 
| 
       568 
575 
     | 
    
         
             
                            allowed.any? { |klass| klass === value }
         
     | 
| 
       569 
576 
     | 
    
         
             
                          end
         
     | 
| 
       570 
577 
     | 
    
         
             
                          config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -632,6 +632,13 @@ module Google 
     | 
|
| 
       632 
632 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       633 
633 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       634 
634 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 635 
     | 
    
         
            +
                        #
         
     | 
| 
      
 636 
     | 
    
         
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 637 
     | 
    
         
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 638 
     | 
    
         
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 639 
     | 
    
         
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 640 
     | 
    
         
            +
                        #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 641 
     | 
    
         
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       635 
642 
     | 
    
         
             
                        #   @return [::Object]
         
     | 
| 
       636 
643 
     | 
    
         
             
                        # @!attribute [rw] scope
         
     | 
| 
       637 
644 
     | 
    
         
             
                        #   The OAuth scopes
         
     | 
| 
         @@ -686,8 +693,8 @@ module Google 
     | 
|
| 
       686 
693 
     | 
    
         | 
| 
       687 
694 
     | 
    
         
             
                          config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       688 
695 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       689 
     | 
    
         
            -
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       690 
     | 
    
         
            -
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
      
 696 
     | 
    
         
            +
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 697 
     | 
    
         
            +
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
         
     | 
| 
       691 
698 
     | 
    
         
             
                            allowed.any? { |klass| klass === value }
         
     | 
| 
       692 
699 
     | 
    
         
             
                          end
         
     | 
| 
       693 
700 
     | 
    
         
             
                          config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -418,6 +418,13 @@ module Google 
     | 
|
| 
       418 
418 
     | 
    
         
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       419 
419 
     | 
    
         
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       420 
420 
     | 
    
         
             
                          #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 421 
     | 
    
         
            +
                          #
         
     | 
| 
      
 422 
     | 
    
         
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 423 
     | 
    
         
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 424 
     | 
    
         
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 425 
     | 
    
         
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 426 
     | 
    
         
            +
                          #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 427 
     | 
    
         
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       421 
428 
     | 
    
         
             
                          #   @return [::Object]
         
     | 
| 
       422 
429 
     | 
    
         
             
                          # @!attribute [rw] scope
         
     | 
| 
       423 
430 
     | 
    
         
             
                          #   The OAuth scopes
         
     | 
| 
         @@ -465,7 +472,7 @@ module Google 
     | 
|
| 
       465 
472 
     | 
    
         | 
| 
       466 
473 
     | 
    
         
             
                            config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       467 
474 
     | 
    
         
             
                            config_attr :credentials,   nil do |value|
         
     | 
| 
       468 
     | 
    
         
            -
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 475 
     | 
    
         
            +
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       469 
476 
     | 
    
         
             
                              allowed.any? { |klass| klass === value }
         
     | 
| 
       470 
477 
     | 
    
         
             
                            end
         
     | 
| 
       471 
478 
     | 
    
         
             
                            config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -502,6 +502,13 @@ module Google 
     | 
|
| 
       502 
502 
     | 
    
         
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       503 
503 
     | 
    
         
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       504 
504 
     | 
    
         
             
                          #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 505 
     | 
    
         
            +
                          #
         
     | 
| 
      
 506 
     | 
    
         
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 507 
     | 
    
         
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 508 
     | 
    
         
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 509 
     | 
    
         
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 510 
     | 
    
         
            +
                          #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 511 
     | 
    
         
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       505 
512 
     | 
    
         
             
                          #   @return [::Object]
         
     | 
| 
       506 
513 
     | 
    
         
             
                          # @!attribute [rw] scope
         
     | 
| 
       507 
514 
     | 
    
         
             
                          #   The OAuth scopes
         
     | 
| 
         @@ -549,7 +556,7 @@ module Google 
     | 
|
| 
       549 
556 
     | 
    
         | 
| 
       550 
557 
     | 
    
         
             
                            config_attr :endpoint,      nil, ::String, nil
         
     | 
| 
       551 
558 
     | 
    
         
             
                            config_attr :credentials,   nil do |value|
         
     | 
| 
       552 
     | 
    
         
            -
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
      
 559 
     | 
    
         
            +
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       553 
560 
     | 
    
         
             
                              allowed.any? { |klass| klass === value }
         
     | 
| 
       554 
561 
     | 
    
         
             
                            end
         
     | 
| 
       555 
562 
     | 
    
         
             
                            config_attr :scope,         nil, ::String, ::Array, nil
         
     | 
| 
         @@ -221,6 +221,12 @@ module Google 
     | 
|
| 
       221 
221 
     | 
    
         
             
                  #     Pythonic which are included in `protobuf>=5.29.x`. This feature will be
         
     | 
| 
       222 
222 
     | 
    
         
             
                  #     enabled by default 1 month after launching the feature in preview
         
     | 
| 
       223 
223 
     | 
    
         
             
                  #     packages.
         
     | 
| 
      
 224 
     | 
    
         
            +
                  # @!attribute [rw] unversioned_package_disabled
         
     | 
| 
      
 225 
     | 
    
         
            +
                  #   @return [::Boolean]
         
     | 
| 
      
 226 
     | 
    
         
            +
                  #     Disables generation of an unversioned Python package for this client
         
     | 
| 
      
 227 
     | 
    
         
            +
                  #     library. This means that the module names will need to be versioned in
         
     | 
| 
      
 228 
     | 
    
         
            +
                  #     import statements. For example `import google.cloud.library_v2` instead
         
     | 
| 
      
 229 
     | 
    
         
            +
                  #     of `import google.cloud.library`.
         
     | 
| 
       224 
230 
     | 
    
         
             
                  class ExperimentalFeatures
         
     | 
| 
       225 
231 
     | 
    
         
             
                    include ::Google::Protobuf::MessageExts
         
     | 
| 
       226 
232 
     | 
    
         
             
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -409,6 +415,14 @@ module Google 
     | 
|
| 
       409 
415 
     | 
    
         
             
                #   @return [::Array<::String>]
         
     | 
| 
       410 
416 
     | 
    
         
             
                #     An allowlist of the fully qualified names of RPCs that should be included
         
     | 
| 
       411 
417 
     | 
    
         
             
                #     on public client surfaces.
         
     | 
| 
      
 418 
     | 
    
         
            +
                # @!attribute [rw] generate_omitted_as_internal
         
     | 
| 
      
 419 
     | 
    
         
            +
                #   @return [::Boolean]
         
     | 
| 
      
 420 
     | 
    
         
            +
                #     Setting this to true indicates to the client generators that methods
         
     | 
| 
      
 421 
     | 
    
         
            +
                #     that would be excluded from the generation should instead be generated
         
     | 
| 
      
 422 
     | 
    
         
            +
                #     in a way that indicates these methods should not be consumed by
         
     | 
| 
      
 423 
     | 
    
         
            +
                #     end users. How this is expressed is up to individual language
         
     | 
| 
      
 424 
     | 
    
         
            +
                #     implementations to decide. Some examples may be: added annotations,
         
     | 
| 
      
 425 
     | 
    
         
            +
                #     obfuscated identifiers, or other language idiomatic patterns.
         
     | 
| 
       412 
426 
     | 
    
         
             
                class SelectiveGapicGeneration
         
     | 
| 
       413 
427 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       414 
428 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -72,6 +72,8 @@ module Google 
     | 
|
| 
       72 
72 
     | 
    
         
             
                    #     Provides information to the recognizer that specifies how to process the
         
     | 
| 
       73 
73 
     | 
    
         
             
                    #     request. The first `StreamingRecognizeRequest` message must contain a
         
     | 
| 
       74 
74 
     | 
    
         
             
                    #     `streaming_config`  message.
         
     | 
| 
      
 75 
     | 
    
         
            +
                    #
         
     | 
| 
      
 76 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `streaming_config`, `audio_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       75 
77 
     | 
    
         
             
                    # @!attribute [rw] audio_content
         
     | 
| 
       76 
78 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       77 
79 
     | 
    
         
             
                    #     The audio data to be recognized. Sequential chunks of audio data are sent
         
     | 
| 
         @@ -82,6 +84,8 @@ module Google 
     | 
|
| 
       82 
84 
     | 
    
         
             
                    #     `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
         
     | 
| 
       83 
85 
     | 
    
         
             
                    #     pure binary representation (not base64). See
         
     | 
| 
       84 
86 
     | 
    
         
             
                    #     [content limits](https://cloud.google.com/speech-to-text/quotas#content).
         
     | 
| 
      
 87 
     | 
    
         
            +
                    #
         
     | 
| 
      
 88 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `audio_content`, `streaming_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       85 
89 
     | 
    
         
             
                    class StreamingRecognizeRequest
         
     | 
| 
       86 
90 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
       87 
91 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -630,6 +634,8 @@ module Google 
     | 
|
| 
       630 
634 
     | 
    
         
             
                    #     The audio data bytes encoded as specified in
         
     | 
| 
       631 
635 
     | 
    
         
             
                    #     `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
         
     | 
| 
       632 
636 
     | 
    
         
             
                    #     pure binary representation, whereas JSON representations use base64.
         
     | 
| 
      
 637 
     | 
    
         
            +
                    #
         
     | 
| 
      
 638 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `content`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       633 
639 
     | 
    
         
             
                    # @!attribute [rw] uri
         
     | 
| 
       634 
640 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       635 
641 
     | 
    
         
             
                    #     URI that points to a file that contains audio data bytes as specified in
         
     | 
| 
         @@ -640,6 +646,8 @@ module Google 
     | 
|
| 
       640 
646 
     | 
    
         
             
                    #     [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
         
     | 
| 
       641 
647 
     | 
    
         
             
                    #     For more information, see [Request
         
     | 
| 
       642 
648 
     | 
    
         
             
                    #     URIs](https://cloud.google.com/storage/docs/reference-uris).
         
     | 
| 
      
 649 
     | 
    
         
            +
                    #
         
     | 
| 
      
 650 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `uri`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       643 
651 
     | 
    
         
             
                    class RecognitionAudio
         
     | 
| 
       644 
652 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
       645 
653 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -40,6 +40,8 @@ module Google 
     | 
|
| 
       40 
40 
     | 
    
         
             
                # @!attribute [rw] error
         
     | 
| 
       41 
41 
     | 
    
         
             
                #   @return [::Google::Rpc::Status]
         
     | 
| 
       42 
42 
     | 
    
         
             
                #     The error result of the operation in case of failure or cancellation.
         
     | 
| 
      
 43 
     | 
    
         
            +
                #
         
     | 
| 
      
 44 
     | 
    
         
            +
                #     Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       43 
45 
     | 
    
         
             
                # @!attribute [rw] response
         
     | 
| 
       44 
46 
     | 
    
         
             
                #   @return [::Google::Protobuf::Any]
         
     | 
| 
       45 
47 
     | 
    
         
             
                #     The normal, successful response of the operation.  If the original
         
     | 
| 
         @@ -50,6 +52,8 @@ module Google 
     | 
|
| 
       50 
52 
     | 
    
         
             
                #     is the original method name.  For example, if the original method name
         
     | 
| 
       51 
53 
     | 
    
         
             
                #     is `TakeSnapshot()`, the inferred response type is
         
     | 
| 
       52 
54 
     | 
    
         
             
                #     `TakeSnapshotResponse`.
         
     | 
| 
      
 55 
     | 
    
         
            +
                #
         
     | 
| 
      
 56 
     | 
    
         
            +
                #     Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       53 
57 
     | 
    
         
             
                class Operation
         
     | 
| 
       54 
58 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       55 
59 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-speech-v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.2.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
         
     | 
| 
       9 
8 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 10 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       12 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
13 
     | 
    
         
             
              name: gapic-common
         
     | 
| 
         @@ -16,7 +15,7 @@ dependencies: 
     | 
|
| 
       16 
15 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
16 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
17 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 18 
     | 
    
         
            +
                    version: 0.25.0
         
     | 
| 
       20 
19 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
20 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
21 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -26,7 +25,7 @@ dependencies: 
     | 
|
| 
       26 
25 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
26 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
27 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 28 
     | 
    
         
            +
                    version: 0.25.0
         
     | 
| 
       30 
29 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
30 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
31 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -106,7 +105,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby 
     | 
|
| 
       106 
105 
     | 
    
         
             
            licenses:
         
     | 
| 
       107 
106 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       108 
107 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       109 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       110 
108 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       111 
109 
     | 
    
         
             
            require_paths:
         
     | 
| 
       112 
110 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -114,15 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       114 
112 
     | 
    
         
             
              requirements:
         
     | 
| 
       115 
113 
     | 
    
         
             
              - - ">="
         
     | 
| 
       116 
114 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       117 
     | 
    
         
            -
                  version: ' 
     | 
| 
      
 115 
     | 
    
         
            +
                  version: '3.0'
         
     | 
| 
       118 
116 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       119 
117 
     | 
    
         
             
              requirements:
         
     | 
| 
       120 
118 
     | 
    
         
             
              - - ">="
         
     | 
| 
       121 
119 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       122 
120 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       123 
121 
     | 
    
         
             
            requirements: []
         
     | 
| 
       124 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       125 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 122 
     | 
    
         
            +
            rubygems_version: 3.6.8
         
     | 
| 
       126 
123 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       127 
124 
     | 
    
         
             
            summary: Converts audio to text by applying powerful neural network models.
         
     | 
| 
       128 
125 
     | 
    
         
             
            test_files: []
         
     |