google-apis-vmmigration_v1alpha1 0.11.0 → 0.12.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 +4 -0
- data/lib/google/apis/vmmigration_v1alpha1/classes.rb +7 -0
- data/lib/google/apis/vmmigration_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/vmmigration_v1alpha1/representations.rb +1 -0
- data/lib/google/apis/vmmigration_v1alpha1/service.rb +13 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07bb810db44112e4261092c0e9927c0104a4617c94ce06ff17af73cd7b6943ea
|
4
|
+
data.tar.gz: 4a6aad1570f1a1dd42af4f4fbedde8764214120d766bc9bfb2255c6b40ba7892
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90f0816fd416d72b651c960ce944e0934e3230a4ced7658cc273e3fc11892a86ea342ae9e3f61564ab5c55c1ccd53b6010f8d254940e0afd6d517904771f55f
|
7
|
+
data.tar.gz: 540165ad2d32138d06bd6fe7812d1879519b0278b847a780210fb3f1afbd380af6e1f108e844cbf50ccde141c7b9a6c76c809a9fb856ab3dc9ae4eae9a9027eb
|
data/CHANGELOG.md
CHANGED
@@ -834,6 +834,12 @@ module Google
|
|
834
834
|
class FetchInventoryResponse
|
835
835
|
include Google::Apis::Core::Hashable
|
836
836
|
|
837
|
+
# Output only. A token, which can be sent as `page_token` to retrieve the next
|
838
|
+
# page. If this field is omitted, there are no subsequent pages.
|
839
|
+
# Corresponds to the JSON property `nextPageToken`
|
840
|
+
# @return [String]
|
841
|
+
attr_accessor :next_page_token
|
842
|
+
|
837
843
|
# Output only. The timestamp when the source was last queried (if the result is
|
838
844
|
# from the cache).
|
839
845
|
# Corresponds to the JSON property `updateTime`
|
@@ -851,6 +857,7 @@ module Google
|
|
851
857
|
|
852
858
|
# Update properties of this object
|
853
859
|
def update!(**args)
|
860
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
854
861
|
@update_time = args[:update_time] if args.key?(:update_time)
|
855
862
|
@vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
|
856
863
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module VmmigrationV1alpha1
|
18
18
|
# Version of the google-apis-vmmigration_v1alpha1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
25
|
+
REVISION = "20220520"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -593,6 +593,7 @@ module Google
|
|
593
593
|
class FetchInventoryResponse
|
594
594
|
# @private
|
595
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :next_page_token, as: 'nextPageToken'
|
596
597
|
property :update_time, as: 'updateTime'
|
597
598
|
property :vmware_vms, as: 'vmwareVms', class: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails, decorator: Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails::Representation
|
598
599
|
|
@@ -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, 'v1alpha1/{+source}:fetchInventory', options)
|
678
688
|
command.response_representation = Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse::Representation
|
679
689
|
command.response_class = Google::Apis::VmmigrationV1alpha1::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_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmmigration_v1alpha1/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmmigration_v1alpha1
|
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.
|
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 V1alpha1
|