google-apis-vmmigration_v1 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cce275ad3a71ff4e119001480a9793554ac9319e0d58cfcc9d23d526dc64eeb
4
- data.tar.gz: b7e4fed9a1e718cdbe898b9d0225443fdc9edbee22a23f0e6780845e6e6d1d0a
3
+ metadata.gz: 2d4c87d3dc0898813f8b5cdb34e3e73feaed87efe8987e2e1f58c59bf2b5a935
4
+ data.tar.gz: 1c16ae83e77dd1fdc3eabfafeecf61d52660e09037359dd0d9e757f92ac5308a
5
5
  SHA512:
6
- metadata.gz: 01ea2aaf5fff98dd1666652f24aed6ce8de5749a2b23759cb9d4eed665c91165b5d0c301ff4ec0bcad0c6d692093ae58f007956693813387cce6f1bebc1fa27b
7
- data.tar.gz: 0a298ebc75d52f261497a7e4174d772317f5ac173f743e9c5d0c80eb9742302b6015698b63682d3664f093b43f85519fa35a334f0144cea9366dbaf56a50ad68
6
+ metadata.gz: 2c1f7dba250971945839d7ee875d2c9c361b09d2819adc31e45f8c6ab6c80ce161f02cc67a8e9d1d9fce19aad0c76f92fa89564fcda8013322a284fcf3e7cc76
7
+ data.tar.gz: 0bdd235be3dbba8cf56e3cbccc85846cf19e828fb067c2351a68c0a63449d59063f3186ed729f166af2e4e62c76f5cb319702bf625743ca43288eb6fa89a858d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmmigration_v1
2
2
 
3
+ ### v0.12.0 (2022-05-27)
4
+
5
+ * Regenerated from discovery document revision 20220520
6
+
3
7
  ### v0.11.0 (2022-05-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220428
@@ -762,6 +762,12 @@ module Google
762
762
  class FetchInventoryResponse
763
763
  include Google::Apis::Core::Hashable
764
764
 
765
+ # Output only. A token, which can be sent as `page_token` to retrieve the next
766
+ # page. If this field is omitted, there are no subsequent pages.
767
+ # Corresponds to the JSON property `nextPageToken`
768
+ # @return [String]
769
+ attr_accessor :next_page_token
770
+
765
771
  # Output only. The timestamp when the source was last queried (if the result is
766
772
  # from the cache).
767
773
  # Corresponds to the JSON property `updateTime`
@@ -779,6 +785,7 @@ module Google
779
785
 
780
786
  # Update properties of this object
781
787
  def update!(**args)
788
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
782
789
  @update_time = args[:update_time] if args.key?(:update_time)
783
790
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
784
791
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmmigrationV1
18
18
  # Version of the google-apis-vmmigration_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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 = "20220428"
25
+ REVISION = "20220520"
26
26
  end
27
27
  end
28
28
  end
@@ -541,6 +541,7 @@ module Google
541
541
  class FetchInventoryResponse
542
542
  # @private
543
543
  class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :next_page_token, as: 'nextPageToken'
544
545
  property :update_time, as: 'updateTime'
545
546
  property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1::VmwareVmsDetails::Representation
546
547
 
@@ -656,6 +656,16 @@ module Google
656
656
  # @param [Boolean] force_refresh
657
657
  # If this flag is set to true, the source will be queried instead of using
658
658
  # cached results. Using this flag will make the call slower.
659
+ # @param [Fixnum] page_size
660
+ # The maximum number of VMs to return. The service may return fewer than this
661
+ # value. For AWS source: If unspecified, at most 500 VMs will be returned. The
662
+ # maximum value is 1000; values above 1000 will be coerced to 1000. For VMWare
663
+ # source: If unspecified, all VMs will be returned. There is no limit for
664
+ # maximum value.
665
+ # @param [String] page_token
666
+ # A page token, received from a previous `FetchInventory` call. Provide this to
667
+ # retrieve the subsequent page. When paginating, all other parameters provided
668
+ # to `FetchInventory` must match the call that provided the page token.
659
669
  # @param [String] fields
660
670
  # Selector specifying which fields to include in a partial response.
661
671
  # @param [String] quota_user
@@ -673,12 +683,14 @@ module Google
673
683
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
674
684
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
675
685
  # @raise [Google::Apis::AuthorizationError] Authorization is required
676
- def fetch_project_location_source_inventory(source, force_refresh: nil, fields: nil, quota_user: nil, options: nil, &block)
686
+ def fetch_project_location_source_inventory(source, force_refresh: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
677
687
  command = make_simple_command(:get, 'v1/{+source}:fetchInventory', options)
678
688
  command.response_representation = Google::Apis::VmmigrationV1::FetchInventoryResponse::Representation
679
689
  command.response_class = Google::Apis::VmmigrationV1::FetchInventoryResponse
680
690
  command.params['source'] = source unless source.nil?
681
691
  command.query['forceRefresh'] = force_refresh unless force_refresh.nil?
692
+ command.query['pageSize'] = page_size unless page_size.nil?
693
+ command.query['pageToken'] = page_token unless page_token.nil?
682
694
  command.query['fields'] = fields unless fields.nil?
683
695
  command.query['quotaUser'] = quota_user unless quota_user.nil?
684
696
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmmigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-05-30 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-vmmigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1
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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for VM Migration API V1