google-cloud-optimization-v1 0.10.0 → 0.11.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 +4 -4
 - data/README.md +1 -1
 - data/lib/google/cloud/optimization/v1/fleet_routing/client.rb +7 -0
 - data/lib/google/cloud/optimization/v1/fleet_routing/operations.rb +7 -0
 - data/lib/google/cloud/optimization/v1/fleet_routing/rest/client.rb +7 -0
 - data/lib/google/cloud/optimization/v1/fleet_routing/rest/operations.rb +7 -0
 - data/lib/google/cloud/optimization/v1/version.rb +1 -1
 - data/proto_docs/google/cloud/optimization/v1/fleet_routing.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: 53f425f901f1b9ba39ebe4e368925dacb2f2ac6a0c3fa2b891fe5174a1b3e50a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4379902e783202b7f4502bca4fcf601178e58b1f490e8a26a3b2f75a408c42b0
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 43d7b9b6ac3b97679377ea8d477f611c05477d82804386611f4f5989290ae277334f18e4f3a1cce59df7c2e16bfdbe43c2e1fa955dadd9124a4eec63b94b6f4b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: aebf21d15fead4370317821d671b785b7037a9245b4dfe6e650eaf6ffd96bbd5ca468a332fcab3c7a850824f4519bbc0871fcf3bdacbe57049e04a280ee57a2f
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g 
     | 
|
| 
       85 
85 
     | 
    
         | 
| 
       86 
86 
     | 
    
         
             
            ## Supported Ruby Versions
         
     | 
| 
       87 
87 
     | 
    
         | 
| 
       88 
     | 
    
         
            -
            This library is supported on Ruby  
     | 
| 
      
 88 
     | 
    
         
            +
            This library is supported on Ruby 3.0+.
         
     | 
| 
       89 
89 
     | 
    
         | 
| 
       90 
90 
     | 
    
         
             
            Google provides official support for Ruby versions that are actively supported
         
     | 
| 
       91 
91 
     | 
    
         
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         
     | 
| 
         @@ -660,6 +660,13 @@ module Google 
     | 
|
| 
       660 
660 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       661 
661 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       662 
662 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 665 
     | 
    
         
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 666 
     | 
    
         
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 667 
     | 
    
         
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 668 
     | 
    
         
            +
                        #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 669 
     | 
    
         
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       663 
670 
     | 
    
         
             
                        #   @return [::Object]
         
     | 
| 
       664 
671 
     | 
    
         
             
                        # @!attribute [rw] scope
         
     | 
| 
       665 
672 
     | 
    
         
             
                        #   The OAuth scopes
         
     | 
| 
         @@ -640,6 +640,13 @@ module Google 
     | 
|
| 
       640 
640 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       641 
641 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       642 
642 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 643 
     | 
    
         
            +
                        #
         
     | 
| 
      
 644 
     | 
    
         
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 645 
     | 
    
         
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 646 
     | 
    
         
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 647 
     | 
    
         
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 648 
     | 
    
         
            +
                        #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 649 
     | 
    
         
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       643 
650 
     | 
    
         
             
                        #   @return [::Object]
         
     | 
| 
       644 
651 
     | 
    
         
             
                        # @!attribute [rw] scope
         
     | 
| 
       645 
652 
     | 
    
         
             
                        #   The OAuth scopes
         
     | 
| 
         @@ -637,6 +637,13 @@ module Google 
     | 
|
| 
       637 
637 
     | 
    
         
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       638 
638 
     | 
    
         
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       639 
639 
     | 
    
         
             
                          #    *  (`nil`) indicating no credentials
         
     | 
| 
      
 640 
     | 
    
         
            +
                          #
         
     | 
| 
      
 641 
     | 
    
         
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 642 
     | 
    
         
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 643 
     | 
    
         
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 644 
     | 
    
         
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 645 
     | 
    
         
            +
                          #   For more information, refer to [Validate credential configurations from external
         
     | 
| 
      
 646 
     | 
    
         
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         
     | 
| 
       640 
647 
     | 
    
         
             
                          #   @return [::Object]
         
     | 
| 
       641 
648 
     | 
    
         
             
                          # @!attribute [rw] scope
         
     | 
| 
       642 
649 
     | 
    
         
             
                          #   The OAuth scopes
         
     | 
| 
         @@ -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
         
     | 
| 
         @@ -1729,9 +1729,13 @@ module Google 
     | 
|
| 
       1729 
1729 
     | 
    
         
             
                    #   @return [::Google::Cloud::Optimization::V1::Location]
         
     | 
| 
       1730 
1730 
     | 
    
         
             
                    #     A point specified using geographic coordinates, including an optional
         
     | 
| 
       1731 
1731 
     | 
    
         
             
                    #     heading.
         
     | 
| 
      
 1732 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1733 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `location`, `place_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       1732 
1734 
     | 
    
         
             
                    # @!attribute [rw] place_id
         
     | 
| 
       1733 
1735 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       1734 
1736 
     | 
    
         
             
                    #     The POI Place ID associated with the waypoint.
         
     | 
| 
      
 1737 
     | 
    
         
            +
                    #
         
     | 
| 
      
 1738 
     | 
    
         
            +
                    #     Note: The following fields are mutually exclusive: `place_id`, `location`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       1735 
1739 
     | 
    
         
             
                    # @!attribute [rw] side_of_road
         
     | 
| 
       1736 
1740 
     | 
    
         
             
                    #   @return [::Boolean]
         
     | 
| 
       1737 
1741 
     | 
    
         
             
                    #     Indicates that the location of this waypoint is meant to have a preference
         
     | 
| 
         @@ -2946,9 +2950,13 @@ module Google 
     | 
|
| 
       2946 
2950 
     | 
    
         
             
                      # @!attribute [rw] index
         
     | 
| 
       2947 
2951 
     | 
    
         
             
                      #   @return [::Integer]
         
     | 
| 
       2948 
2952 
     | 
    
         
             
                      #     Index of the field if repeated.
         
     | 
| 
      
 2953 
     | 
    
         
            +
                      #
         
     | 
| 
      
 2954 
     | 
    
         
            +
                      #     Note: The following fields are mutually exclusive: `index`, `key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       2949 
2955 
     | 
    
         
             
                      # @!attribute [rw] key
         
     | 
| 
       2950 
2956 
     | 
    
         
             
                      #   @return [::String]
         
     | 
| 
       2951 
2957 
     | 
    
         
             
                      #     Key if the field is a map.
         
     | 
| 
      
 2958 
     | 
    
         
            +
                      #
         
     | 
| 
      
 2959 
     | 
    
         
            +
                      #     Note: The following fields are mutually exclusive: `key`, `index`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         
     | 
| 
       2952 
2960 
     | 
    
         
             
                      # @!attribute [rw] sub_field
         
     | 
| 
       2953 
2961 
     | 
    
         
             
                      #   @return [::Google::Cloud::Optimization::V1::OptimizeToursValidationError::FieldReference]
         
     | 
| 
       2954 
2962 
     | 
    
         
             
                      #     Recursively nested sub-field, if needed.
         
     | 
| 
         @@ -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-optimization-v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.11.0
         
     | 
| 
       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: 2025-01-29 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
         
     | 
| 
         @@ -91,7 +90,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby 
     | 
|
| 
       91 
90 
     | 
    
         
             
            licenses:
         
     | 
| 
       92 
91 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       93 
92 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       94 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       95 
93 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       96 
94 
     | 
    
         
             
            require_paths:
         
     | 
| 
       97 
95 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -99,15 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       99 
97 
     | 
    
         
             
              requirements:
         
     | 
| 
       100 
98 
     | 
    
         
             
              - - ">="
         
     | 
| 
       101 
99 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       102 
     | 
    
         
            -
                  version: ' 
     | 
| 
      
 100 
     | 
    
         
            +
                  version: '3.0'
         
     | 
| 
       103 
101 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       104 
102 
     | 
    
         
             
              requirements:
         
     | 
| 
       105 
103 
     | 
    
         
             
              - - ">="
         
     | 
| 
       106 
104 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       107 
105 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       108 
106 
     | 
    
         
             
            requirements: []
         
     | 
| 
       109 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       110 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 107 
     | 
    
         
            +
            rubygems_version: 3.6.2
         
     | 
| 
       111 
108 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       112 
109 
     | 
    
         
             
            summary: Cloud Optimization API provides a portfolio of solvers to address common
         
     | 
| 
       113 
110 
     | 
    
         
             
              optimization use cases starting with optimal route planning for vehicle fleets.
         
     |