google-apis-translate_v3beta1 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: c00a26a9b3fd16f84d0f17cdf5ed2aad9b6bc8ab84de970d80736509895af0b9
         | 
| 4 | 
            +
              data.tar.gz: dabc777dd5b1b5f09e3ddd51ce72f67957325f6474944d1836725c5421d55aa7
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: '0785ff808778da6c0811f387bc7dc54d254c2e359e3cc7908c3711381b2db7d7f3bf160091ef28c844994d7f1b8feb98b2691756e4f67d6ba9e2ba2906b21df6'
         | 
| 7 | 
            +
              data.tar.gz: 639479c841d047e2c88a15df01540f9947cd067104f241b1baa1b4e546e00a4f54baa9b2e35b06fed907b2c45e99d51b9fbd35a4094929c63288a08764753801
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-translate_v3beta1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.26.0 (2023-04-16)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20230403
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.25.0 (2023-03-12)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20230303
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.24.0 (2023-02-19)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20230210
         | 
| @@ -72,6 +72,14 @@ module Google | |
| 72 72 | 
             
                    # @return [String]
         | 
| 73 73 | 
             
                    attr_accessor :customized_attribution
         | 
| 74 74 |  | 
| 75 | 
            +
                    # Optional. If true, use the text removal server to remove the shadow text on
         | 
| 76 | 
            +
                    # background image for native pdf translation. Shadow removal feature can only
         | 
| 77 | 
            +
                    # be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
         | 
| 78 | 
            +
                    # Corresponds to the JSON property `enableShadowRemovalNativePdf`
         | 
| 79 | 
            +
                    # @return [Boolean]
         | 
| 80 | 
            +
                    attr_accessor :enable_shadow_removal_native_pdf
         | 
| 81 | 
            +
                    alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
         | 
| 82 | 
            +
                  
         | 
| 75 83 | 
             
                    # Optional.
         | 
| 76 84 | 
             
                    # Corresponds to the JSON property `formatConversions`
         | 
| 77 85 | 
             
                    # @return [Hash<String,String>]
         | 
| @@ -126,6 +134,7 @@ module Google | |
| 126 134 | 
             
                    # Update properties of this object
         | 
| 127 135 | 
             
                    def update!(**args)
         | 
| 128 136 | 
             
                      @customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
         | 
| 137 | 
            +
                      @enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
         | 
| 129 138 | 
             
                      @format_conversions = args[:format_conversions] if args.key?(:format_conversions)
         | 
| 130 139 | 
             
                      @glossaries = args[:glossaries] if args.key?(:glossaries)
         | 
| 131 140 | 
             
                      @input_configs = args[:input_configs] if args.key?(:input_configs)
         | 
| @@ -953,6 +962,12 @@ module Google | |
| 953 962 | 
             
                    # @return [Google::Apis::TranslateV3beta1::DocumentOutputConfig]
         | 
| 954 963 | 
             
                    attr_accessor :document_output_config
         | 
| 955 964 |  | 
| 965 | 
            +
                    # Optional. If true, enable auto rotation correction in DVS.
         | 
| 966 | 
            +
                    # Corresponds to the JSON property `enableRotationCorrection`
         | 
| 967 | 
            +
                    # @return [Boolean]
         | 
| 968 | 
            +
                    attr_accessor :enable_rotation_correction
         | 
| 969 | 
            +
                    alias_method :enable_rotation_correction?, :enable_rotation_correction
         | 
| 970 | 
            +
                  
         | 
| 956 971 | 
             
                    # Optional. If true, use the text removal server to remove the shadow text on
         | 
| 957 972 | 
             
                    # background image for native pdf translation. Shadow removal feature can only
         | 
| 958 973 | 
             
                    # be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
         | 
| @@ -1019,6 +1034,7 @@ module Google | |
| 1019 1034 | 
             
                      @customized_attribution = args[:customized_attribution] if args.key?(:customized_attribution)
         | 
| 1020 1035 | 
             
                      @document_input_config = args[:document_input_config] if args.key?(:document_input_config)
         | 
| 1021 1036 | 
             
                      @document_output_config = args[:document_output_config] if args.key?(:document_output_config)
         | 
| 1037 | 
            +
                      @enable_rotation_correction = args[:enable_rotation_correction] if args.key?(:enable_rotation_correction)
         | 
| 1022 1038 | 
             
                      @enable_shadow_removal_native_pdf = args[:enable_shadow_removal_native_pdf] if args.key?(:enable_shadow_removal_native_pdf)
         | 
| 1023 1039 | 
             
                      @glossary_config = args[:glossary_config] if args.key?(:glossary_config)
         | 
| 1024 1040 | 
             
                      @is_translate_native_pdf_only = args[:is_translate_native_pdf_only] if args.key?(:is_translate_native_pdf_only)
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module TranslateV3beta1
         | 
| 18 18 | 
             
                  # Version of the google-apis-translate_v3beta1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.26.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.12.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20230403"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -252,6 +252,7 @@ module Google | |
| 252 252 | 
             
                    # @private
         | 
| 253 253 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 254 254 | 
             
                      property :customized_attribution, as: 'customizedAttribution'
         | 
| 255 | 
            +
                      property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
         | 
| 255 256 | 
             
                      hash :format_conversions, as: 'formatConversions'
         | 
| 256 257 | 
             
                      hash :glossaries, as: 'glossaries', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
         | 
| 257 258 |  | 
| @@ -502,6 +503,7 @@ module Google | |
| 502 503 |  | 
| 503 504 | 
             
                      property :document_output_config, as: 'documentOutputConfig', class: Google::Apis::TranslateV3beta1::DocumentOutputConfig, decorator: Google::Apis::TranslateV3beta1::DocumentOutputConfig::Representation
         | 
| 504 505 |  | 
| 506 | 
            +
                      property :enable_rotation_correction, as: 'enableRotationCorrection'
         | 
| 505 507 | 
             
                      property :enable_shadow_removal_native_pdf, as: 'enableShadowRemovalNativePdf'
         | 
| 506 508 | 
             
                      property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig, decorator: Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig::Representation
         | 
| 507 509 |  | 
| @@ -752,13 +752,7 @@ module Google | |
| 752 752 | 
             
                    end
         | 
| 753 753 |  | 
| 754 754 | 
             
                    # Lists operations that match the specified filter in the request. If the server
         | 
| 755 | 
            -
                    # doesn't support this method, it returns `UNIMPLEMENTED`. | 
| 756 | 
            -
                    # binding allows API services to override the binding to use different resource
         | 
| 757 | 
            -
                    # name schemes, such as `users/*/operations`. To override the binding, API
         | 
| 758 | 
            -
                    # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
         | 
| 759 | 
            -
                    # service configuration. For backwards compatibility, the default name includes
         | 
| 760 | 
            -
                    # the operations collection id, however overriding users must ensure the name
         | 
| 761 | 
            -
                    # binding is the parent resource, without the operations collection id.
         | 
| 755 | 
            +
                    # doesn't support this method, it returns `UNIMPLEMENTED`.
         | 
| 762 756 | 
             
                    # @param [String] name
         | 
| 763 757 | 
             
                    #   The name of the operation's parent resource.
         | 
| 764 758 | 
             
                    # @param [String] filter
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-translate_v3beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.26.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-04-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.26.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |