google-apis-bigqueryreservation_v1 0.2.0 → 0.7.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/CHANGELOG.md +21 -0
- data/lib/google/apis/bigqueryreservation_v1.rb +1 -1
- data/lib/google/apis/bigqueryreservation_v1/classes.rb +4 -110
- data/lib/google/apis/bigqueryreservation_v1/gem_version.rb +3 -3
- data/lib/google/apis/bigqueryreservation_v1/representations.rb +0 -46
- data/lib/google/apis/bigqueryreservation_v1/service.rb +13 -81
- metadata +15 -9
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 10ec8ea6a289ac785df2c5a696cbc5fbe49bd9b463789eb5e693f738aed054fc
         | 
| 4 | 
            +
              data.tar.gz: 11e108eb4c5e238ca0f00317cb6fa6fee56243a3c0742d882e2f5d44e459c927
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 317a69d00867fd2fa74bd7fff7bf41d0d646d308a6782acac25d85dd5d636a2a45ad14ce36f46d15734cd72cc3bb3eff922510e53b12771d89954c8b91ec581b
         | 
| 7 | 
            +
              data.tar.gz: 72ee1d7c85077833c1e7556bf9f41c52b540f1092367a48a0ab3f8b80aeeac4be960a716293578cf1706a530713e142591e97d13e8054c887e7b11f5a65b3f99
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,26 @@ | |
| 1 1 | 
             
            # Release history for google-apis-bigqueryreservation_v1
         | 
| 2 2 |  | 
| 3 | 
            +
            ### v0.7.0 (2021-06-24)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Regenerated using generator version 0.3.0
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### v0.6.0 (2021-05-19)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Unspecified changes
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            ### v0.5.0 (2021-04-29)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * Regenerated from discovery document revision 20210423
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            ### v0.4.0 (2021-03-31)
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Regenerated from discovery document revision 20210324
         | 
| 18 | 
            +
            * Regenerated using generator version 0.2.0
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            ### v0.3.0 (2021-03-04)
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            * Unspecified changes
         | 
| 23 | 
            +
             | 
| 3 24 | 
             
            ### v0.2.0 (2021-02-24)
         | 
| 4 25 |  | 
| 5 26 | 
             
            * Regenerated from discovery document revision 20210217
         | 
| @@ -32,7 +32,7 @@ module Google | |
| 32 32 | 
             
                  # View and manage your data in Google BigQuery
         | 
| 33 33 | 
             
                  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
         | 
| 34 34 |  | 
| 35 | 
            -
                  #  | 
| 35 | 
            +
                  # See, edit, configure, and delete your Google Cloud Platform data
         | 
| 36 36 | 
             
                  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
         | 
| 37 37 | 
             
                end
         | 
| 38 38 | 
             
              end
         | 
| @@ -170,26 +170,6 @@ module Google | |
| 170 170 | 
             
                    end
         | 
| 171 171 | 
             
                  end
         | 
| 172 172 |  | 
| 173 | 
            -
                  # The metadata for operation returned from ReservationService.CreateSlotPool.
         | 
| 174 | 
            -
                  class CreateSlotPoolMetadata
         | 
| 175 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 176 | 
            -
                  
         | 
| 177 | 
            -
                    # Resource name of the slot pool that is being created. E.g., projects/myproject/
         | 
| 178 | 
            -
                    # locations/us-central1/reservations/foo/slotPools/123
         | 
| 179 | 
            -
                    # Corresponds to the JSON property `slotPool`
         | 
| 180 | 
            -
                    # @return [String]
         | 
| 181 | 
            -
                    attr_accessor :slot_pool
         | 
| 182 | 
            -
                  
         | 
| 183 | 
            -
                    def initialize(**args)
         | 
| 184 | 
            -
                       update!(**args)
         | 
| 185 | 
            -
                    end
         | 
| 186 | 
            -
                  
         | 
| 187 | 
            -
                    # Update properties of this object
         | 
| 188 | 
            -
                    def update!(**args)
         | 
| 189 | 
            -
                      @slot_pool = args[:slot_pool] if args.key?(:slot_pool)
         | 
| 190 | 
            -
                    end
         | 
| 191 | 
            -
                  end
         | 
| 192 | 
            -
                  
         | 
| 193 173 | 
             
                  # A generic empty message that you can re-use to avoid defining duplicated empty
         | 
| 194 174 | 
             
                  # messages in your APIs. A typical example is to use it as the request or the
         | 
| 195 175 | 
             
                  # response type of an API method. For instance: service Foo ` rpc Bar(google.
         | 
| @@ -259,31 +239,6 @@ module Google | |
| 259 239 | 
             
                    end
         | 
| 260 240 | 
             
                  end
         | 
| 261 241 |  | 
| 262 | 
            -
                  # The response message for Operations.ListOperations.
         | 
| 263 | 
            -
                  class ListOperationsResponse
         | 
| 264 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 265 | 
            -
                  
         | 
| 266 | 
            -
                    # The standard List next-page token.
         | 
| 267 | 
            -
                    # Corresponds to the JSON property `nextPageToken`
         | 
| 268 | 
            -
                    # @return [String]
         | 
| 269 | 
            -
                    attr_accessor :next_page_token
         | 
| 270 | 
            -
                  
         | 
| 271 | 
            -
                    # A list of operations that matches the specified filter in the request.
         | 
| 272 | 
            -
                    # Corresponds to the JSON property `operations`
         | 
| 273 | 
            -
                    # @return [Array<Google::Apis::BigqueryreservationV1::Operation>]
         | 
| 274 | 
            -
                    attr_accessor :operations
         | 
| 275 | 
            -
                  
         | 
| 276 | 
            -
                    def initialize(**args)
         | 
| 277 | 
            -
                       update!(**args)
         | 
| 278 | 
            -
                    end
         | 
| 279 | 
            -
                  
         | 
| 280 | 
            -
                    # Update properties of this object
         | 
| 281 | 
            -
                    def update!(**args)
         | 
| 282 | 
            -
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         | 
| 283 | 
            -
                      @operations = args[:operations] if args.key?(:operations)
         | 
| 284 | 
            -
                    end
         | 
| 285 | 
            -
                  end
         | 
| 286 | 
            -
                  
         | 
| 287 242 | 
             
                  # The response for ReservationService.ListReservations.
         | 
| 288 243 | 
             
                  class ListReservationsResponse
         | 
| 289 244 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -355,68 +310,6 @@ module Google | |
| 355 310 | 
             
                    end
         | 
| 356 311 | 
             
                  end
         | 
| 357 312 |  | 
| 358 | 
            -
                  # This resource represents a long-running operation that is the result of a
         | 
| 359 | 
            -
                  # network API call.
         | 
| 360 | 
            -
                  class Operation
         | 
| 361 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 362 | 
            -
                  
         | 
| 363 | 
            -
                    # If the value is `false`, it means the operation is still in progress. If `true`
         | 
| 364 | 
            -
                    # , the operation is completed, and either `error` or `response` is available.
         | 
| 365 | 
            -
                    # Corresponds to the JSON property `done`
         | 
| 366 | 
            -
                    # @return [Boolean]
         | 
| 367 | 
            -
                    attr_accessor :done
         | 
| 368 | 
            -
                    alias_method :done?, :done
         | 
| 369 | 
            -
                  
         | 
| 370 | 
            -
                    # The `Status` type defines a logical error model that is suitable for different
         | 
| 371 | 
            -
                    # programming environments, including REST APIs and RPC APIs. It is used by [
         | 
| 372 | 
            -
                    # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
         | 
| 373 | 
            -
                    # data: error code, error message, and error details. You can find out more
         | 
| 374 | 
            -
                    # about this error model and how to work with it in the [API Design Guide](https:
         | 
| 375 | 
            -
                    # //cloud.google.com/apis/design/errors).
         | 
| 376 | 
            -
                    # Corresponds to the JSON property `error`
         | 
| 377 | 
            -
                    # @return [Google::Apis::BigqueryreservationV1::Status]
         | 
| 378 | 
            -
                    attr_accessor :error
         | 
| 379 | 
            -
                  
         | 
| 380 | 
            -
                    # Service-specific metadata associated with the operation. It typically contains
         | 
| 381 | 
            -
                    # progress information and common metadata such as create time. Some services
         | 
| 382 | 
            -
                    # might not provide such metadata. Any method that returns a long-running
         | 
| 383 | 
            -
                    # operation should document the metadata type, if any.
         | 
| 384 | 
            -
                    # Corresponds to the JSON property `metadata`
         | 
| 385 | 
            -
                    # @return [Hash<String,Object>]
         | 
| 386 | 
            -
                    attr_accessor :metadata
         | 
| 387 | 
            -
                  
         | 
| 388 | 
            -
                    # The server-assigned name, which is only unique within the same service that
         | 
| 389 | 
            -
                    # originally returns it. If you use the default HTTP mapping, the `name` should
         | 
| 390 | 
            -
                    # be a resource name ending with `operations/`unique_id``.
         | 
| 391 | 
            -
                    # Corresponds to the JSON property `name`
         | 
| 392 | 
            -
                    # @return [String]
         | 
| 393 | 
            -
                    attr_accessor :name
         | 
| 394 | 
            -
                  
         | 
| 395 | 
            -
                    # The normal response of the operation in case of success. If the original
         | 
| 396 | 
            -
                    # method returns no data on success, such as `Delete`, the response is `google.
         | 
| 397 | 
            -
                    # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
         | 
| 398 | 
            -
                    # the response should be the resource. For other methods, the response should
         | 
| 399 | 
            -
                    # have the type `XxxResponse`, where `Xxx` is the original method name. For
         | 
| 400 | 
            -
                    # example, if the original method name is `TakeSnapshot()`, the inferred
         | 
| 401 | 
            -
                    # response type is `TakeSnapshotResponse`.
         | 
| 402 | 
            -
                    # Corresponds to the JSON property `response`
         | 
| 403 | 
            -
                    # @return [Hash<String,Object>]
         | 
| 404 | 
            -
                    attr_accessor :response
         | 
| 405 | 
            -
                  
         | 
| 406 | 
            -
                    def initialize(**args)
         | 
| 407 | 
            -
                       update!(**args)
         | 
| 408 | 
            -
                    end
         | 
| 409 | 
            -
                  
         | 
| 410 | 
            -
                    # Update properties of this object
         | 
| 411 | 
            -
                    def update!(**args)
         | 
| 412 | 
            -
                      @done = args[:done] if args.key?(:done)
         | 
| 413 | 
            -
                      @error = args[:error] if args.key?(:error)
         | 
| 414 | 
            -
                      @metadata = args[:metadata] if args.key?(:metadata)
         | 
| 415 | 
            -
                      @name = args[:name] if args.key?(:name)
         | 
| 416 | 
            -
                      @response = args[:response] if args.key?(:response)
         | 
| 417 | 
            -
                    end
         | 
| 418 | 
            -
                  end
         | 
| 419 | 
            -
                  
         | 
| 420 313 | 
             
                  # A reservation is a mechanism used to guarantee slots to users.
         | 
| 421 314 | 
             
                  class Reservation
         | 
| 422 315 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -426,9 +319,10 @@ module Google | |
| 426 319 | 
             
                    # @return [String]
         | 
| 427 320 | 
             
                    attr_accessor :creation_time
         | 
| 428 321 |  | 
| 429 | 
            -
                    # If false, any query using this reservation will use idle slots | 
| 430 | 
            -
                    # reservations within the same admin project. If true, a query  | 
| 431 | 
            -
                    # reservation will execute with the slot capacity | 
| 322 | 
            +
                    # If false, any query or pipeline job using this reservation will use idle slots
         | 
| 323 | 
            +
                    # from other reservations within the same admin project. If true, a query or
         | 
| 324 | 
            +
                    # pipeline job using this reservation will execute with the slot capacity
         | 
| 325 | 
            +
                    # specified above at most.
         | 
| 432 326 | 
             
                    # Corresponds to the JSON property `ignoreIdleSlots`
         | 
| 433 327 | 
             
                    # @return [Boolean]
         | 
| 434 328 | 
             
                    attr_accessor :ignore_idle_slots
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module BigqueryreservationV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-bigqueryreservation_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.7.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 | 
            -
                  GENERATOR_VERSION = "0. | 
| 22 | 
            +
                  GENERATOR_VERSION = "0.3.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20210423"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -40,12 +40,6 @@ module Google | |
| 40 40 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 41 41 | 
             
                  end
         | 
| 42 42 |  | 
| 43 | 
            -
                  class CreateSlotPoolMetadata
         | 
| 44 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 45 | 
            -
                  
         | 
| 46 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 47 | 
            -
                  end
         | 
| 48 | 
            -
                  
         | 
| 49 43 | 
             
                  class Empty
         | 
| 50 44 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 51 45 |  | 
| @@ -64,12 +58,6 @@ module Google | |
| 64 58 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 65 59 | 
             
                  end
         | 
| 66 60 |  | 
| 67 | 
            -
                  class ListOperationsResponse
         | 
| 68 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 69 | 
            -
                  
         | 
| 70 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 71 | 
            -
                  end
         | 
| 72 | 
            -
                  
         | 
| 73 61 | 
             
                  class ListReservationsResponse
         | 
| 74 62 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 75 63 |  | 
| @@ -88,12 +76,6 @@ module Google | |
| 88 76 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 89 77 | 
             
                  end
         | 
| 90 78 |  | 
| 91 | 
            -
                  class Operation
         | 
| 92 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 93 | 
            -
                  
         | 
| 94 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 95 | 
            -
                  end
         | 
| 96 | 
            -
                  
         | 
| 97 79 | 
             
                  class Reservation
         | 
| 98 80 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 99 81 |  | 
| @@ -164,13 +146,6 @@ module Google | |
| 164 146 | 
             
                    end
         | 
| 165 147 | 
             
                  end
         | 
| 166 148 |  | 
| 167 | 
            -
                  class CreateSlotPoolMetadata
         | 
| 168 | 
            -
                    # @private
         | 
| 169 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 170 | 
            -
                      property :slot_pool, as: 'slotPool'
         | 
| 171 | 
            -
                    end
         | 
| 172 | 
            -
                  end
         | 
| 173 | 
            -
                  
         | 
| 174 149 | 
             
                  class Empty
         | 
| 175 150 | 
             
                    # @private
         | 
| 176 151 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -195,15 +170,6 @@ module Google | |
| 195 170 | 
             
                    end
         | 
| 196 171 | 
             
                  end
         | 
| 197 172 |  | 
| 198 | 
            -
                  class ListOperationsResponse
         | 
| 199 | 
            -
                    # @private
         | 
| 200 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 201 | 
            -
                      property :next_page_token, as: 'nextPageToken'
         | 
| 202 | 
            -
                      collection :operations, as: 'operations', class: Google::Apis::BigqueryreservationV1::Operation, decorator: Google::Apis::BigqueryreservationV1::Operation::Representation
         | 
| 203 | 
            -
                  
         | 
| 204 | 
            -
                    end
         | 
| 205 | 
            -
                  end
         | 
| 206 | 
            -
                  
         | 
| 207 173 | 
             
                  class ListReservationsResponse
         | 
| 208 174 | 
             
                    # @private
         | 
| 209 175 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -227,18 +193,6 @@ module Google | |
| 227 193 | 
             
                    end
         | 
| 228 194 | 
             
                  end
         | 
| 229 195 |  | 
| 230 | 
            -
                  class Operation
         | 
| 231 | 
            -
                    # @private
         | 
| 232 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 233 | 
            -
                      property :done, as: 'done'
         | 
| 234 | 
            -
                      property :error, as: 'error', class: Google::Apis::BigqueryreservationV1::Status, decorator: Google::Apis::BigqueryreservationV1::Status::Representation
         | 
| 235 | 
            -
                  
         | 
| 236 | 
            -
                      hash :metadata, as: 'metadata'
         | 
| 237 | 
            -
                      property :name, as: 'name'
         | 
| 238 | 
            -
                      hash :response, as: 'response'
         | 
| 239 | 
            -
                    end
         | 
| 240 | 
            -
                  end
         | 
| 241 | 
            -
                  
         | 
| 242 196 | 
             
                  class Reservation
         | 
| 243 197 | 
             
                    # @private
         | 
| 244 198 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -49,85 +49,6 @@ module Google | |
| 49 49 | 
             
                      @batch_path = 'batch'
         | 
| 50 50 | 
             
                    end
         | 
| 51 51 |  | 
| 52 | 
            -
                    # Deletes a long-running operation. This method indicates that the client is no
         | 
| 53 | 
            -
                    # longer interested in the operation result. It does not cancel the operation.
         | 
| 54 | 
            -
                    # If the server doesn't support this method, it returns `google.rpc.Code.
         | 
| 55 | 
            -
                    # UNIMPLEMENTED`.
         | 
| 56 | 
            -
                    # @param [String] name
         | 
| 57 | 
            -
                    #   The name of the operation resource to be deleted.
         | 
| 58 | 
            -
                    # @param [String] fields
         | 
| 59 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 60 | 
            -
                    # @param [String] quota_user
         | 
| 61 | 
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 62 | 
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 63 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 64 | 
            -
                    #   Request-specific options
         | 
| 65 | 
            -
                    #
         | 
| 66 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 67 | 
            -
                    # @yieldparam result [Google::Apis::BigqueryreservationV1::Empty] parsed result object
         | 
| 68 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 69 | 
            -
                    #
         | 
| 70 | 
            -
                    # @return [Google::Apis::BigqueryreservationV1::Empty]
         | 
| 71 | 
            -
                    #
         | 
| 72 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 73 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 74 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 75 | 
            -
                    def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 76 | 
            -
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         | 
| 77 | 
            -
                      command.response_representation = Google::Apis::BigqueryreservationV1::Empty::Representation
         | 
| 78 | 
            -
                      command.response_class = Google::Apis::BigqueryreservationV1::Empty
         | 
| 79 | 
            -
                      command.params['name'] = name unless name.nil?
         | 
| 80 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 81 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 82 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 83 | 
            -
                    end
         | 
| 84 | 
            -
                    
         | 
| 85 | 
            -
                    # Lists operations that match the specified filter in the request. If the server
         | 
| 86 | 
            -
                    # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
         | 
| 87 | 
            -
                    # binding allows API services to override the binding to use different resource
         | 
| 88 | 
            -
                    # name schemes, such as `users/*/operations`. To override the binding, API
         | 
| 89 | 
            -
                    # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
         | 
| 90 | 
            -
                    # service configuration. For backwards compatibility, the default name includes
         | 
| 91 | 
            -
                    # the operations collection id, however overriding users must ensure the name
         | 
| 92 | 
            -
                    # binding is the parent resource, without the operations collection id.
         | 
| 93 | 
            -
                    # @param [String] name
         | 
| 94 | 
            -
                    #   The name of the operation's parent resource.
         | 
| 95 | 
            -
                    # @param [String] filter
         | 
| 96 | 
            -
                    #   The standard list filter.
         | 
| 97 | 
            -
                    # @param [Fixnum] page_size
         | 
| 98 | 
            -
                    #   The standard list page size.
         | 
| 99 | 
            -
                    # @param [String] page_token
         | 
| 100 | 
            -
                    #   The standard list page token.
         | 
| 101 | 
            -
                    # @param [String] fields
         | 
| 102 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 103 | 
            -
                    # @param [String] quota_user
         | 
| 104 | 
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 105 | 
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 106 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 107 | 
            -
                    #   Request-specific options
         | 
| 108 | 
            -
                    #
         | 
| 109 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 110 | 
            -
                    # @yieldparam result [Google::Apis::BigqueryreservationV1::ListOperationsResponse] parsed result object
         | 
| 111 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 112 | 
            -
                    #
         | 
| 113 | 
            -
                    # @return [Google::Apis::BigqueryreservationV1::ListOperationsResponse]
         | 
| 114 | 
            -
                    #
         | 
| 115 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 116 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 117 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 118 | 
            -
                    def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 119 | 
            -
                      command = make_simple_command(:get, 'v1/{+name}', options)
         | 
| 120 | 
            -
                      command.response_representation = Google::Apis::BigqueryreservationV1::ListOperationsResponse::Representation
         | 
| 121 | 
            -
                      command.response_class = Google::Apis::BigqueryreservationV1::ListOperationsResponse
         | 
| 122 | 
            -
                      command.params['name'] = name unless name.nil?
         | 
| 123 | 
            -
                      command.query['filter'] = filter unless filter.nil?
         | 
| 124 | 
            -
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 125 | 
            -
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 126 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 127 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 128 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 129 | 
            -
                    end
         | 
| 130 | 
            -
                    
         | 
| 131 52 | 
             
                    # Retrieves a BI reservation.
         | 
| 132 53 | 
             
                    # @param [String] name
         | 
| 133 54 | 
             
                    #   Required. Name of the requested reservation, for example: `projects/`
         | 
| @@ -307,6 +228,11 @@ module Google | |
| 307 228 | 
             
                    #   Required. Resource name of the parent reservation. E.g., `projects/myproject/
         | 
| 308 229 | 
             
                    #   locations/US`
         | 
| 309 230 | 
             
                    # @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
         | 
| 231 | 
            +
                    # @param [String] capacity_commitment_id
         | 
| 232 | 
            +
                    #   The optional capacity commitment ID. Capacity commitment name will be
         | 
| 233 | 
            +
                    #   generated automatically if this field is empty. This field must only contain
         | 
| 234 | 
            +
                    #   lower case alphanumeric characters or dash. Max length is 64 characters. NOTE:
         | 
| 235 | 
            +
                    #   this ID won't be kept if the capacity commitment is split or merged.
         | 
| 310 236 | 
             
                    # @param [Boolean] enforce_single_admin_project_per_org
         | 
| 311 237 | 
             
                    #   If true, fail the request if another project in the organization has a
         | 
| 312 238 | 
             
                    #   capacity commitment.
         | 
| @@ -327,13 +253,14 @@ module Google | |
| 327 253 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 328 254 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 329 255 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 330 | 
            -
                    def create_project_location_capacity_commitment(parent, capacity_commitment_object = nil, enforce_single_admin_project_per_org: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 256 | 
            +
                    def create_project_location_capacity_commitment(parent, capacity_commitment_object = nil, capacity_commitment_id: nil, enforce_single_admin_project_per_org: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 331 257 | 
             
                      command = make_simple_command(:post, 'v1/{+parent}/capacityCommitments', options)
         | 
| 332 258 | 
             
                      command.request_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
         | 
| 333 259 | 
             
                      command.request_object = capacity_commitment_object
         | 
| 334 260 | 
             
                      command.response_representation = Google::Apis::BigqueryreservationV1::CapacityCommitment::Representation
         | 
| 335 261 | 
             
                      command.response_class = Google::Apis::BigqueryreservationV1::CapacityCommitment
         | 
| 336 262 | 
             
                      command.params['parent'] = parent unless parent.nil?
         | 
| 263 | 
            +
                      command.query['capacityCommitmentId'] = capacity_commitment_id unless capacity_commitment_id.nil?
         | 
| 337 264 | 
             
                      command.query['enforceSingleAdminProjectPerOrg'] = enforce_single_admin_project_per_org unless enforce_single_admin_project_per_org.nil?
         | 
| 338 265 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 339 266 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| @@ -755,6 +682,10 @@ module Google | |
| 755 682 | 
             
                    #   Required. The parent resource name of the assignment E.g. `projects/myproject/
         | 
| 756 683 | 
             
                    #   locations/US/reservations/team1-prod`
         | 
| 757 684 | 
             
                    # @param [Google::Apis::BigqueryreservationV1::Assignment] assignment_object
         | 
| 685 | 
            +
                    # @param [String] assignment_id
         | 
| 686 | 
            +
                    #   The optional assignment ID. Assignment name will be generated automatically if
         | 
| 687 | 
            +
                    #   this field is empty. This field must only contain lower case alphanumeric
         | 
| 688 | 
            +
                    #   characters or dash. Max length is 64 characters.
         | 
| 758 689 | 
             
                    # @param [String] fields
         | 
| 759 690 | 
             
                    #   Selector specifying which fields to include in a partial response.
         | 
| 760 691 | 
             
                    # @param [String] quota_user
         | 
| @@ -772,13 +703,14 @@ module Google | |
| 772 703 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 773 704 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 774 705 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 775 | 
            -
                    def create_project_location_reservation_assignment(parent, assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 706 | 
            +
                    def create_project_location_reservation_assignment(parent, assignment_object = nil, assignment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 776 707 | 
             
                      command = make_simple_command(:post, 'v1/{+parent}/assignments', options)
         | 
| 777 708 | 
             
                      command.request_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
         | 
| 778 709 | 
             
                      command.request_object = assignment_object
         | 
| 779 710 | 
             
                      command.response_representation = Google::Apis::BigqueryreservationV1::Assignment::Representation
         | 
| 780 711 | 
             
                      command.response_class = Google::Apis::BigqueryreservationV1::Assignment
         | 
| 781 712 | 
             
                      command.params['parent'] = parent unless parent.nil?
         | 
| 713 | 
            +
                      command.query['assignmentId'] = assignment_id unless assignment_id.nil?
         | 
| 782 714 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| 783 715 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 784 716 | 
             
                      execute_or_queue_command(command, &block)
         | 
    
        metadata
    CHANGED
    
    | @@ -1,29 +1,35 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-bigqueryreservation_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.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: 2021- | 
| 11 | 
            +
            date: 2021-06-28 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - " | 
| 17 | 
            +
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '0. | 
| 19 | 
            +
                    version: '0.3'
         | 
| 20 | 
            +
                - - "<"
         | 
| 21 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            +
                    version: 2.a
         | 
| 20 23 | 
             
              type: :runtime
         | 
| 21 24 | 
             
              prerelease: false
         | 
| 22 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 26 | 
             
                requirements:
         | 
| 24 | 
            -
                - - " | 
| 27 | 
            +
                - - ">="
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: '0.3'
         | 
| 30 | 
            +
                - - "<"
         | 
| 25 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 32 | 
            +
                    version: 2.a
         | 
| 27 33 | 
             
            description: This is the simple REST client for BigQuery Reservation API V1. Simple
         | 
| 28 34 | 
             
              REST clients are Ruby client libraries that provide access to Google services via
         | 
| 29 35 | 
             
              their HTTP REST API endpoints. These libraries are generated and updated automatically
         | 
| @@ -52,7 +58,7 @@ licenses: | |
| 52 58 | 
             
            metadata:
         | 
| 53 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 54 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1/CHANGELOG.md
         | 
| 55 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-bigqueryreservation_v1/v0.7.0
         | 
| 56 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigqueryreservation_v1
         | 
| 57 63 | 
             
            post_install_message: 
         | 
| 58 64 | 
             
            rdoc_options: []
         | 
| @@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 62 68 | 
             
              requirements:
         | 
| 63 69 | 
             
              - - ">="
         | 
| 64 70 | 
             
                - !ruby/object:Gem::Version
         | 
| 65 | 
            -
                  version: '2. | 
| 71 | 
            +
                  version: '2.5'
         | 
| 66 72 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 67 73 | 
             
              requirements:
         | 
| 68 74 | 
             
              - - ">="
         | 
| 69 75 | 
             
                - !ruby/object:Gem::Version
         | 
| 70 76 | 
             
                  version: '0'
         | 
| 71 77 | 
             
            requirements: []
         | 
| 72 | 
            -
            rubygems_version: 3.2. | 
| 78 | 
            +
            rubygems_version: 3.2.17
         | 
| 73 79 | 
             
            signing_key: 
         | 
| 74 80 | 
             
            specification_version: 4
         | 
| 75 81 | 
             
            summary: Simple REST client for BigQuery Reservation API V1
         |