google-apis-firestore_v1beta1 0.31.0 → 0.33.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: aae0a232d8df396c19747bd0ac8281cf3f1fd9410248df8048d2bfa7d434a836
         | 
| 4 | 
            +
              data.tar.gz: f39e0fc8f076b8a5daef6db65d65c2a03122841f9425ec05ba0a045396d45360
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6e0ce11834d12fce8a486a61f54684b85f8442d3936d59d200bde2c40da5e82791443f2b6b3d69d7a499f9b16632ecb6cab0a49e6c230462052356a7fdc63fe6
         | 
| 7 | 
            +
              data.tar.gz: 0e5530f782c77ec5a24f7ff153cb4d1232c3eac7f33159741b2f9c3c7908ba211a2d909c862a9619083a258d73792bcd15cda0b3c885591b6bd8dd21a987aec1
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Release history for google-apis-firestore_v1beta1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.33.0 (2023-09-10)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated from discovery document revision 20230905
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.32.0 (2023-08-13)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Regenerated from discovery document revision 20230806
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ### v0.31.0 (2023-08-06)
         | 
| 4 12 |  | 
| 5 13 | 
             
            * Regenerated from discovery document revision 20230729
         | 
| @@ -40,8 +40,9 @@ module Google | |
| 40 40 |  | 
| 41 41 | 
             
                    # Average of the values of the requested field. * Only numeric values will be
         | 
| 42 42 | 
             
                    # aggregated. All non-numeric values including `NULL` are skipped. * If the
         | 
| 43 | 
            -
                    # aggregated values contain `NaN`, returns `NaN`.  | 
| 44 | 
            -
                    # is empty, returns `NULL`. * Always | 
| 43 | 
            +
                    # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
         | 
| 44 | 
            +
                    # standards. * If the aggregated value set is empty, returns `NULL`. * Always
         | 
| 45 | 
            +
                    # returns the result as a double.
         | 
| 45 46 | 
             
                    # Corresponds to the JSON property `avg`
         | 
| 46 47 | 
             
                    # @return [Google::Apis::FirestoreV1beta1::Avg]
         | 
| 47 48 | 
             
                    attr_accessor :avg
         | 
| @@ -54,16 +55,17 @@ module Google | |
| 54 55 |  | 
| 55 56 | 
             
                    # Sum of the values of the requested field. * Only numeric values will be
         | 
| 56 57 | 
             
                    # aggregated. All non-numeric values including `NULL` are skipped. * If the
         | 
| 57 | 
            -
                    # aggregated values contain `NaN`, returns `NaN`.  | 
| 58 | 
            -
                    # is empty, returns 0. * Returns a 64- | 
| 59 | 
            -
                    # integer  | 
| 60 | 
            -
                    #  | 
| 61 | 
            -
                    #  | 
| 62 | 
            -
                    #  | 
| 63 | 
            -
                    #  | 
| 64 | 
            -
                    #  | 
| 65 | 
            -
                    #  | 
| 66 | 
            -
                    # stored as integers over | 
| 58 | 
            +
                    # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
         | 
| 59 | 
            +
                    # standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
         | 
| 60 | 
            +
                    # bit integer if all aggregated numbers are integers and the sum result does not
         | 
| 61 | 
            +
                    # overflow. Otherwise, the result is returned as a double. Note that even if all
         | 
| 62 | 
            +
                    # the aggregated values are integers, the result is returned as a double if it
         | 
| 63 | 
            +
                    # cannot fit within a 64-bit signed integer. When this occurs, the returned
         | 
| 64 | 
            +
                    # value will lose precision. * When underflow occurs, floating-point aggregation
         | 
| 65 | 
            +
                    # is non-deterministic. This means that running the same query repeatedly
         | 
| 66 | 
            +
                    # without any changes to the underlying values could produce slightly different
         | 
| 67 | 
            +
                    # results each time. In those cases, values should be stored as integers over
         | 
| 68 | 
            +
                    # floating-point numbers.
         | 
| 67 69 | 
             
                    # Corresponds to the JSON property `sum`
         | 
| 68 70 | 
             
                    # @return [Google::Apis::FirestoreV1beta1::Sum]
         | 
| 69 71 | 
             
                    attr_accessor :sum
         | 
| @@ -125,8 +127,9 @@ module Google | |
| 125 127 |  | 
| 126 128 | 
             
                  # Average of the values of the requested field. * Only numeric values will be
         | 
| 127 129 | 
             
                  # aggregated. All non-numeric values including `NULL` are skipped. * If the
         | 
| 128 | 
            -
                  # aggregated values contain `NaN`, returns `NaN`.  | 
| 129 | 
            -
                  # is empty, returns `NULL`. * Always | 
| 130 | 
            +
                  # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
         | 
| 131 | 
            +
                  # standards. * If the aggregated value set is empty, returns `NULL`. * Always
         | 
| 132 | 
            +
                  # returns the result as a double.
         | 
| 130 133 | 
             
                  class Avg
         | 
| 131 134 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 132 135 |  | 
| @@ -585,20 +588,7 @@ module Google | |
| 585 588 | 
             
                    # @return [String]
         | 
| 586 589 | 
             
                    attr_accessor :create_time
         | 
| 587 590 |  | 
| 588 | 
            -
                    #  | 
| 589 | 
            -
                    # contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must
         | 
| 590 | 
            -
                    # not start with `0` to `9`. For example, `foo_bar_17`. Field names matching the
         | 
| 591 | 
            -
                    # regular expression `__.*__` are reserved. Reserved field names are forbidden
         | 
| 592 | 
            -
                    # except in certain documented contexts. The map keys, represented as UTF-8,
         | 
| 593 | 
            -
                    # must not exceed 1,500 bytes and cannot be empty. Field paths may be used in
         | 
| 594 | 
            -
                    # other contexts to refer to structured fields defined here. For `map_value`,
         | 
| 595 | 
            -
                    # the field path is represented by the simple or quoted field names of the
         | 
| 596 | 
            -
                    # containing fields, delimited by `.`. For example, the structured field `"foo" :
         | 
| 597 | 
            -
                    # ` map_value: ` "x&y" : ` string_value: "hello" ```` would be represented by
         | 
| 598 | 
            -
                    # the field path `foo.x&y`. Within a field path, a quoted field name starts and
         | 
| 599 | 
            -
                    # ends with `` ` `` and may contain any character. Some characters, including ``
         | 
| 600 | 
            -
                    # ` ``, must be escaped using a `\`. For example, `` `x&y` `` represents `x&y`
         | 
| 601 | 
            -
                    # and `` `bak\`tik` `` represents `` bak`tik ``.
         | 
| 591 | 
            +
                    # 
         | 
| 602 592 | 
             
                    # Corresponds to the JSON property `fields`
         | 
| 603 593 | 
             
                    # @return [Hash<String,Google::Apis::FirestoreV1beta1::Value>]
         | 
| 604 594 | 
             
                    attr_accessor :fields
         | 
| @@ -900,8 +890,9 @@ module Google | |
| 900 890 | 
             
                  class FieldReference
         | 
| 901 891 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 902 892 |  | 
| 903 | 
            -
                    #  | 
| 904 | 
            -
                    # document field name | 
| 893 | 
            +
                    # A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`)
         | 
| 894 | 
            +
                    # string of segments, where each segment conforms to document field name
         | 
| 895 | 
            +
                    # limitations.
         | 
| 905 896 | 
             
                    # Corresponds to the JSON property `fieldPath`
         | 
| 906 897 | 
             
                    # @return [String]
         | 
| 907 898 | 
             
                    attr_accessor :field_path
         | 
| @@ -1002,6 +993,32 @@ module Google | |
| 1002 993 | 
             
                    end
         | 
| 1003 994 | 
             
                  end
         | 
| 1004 995 |  | 
| 996 | 
            +
                  # Metadata related to the create database operation.
         | 
| 997 | 
            +
                  class GoogleFirestoreAdminV1CreateDatabaseMetadata
         | 
| 998 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 999 | 
            +
                  
         | 
| 1000 | 
            +
                    def initialize(**args)
         | 
| 1001 | 
            +
                       update!(**args)
         | 
| 1002 | 
            +
                    end
         | 
| 1003 | 
            +
                  
         | 
| 1004 | 
            +
                    # Update properties of this object
         | 
| 1005 | 
            +
                    def update!(**args)
         | 
| 1006 | 
            +
                    end
         | 
| 1007 | 
            +
                  end
         | 
| 1008 | 
            +
                  
         | 
| 1009 | 
            +
                  # Metadata related to the delete database operation.
         | 
| 1010 | 
            +
                  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
         | 
| 1011 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1012 | 
            +
                  
         | 
| 1013 | 
            +
                    def initialize(**args)
         | 
| 1014 | 
            +
                       update!(**args)
         | 
| 1015 | 
            +
                    end
         | 
| 1016 | 
            +
                  
         | 
| 1017 | 
            +
                    # Update properties of this object
         | 
| 1018 | 
            +
                    def update!(**args)
         | 
| 1019 | 
            +
                    end
         | 
| 1020 | 
            +
                  end
         | 
| 1021 | 
            +
                  
         | 
| 1005 1022 | 
             
                  # Describes the progress of the operation. Unit of work is generic and must be
         | 
| 1006 1023 | 
             
                  # interpreted based on where Progress is used.
         | 
| 1007 1024 | 
             
                  class GoogleFirestoreAdminV1Progress
         | 
| @@ -1505,13 +1522,13 @@ module Google | |
| 1505 1522 | 
             
                    # @return [String]
         | 
| 1506 1523 | 
             
                    attr_accessor :name
         | 
| 1507 1524 |  | 
| 1508 | 
            -
                    # The normal response of the operation | 
| 1509 | 
            -
                    #  | 
| 1510 | 
            -
                    #  | 
| 1511 | 
            -
                    #  | 
| 1512 | 
            -
                    #  | 
| 1513 | 
            -
                    #  | 
| 1514 | 
            -
                    #  | 
| 1525 | 
            +
                    # The normal, successful response of the operation. If the original method
         | 
| 1526 | 
            +
                    # returns no data on success, such as `Delete`, the response is `google.protobuf.
         | 
| 1527 | 
            +
                    # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
         | 
| 1528 | 
            +
                    # response should be the resource. For other methods, the response should have
         | 
| 1529 | 
            +
                    # the type `XxxResponse`, where `Xxx` is the original method name. For example,
         | 
| 1530 | 
            +
                    # if the original method name is `TakeSnapshot()`, the inferred response type is
         | 
| 1531 | 
            +
                    # `TakeSnapshotResponse`.
         | 
| 1515 1532 | 
             
                    # Corresponds to the JSON property `response`
         | 
| 1516 1533 | 
             
                    # @return [Hash<String,Object>]
         | 
| 1517 1534 | 
             
                    attr_accessor :response
         | 
| @@ -2329,16 +2346,17 @@ module Google | |
| 2329 2346 |  | 
| 2330 2347 | 
             
                  # Sum of the values of the requested field. * Only numeric values will be
         | 
| 2331 2348 | 
             
                  # aggregated. All non-numeric values including `NULL` are skipped. * If the
         | 
| 2332 | 
            -
                  # aggregated values contain `NaN`, returns `NaN`.  | 
| 2333 | 
            -
                  # is empty, returns 0. * Returns a 64- | 
| 2334 | 
            -
                  # integer  | 
| 2335 | 
            -
                  #  | 
| 2336 | 
            -
                  #  | 
| 2337 | 
            -
                  #  | 
| 2338 | 
            -
                  #  | 
| 2339 | 
            -
                  #  | 
| 2340 | 
            -
                  #  | 
| 2341 | 
            -
                  # stored as integers over | 
| 2349 | 
            +
                  # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
         | 
| 2350 | 
            +
                  # standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
         | 
| 2351 | 
            +
                  # bit integer if all aggregated numbers are integers and the sum result does not
         | 
| 2352 | 
            +
                  # overflow. Otherwise, the result is returned as a double. Note that even if all
         | 
| 2353 | 
            +
                  # the aggregated values are integers, the result is returned as a double if it
         | 
| 2354 | 
            +
                  # cannot fit within a 64-bit signed integer. When this occurs, the returned
         | 
| 2355 | 
            +
                  # value will lose precision. * When underflow occurs, floating-point aggregation
         | 
| 2356 | 
            +
                  # is non-deterministic. This means that running the same query repeatedly
         | 
| 2357 | 
            +
                  # without any changes to the underlying values could produce slightly different
         | 
| 2358 | 
            +
                  # results each time. In those cases, values should be stored as integers over
         | 
| 2359 | 
            +
                  # floating-point numbers.
         | 
| 2342 2360 | 
             
                  class Sum
         | 
| 2343 2361 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 2344 2362 |  | 
| @@ -2399,7 +2417,17 @@ module Google | |
| 2399 2417 | 
             
                    attr_accessor :resume_token
         | 
| 2400 2418 |  | 
| 2401 2419 | 
             
                    # The target ID that identifies the target on the stream. Must be a positive
         | 
| 2402 | 
            -
                    # number and non-zero.
         | 
| 2420 | 
            +
                    # number and non-zero. If `target_id` is 0 (or unspecified), the server will
         | 
| 2421 | 
            +
                    # assign an ID for this target and return that in a `TargetChange::ADD` event.
         | 
| 2422 | 
            +
                    # Once a target with `target_id=0` is added, all subsequent targets must also
         | 
| 2423 | 
            +
                    # have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent to
         | 
| 2424 | 
            +
                    # the server after a target with `target_id=0` is added, the server will
         | 
| 2425 | 
            +
                    # immediately send a response with a `TargetChange::Remove` event. Note that if
         | 
| 2426 | 
            +
                    # the client sends multiple `AddTarget` requests without an ID, the order of IDs
         | 
| 2427 | 
            +
                    # returned in `TargetChage.target_ids` are undefined. Therefore, clients should
         | 
| 2428 | 
            +
                    # provide a target ID instead of relying on the server to assign one. If `
         | 
| 2429 | 
            +
                    # target_id` is non-zero, there must not be an existing active target on this
         | 
| 2430 | 
            +
                    # stream with the same ID.
         | 
| 2403 2431 | 
             
                    # Corresponds to the JSON property `targetId`
         | 
| 2404 2432 | 
             
                    # @return [Fixnum]
         | 
| 2405 2433 | 
             
                    attr_accessor :target_id
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module FirestoreV1beta1
         | 
| 18 18 | 
             
                  # Version of the google-apis-firestore_v1beta1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.33.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 = "20230905"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -208,6 +208,18 @@ module Google | |
| 208 208 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 209 209 | 
             
                  end
         | 
| 210 210 |  | 
| 211 | 
            +
                  class GoogleFirestoreAdminV1CreateDatabaseMetadata
         | 
| 212 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 213 | 
            +
                  
         | 
| 214 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 215 | 
            +
                  end
         | 
| 216 | 
            +
                  
         | 
| 217 | 
            +
                  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
         | 
| 218 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 219 | 
            +
                  
         | 
| 220 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 221 | 
            +
                  end
         | 
| 222 | 
            +
                  
         | 
| 211 223 | 
             
                  class GoogleFirestoreAdminV1Progress
         | 
| 212 224 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 213 225 |  | 
| @@ -785,6 +797,18 @@ module Google | |
| 785 797 | 
             
                    end
         | 
| 786 798 | 
             
                  end
         | 
| 787 799 |  | 
| 800 | 
            +
                  class GoogleFirestoreAdminV1CreateDatabaseMetadata
         | 
| 801 | 
            +
                    # @private
         | 
| 802 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 803 | 
            +
                    end
         | 
| 804 | 
            +
                  end
         | 
| 805 | 
            +
                  
         | 
| 806 | 
            +
                  class GoogleFirestoreAdminV1DeleteDatabaseMetadata
         | 
| 807 | 
            +
                    # @private
         | 
| 808 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 809 | 
            +
                    end
         | 
| 810 | 
            +
                  end
         | 
| 811 | 
            +
                  
         | 
| 788 812 | 
             
                  class GoogleFirestoreAdminV1Progress
         | 
| 789 813 | 
             
                    # @private
         | 
| 790 814 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-firestore_v1beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.33.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-09-10 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-firestore_v1beta1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.33.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         | 
| @@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 75 75 | 
             
                - !ruby/object:Gem::Version
         | 
| 76 76 | 
             
                  version: '0'
         | 
| 77 77 | 
             
            requirements: []
         | 
| 78 | 
            -
            rubygems_version: 3.4. | 
| 78 | 
            +
            rubygems_version: 3.4.19
         | 
| 79 79 | 
             
            signing_key: 
         | 
| 80 80 | 
             
            specification_version: 4
         | 
| 81 81 | 
             
            summary: Simple REST client for Cloud Firestore API V1beta1
         |