google-apis-memcache_v1beta2 0.19.0 → 0.20.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: 2584407f33e3214c355b0ae28e9e3691c3d5d265f882c1cffe3a557cb86acac2
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 39f6e5cdf0d16cdd3e96afb564f701fb9bf8fbb7dbe8fb3bf6b7c20dfac23fed
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 367765942b4e9fe0d83060017943ff11ba8369756b078d8b54bf9c86fe1678c3be9ce8a622ff2f35c49a36422893841e8ea130e8def224ac772bb551974c0c86
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: d5f749243e59b6494d557bc8ccd0571a64693948a5941675da8313ee46947304fa12bd94207783182e9c2e5296d0db2a260751d26e931d0b4f4218e4aad414bc
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -211,8 +211,7 @@ module Google 
     | 
|
| 
       211 
211 
     | 
    
         
             
                  # A generic empty message that you can re-use to avoid defining duplicated empty
         
     | 
| 
       212 
212 
     | 
    
         
             
                  # messages in your APIs. A typical example is to use it as the request or the
         
     | 
| 
       213 
213 
     | 
    
         
             
                  # response type of an API method. For instance: service Foo ` rpc Bar(google.
         
     | 
| 
       214 
     | 
    
         
            -
                  # protobuf.Empty) returns (google.protobuf.Empty); ` 
     | 
| 
       215 
     | 
    
         
            -
                  # `Empty` is empty JSON object ````.
         
     | 
| 
      
 214 
     | 
    
         
            +
                  # protobuf.Empty) returns (google.protobuf.Empty); `
         
     | 
| 
       216 
215 
     | 
    
         
             
                  class Empty
         
     | 
| 
       217 
216 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       218 
217 
     | 
    
         | 
| 
         @@ -375,11 +374,12 @@ module Google 
     | 
|
| 
       375 
374 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       376 
375 
     | 
    
         
             
                    attr_accessor :create_time
         
     | 
| 
       377 
376 
     | 
    
         | 
| 
       378 
     | 
    
         
            -
                    # Optional. The instance_type of this instance of format: projects/` 
     | 
| 
       379 
     | 
    
         
            -
                    # locations/`location_id`/instanceTypes/`instance_type_id`. 
     | 
| 
       380 
     | 
    
         
            -
                    # represents a high-level tier or SKU of the service that this 
     | 
| 
       381 
     | 
    
         
            -
                    # to. When enabled(eg: Maintenance Rollout), Rollout uses ' 
     | 
| 
       382 
     | 
    
         
            -
                    # with 'software_versions' to determine whether instance 
     | 
| 
      
 377 
     | 
    
         
            +
                    # Optional. The instance_type of this instance of format: projects/`
         
     | 
| 
      
 378 
     | 
    
         
            +
                    # project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
         
     | 
| 
      
 379 
     | 
    
         
            +
                    # Instance Type represents a high-level tier or SKU of the service that this
         
     | 
| 
      
 380 
     | 
    
         
            +
                    # instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
         
     | 
| 
      
 381 
     | 
    
         
            +
                    # instance_type' along with 'software_versions' to determine whether instance
         
     | 
| 
      
 382 
     | 
    
         
            +
                    # needs an update or not.
         
     | 
| 
       383 
383 
     | 
    
         
             
                    # Corresponds to the JSON property `instanceType`
         
     | 
| 
       384 
384 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       385 
385 
     | 
    
         
             
                    attr_accessor :instance_type
         
     | 
| 
         @@ -411,10 +411,12 @@ module Google 
     | 
|
| 
       411 
411 
     | 
    
         
             
                    # @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
         
     | 
| 
       412 
412 
     | 
    
         
             
                    attr_accessor :maintenance_settings
         
     | 
| 
       413 
413 
     | 
    
         | 
| 
       414 
     | 
    
         
            -
                    # Unique name of the resource. It uses the form: `projects/` 
     | 
| 
       415 
     | 
    
         
            -
                    #  
     | 
| 
       416 
     | 
    
         
            -
                    #  
     | 
| 
       417 
     | 
    
         
            -
                    #  
     | 
| 
      
 414 
     | 
    
         
            +
                    # Unique name of the resource. It uses the form: `projects/`project_number`/
         
     | 
| 
      
 415 
     | 
    
         
            +
                    # locations/`location_id`/instances/`instance_id`` Note: This name is passed,
         
     | 
| 
      
 416 
     | 
    
         
            +
                    # stored and logged across the rollout system. So use of consumer project_id or
         
     | 
| 
      
 417 
     | 
    
         
            +
                    # any other consumer PII in the name is strongly discouraged for wipeout (go/
         
     | 
| 
      
 418 
     | 
    
         
            +
                    # wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
         
     | 
| 
      
 419 
     | 
    
         
            +
                    # details.
         
     | 
| 
       418 
420 
     | 
    
         
             
                    # Corresponds to the JSON property `name`
         
     | 
| 
       419 
421 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       420 
422 
     | 
    
         
             
                    attr_accessor :name
         
     | 
| 
         @@ -1450,6 +1452,33 @@ module Google 
     | 
|
| 
       1450 
1452 
     | 
    
         
             
                    end
         
     | 
| 
       1451 
1453 
     | 
    
         
             
                  end
         
     | 
| 
       1452 
1454 
     | 
    
         | 
| 
      
 1455 
     | 
    
         
            +
                  # Request for RescheduleMaintenance.
         
     | 
| 
      
 1456 
     | 
    
         
            +
                  class RescheduleMaintenanceRequest
         
     | 
| 
      
 1457 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 1458 
     | 
    
         
            +
                  
         
     | 
| 
      
 1459 
     | 
    
         
            +
                    # Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
         
     | 
| 
      
 1460 
     | 
    
         
            +
                    # well.
         
     | 
| 
      
 1461 
     | 
    
         
            +
                    # Corresponds to the JSON property `rescheduleType`
         
     | 
| 
      
 1462 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1463 
     | 
    
         
            +
                    attr_accessor :reschedule_type
         
     | 
| 
      
 1464 
     | 
    
         
            +
                  
         
     | 
| 
      
 1465 
     | 
    
         
            +
                    # Timestamp when the maintenance shall be rescheduled to if reschedule_type=
         
     | 
| 
      
 1466 
     | 
    
         
            +
                    # SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
         
     | 
| 
      
 1467 
     | 
    
         
            +
                    # Corresponds to the JSON property `scheduleTime`
         
     | 
| 
      
 1468 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1469 
     | 
    
         
            +
                    attr_accessor :schedule_time
         
     | 
| 
      
 1470 
     | 
    
         
            +
                  
         
     | 
| 
      
 1471 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 1472 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 1473 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1474 
     | 
    
         
            +
                  
         
     | 
| 
      
 1475 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 1476 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 1477 
     | 
    
         
            +
                      @reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
         
     | 
| 
      
 1478 
     | 
    
         
            +
                      @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
         
     | 
| 
      
 1479 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1480 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1481 
     | 
    
         
            +
                  
         
     | 
| 
       1453 
1482 
     | 
    
         
             
                  # Configure the schedule.
         
     | 
| 
       1454 
1483 
     | 
    
         
             
                  class Schedule
         
     | 
| 
       1455 
1484 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -16,13 +16,13 @@ module Google 
     | 
|
| 
       16 
16 
     | 
    
         
             
              module Apis
         
     | 
| 
       17 
17 
     | 
    
         
             
                module MemcacheV1beta2
         
     | 
| 
       18 
18 
     | 
    
         
             
                  # Version of the google-apis-memcache_v1beta2 gem
         
     | 
| 
       19 
     | 
    
         
            -
                  GEM_VERSION = "0. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.20.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.4.1"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20220419"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -232,6 +232,12 @@ module Google 
     | 
|
| 
       232 
232 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       233 
233 
     | 
    
         
             
                  end
         
     | 
| 
       234 
234 
     | 
    
         | 
| 
      
 235 
     | 
    
         
            +
                  class RescheduleMaintenanceRequest
         
     | 
| 
      
 236 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 237 
     | 
    
         
            +
                  
         
     | 
| 
      
 238 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 239 
     | 
    
         
            +
                  end
         
     | 
| 
      
 240 
     | 
    
         
            +
                  
         
     | 
| 
       235 
241 
     | 
    
         
             
                  class Schedule
         
     | 
| 
       236 
242 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       237 
243 
     | 
    
         | 
| 
         @@ -651,6 +657,14 @@ module Google 
     | 
|
| 
       651 
657 
     | 
    
         
             
                    end
         
     | 
| 
       652 
658 
     | 
    
         
             
                  end
         
     | 
| 
       653 
659 
     | 
    
         | 
| 
      
 660 
     | 
    
         
            +
                  class RescheduleMaintenanceRequest
         
     | 
| 
      
 661 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 662 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 663 
     | 
    
         
            +
                      property :reschedule_type, as: 'rescheduleType'
         
     | 
| 
      
 664 
     | 
    
         
            +
                      property :schedule_time, as: 'scheduleTime'
         
     | 
| 
      
 665 
     | 
    
         
            +
                    end
         
     | 
| 
      
 666 
     | 
    
         
            +
                  end
         
     | 
| 
      
 667 
     | 
    
         
            +
                  
         
     | 
| 
       654 
668 
     | 
    
         
             
                  class Schedule
         
     | 
| 
       655 
669 
     | 
    
         
             
                    # @private
         
     | 
| 
       656 
670 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -85,8 +85,8 @@ module Google 
     | 
|
| 
       85 
85 
     | 
    
         
             
                    #   The resource that owns the locations collection, if applicable.
         
     | 
| 
       86 
86 
     | 
    
         
             
                    # @param [String] filter
         
     | 
| 
       87 
87 
     | 
    
         
             
                    #   A filter to narrow down results to a preferred subset. The filtering language
         
     | 
| 
       88 
     | 
    
         
            -
                    #   accepts strings like "displayName=tokyo" 
     | 
| 
       89 
     | 
    
         
            -
                    #   AIP-160](https://google.aip.dev/160).
         
     | 
| 
      
 88 
     | 
    
         
            +
                    #   accepts strings like `"displayName=tokyo"`, and is documented in more detail
         
     | 
| 
      
 89 
     | 
    
         
            +
                    #   in [AIP-160](https://google.aip.dev/160).
         
     | 
| 
       90 
90 
     | 
    
         
             
                    # @param [Fixnum] page_size
         
     | 
| 
       91 
91 
     | 
    
         
             
                    #   The maximum number of results to return. If not set, the service selects a
         
     | 
| 
       92 
92 
     | 
    
         
             
                    #   default.
         
     | 
| 
         @@ -389,6 +389,41 @@ module Google 
     | 
|
| 
       389 
389 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       390 
390 
     | 
    
         
             
                    end
         
     | 
| 
       391 
391 
     | 
    
         | 
| 
      
 392 
     | 
    
         
            +
                    # Performs the apply phase of the RescheduleMaintenance verb.
         
     | 
| 
      
 393 
     | 
    
         
            +
                    # @param [String] instance
         
     | 
| 
      
 394 
     | 
    
         
            +
                    #   Required. Memcache instance resource name using the form: `projects/`
         
     | 
| 
      
 395 
     | 
    
         
            +
                    #   project_id`/locations/`location_id`/instances/`instance_id`` where `
         
     | 
| 
      
 396 
     | 
    
         
            +
                    #   location_id` refers to a GCP region.
         
     | 
| 
      
 397 
     | 
    
         
            +
                    # @param [Google::Apis::MemcacheV1beta2::RescheduleMaintenanceRequest] reschedule_maintenance_request_object
         
     | 
| 
      
 398 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 399 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 400 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 401 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 402 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 403 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 404 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 405 
     | 
    
         
            +
                    #
         
     | 
| 
      
 406 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 407 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::MemcacheV1beta2::Operation] parsed result object
         
     | 
| 
      
 408 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 409 
     | 
    
         
            +
                    #
         
     | 
| 
      
 410 
     | 
    
         
            +
                    # @return [Google::Apis::MemcacheV1beta2::Operation]
         
     | 
| 
      
 411 
     | 
    
         
            +
                    #
         
     | 
| 
      
 412 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 413 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 414 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 415 
     | 
    
         
            +
                    def reschedule_instance_maintenance(instance, reschedule_maintenance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 416 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1beta2/{+instance}:rescheduleMaintenance', options)
         
     | 
| 
      
 417 
     | 
    
         
            +
                      command.request_representation = Google::Apis::MemcacheV1beta2::RescheduleMaintenanceRequest::Representation
         
     | 
| 
      
 418 
     | 
    
         
            +
                      command.request_object = reschedule_maintenance_request_object
         
     | 
| 
      
 419 
     | 
    
         
            +
                      command.response_representation = Google::Apis::MemcacheV1beta2::Operation::Representation
         
     | 
| 
      
 420 
     | 
    
         
            +
                      command.response_class = Google::Apis::MemcacheV1beta2::Operation
         
     | 
| 
      
 421 
     | 
    
         
            +
                      command.params['instance'] = instance unless instance.nil?
         
     | 
| 
      
 422 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 423 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 424 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 425 
     | 
    
         
            +
                    end
         
     | 
| 
      
 426 
     | 
    
         
            +
                    
         
     | 
| 
       392 
427 
     | 
    
         
             
                    # Updates the defined Memcached parameters for an existing instance. This method
         
     | 
| 
       393 
428 
     | 
    
         
             
                    # only stages the parameters, it must be followed by `ApplyParameters` to apply
         
     | 
| 
       394 
429 
     | 
    
         
             
                    # the parameters to nodes of the Memcached instance.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-memcache_v1beta2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.20.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: 2022- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-05-02 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-memcache_v1beta2/CHANGELOG.md
         
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0. 
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-memcache_v1beta2/v0.20.0
         
     | 
| 
       62 
62 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-memcache_v1beta2
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     |