google-cloud-vm_migration-v1 2.2.0 → 2.3.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.
@@ -49,6 +49,13 @@ module Google
49
49
  # source. Note that this operation lists the VMs on the remote source, as
50
50
  # opposed to listing the MigratingVms resources in the vmmigration service.
51
51
  rpc :FetchInventory, ::Google::Cloud::VMMigration::V1::FetchInventoryRequest, ::Google::Cloud::VMMigration::V1::FetchInventoryResponse
52
+ # List remote source's inventory of storage resources.
53
+ # The remote source is another cloud vendor (e.g. AWS, Azure).
54
+ # The inventory describes the list of existing storage resources in that
55
+ # source. Note that this operation lists the resources on the remote source,
56
+ # as opposed to listing the MigratingVms resources in the vmmigration
57
+ # service.
58
+ rpc :FetchStorageInventory, ::Google::Cloud::VMMigration::V1::FetchStorageInventoryRequest, ::Google::Cloud::VMMigration::V1::FetchStorageInventoryResponse
52
59
  # Lists Utilization Reports of the given Source.
53
60
  rpc :ListUtilizationReports, ::Google::Cloud::VMMigration::V1::ListUtilizationReportsRequest, ::Google::Cloud::VMMigration::V1::ListUtilizationReportsResponse
54
61
  # Gets a single Utilization Report.
@@ -93,11 +100,14 @@ module Google
93
100
  # Marks a migration as completed, deleting migration resources that are no
94
101
  # longer being used. Only applicable after cutover is done.
95
102
  rpc :FinalizeMigration, ::Google::Cloud::VMMigration::V1::FinalizeMigrationRequest, ::Google::Longrunning::Operation
103
+ # Extend the migrating VM time to live.
104
+ rpc :ExtendMigration, ::Google::Cloud::VMMigration::V1::ExtendMigrationRequest, ::Google::Longrunning::Operation
96
105
  # Initiates a Clone of a specific migrating VM.
97
106
  rpc :CreateCloneJob, ::Google::Cloud::VMMigration::V1::CreateCloneJobRequest, ::Google::Longrunning::Operation
98
107
  # Initiates the cancellation of a running clone job.
99
108
  rpc :CancelCloneJob, ::Google::Cloud::VMMigration::V1::CancelCloneJobRequest, ::Google::Longrunning::Operation
100
- # Lists CloneJobs of a given migrating VM.
109
+ # Lists the CloneJobs of a migrating VM. Only 25 most recent CloneJobs are
110
+ # listed.
101
111
  rpc :ListCloneJobs, ::Google::Cloud::VMMigration::V1::ListCloneJobsRequest, ::Google::Cloud::VMMigration::V1::ListCloneJobsResponse
102
112
  # Gets details of a single CloneJob.
103
113
  rpc :GetCloneJob, ::Google::Cloud::VMMigration::V1::GetCloneJobRequest, ::Google::Cloud::VMMigration::V1::CloneJob
@@ -107,7 +117,8 @@ module Google
107
117
  rpc :CreateCutoverJob, ::Google::Cloud::VMMigration::V1::CreateCutoverJobRequest, ::Google::Longrunning::Operation
108
118
  # Initiates the cancellation of a running cutover job.
109
119
  rpc :CancelCutoverJob, ::Google::Cloud::VMMigration::V1::CancelCutoverJobRequest, ::Google::Longrunning::Operation
110
- # Lists CutoverJobs of a given migrating VM.
120
+ # Lists the CutoverJobs of a migrating VM. Only 25 most recent CutoverJobs
121
+ # are listed.
111
122
  rpc :ListCutoverJobs, ::Google::Cloud::VMMigration::V1::ListCutoverJobsRequest, ::Google::Cloud::VMMigration::V1::ListCutoverJobsResponse
112
123
  # Gets details of a single CutoverJob.
113
124
  rpc :GetCutoverJob, ::Google::Cloud::VMMigration::V1::GetCutoverJobRequest, ::Google::Cloud::VMMigration::V1::CutoverJob
@@ -154,6 +165,34 @@ module Google
154
165
  rpc :ListReplicationCycles, ::Google::Cloud::VMMigration::V1::ListReplicationCyclesRequest, ::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse
155
166
  # Gets details of a single ReplicationCycle.
156
167
  rpc :GetReplicationCycle, ::Google::Cloud::VMMigration::V1::GetReplicationCycleRequest, ::Google::Cloud::VMMigration::V1::ReplicationCycle
168
+ # Lists ImageImports in a given project.
169
+ rpc :ListImageImports, ::Google::Cloud::VMMigration::V1::ListImageImportsRequest, ::Google::Cloud::VMMigration::V1::ListImageImportsResponse
170
+ # Gets details of a single ImageImport.
171
+ rpc :GetImageImport, ::Google::Cloud::VMMigration::V1::GetImageImportRequest, ::Google::Cloud::VMMigration::V1::ImageImport
172
+ # Creates a new ImageImport in a given project.
173
+ rpc :CreateImageImport, ::Google::Cloud::VMMigration::V1::CreateImageImportRequest, ::Google::Longrunning::Operation
174
+ # Deletes a single ImageImport.
175
+ rpc :DeleteImageImport, ::Google::Cloud::VMMigration::V1::DeleteImageImportRequest, ::Google::Longrunning::Operation
176
+ # Lists ImageImportJobs in a given project.
177
+ rpc :ListImageImportJobs, ::Google::Cloud::VMMigration::V1::ListImageImportJobsRequest, ::Google::Cloud::VMMigration::V1::ListImageImportJobsResponse
178
+ # Gets details of a single ImageImportJob.
179
+ rpc :GetImageImportJob, ::Google::Cloud::VMMigration::V1::GetImageImportJobRequest, ::Google::Cloud::VMMigration::V1::ImageImportJob
180
+ # Initiates the cancellation of a running clone job.
181
+ rpc :CancelImageImportJob, ::Google::Cloud::VMMigration::V1::CancelImageImportJobRequest, ::Google::Longrunning::Operation
182
+ # Creates a new disk migration job in a given Source.
183
+ rpc :CreateDiskMigrationJob, ::Google::Cloud::VMMigration::V1::CreateDiskMigrationJobRequest, ::Google::Longrunning::Operation
184
+ # Lists DiskMigrationJobs in a given Source.
185
+ rpc :ListDiskMigrationJobs, ::Google::Cloud::VMMigration::V1::ListDiskMigrationJobsRequest, ::Google::Cloud::VMMigration::V1::ListDiskMigrationJobsResponse
186
+ # Gets details of a single DiskMigrationJob.
187
+ rpc :GetDiskMigrationJob, ::Google::Cloud::VMMigration::V1::GetDiskMigrationJobRequest, ::Google::Cloud::VMMigration::V1::DiskMigrationJob
188
+ # Updates the parameters of a single DiskMigrationJob.
189
+ rpc :UpdateDiskMigrationJob, ::Google::Cloud::VMMigration::V1::UpdateDiskMigrationJobRequest, ::Google::Longrunning::Operation
190
+ # Deletes a single DiskMigrationJob.
191
+ rpc :DeleteDiskMigrationJob, ::Google::Cloud::VMMigration::V1::DeleteDiskMigrationJobRequest, ::Google::Longrunning::Operation
192
+ # Runs the disk migration job.
193
+ rpc :RunDiskMigrationJob, ::Google::Cloud::VMMigration::V1::RunDiskMigrationJobRequest, ::Google::Longrunning::Operation
194
+ # Cancels the disk migration job.
195
+ rpc :CancelDiskMigrationJob, ::Google::Cloud::VMMigration::V1::CancelDiskMigrationJobRequest, ::Google::Longrunning::Operation
157
196
  end
158
197
 
159
198
  Stub = Service.rpc_stub_class
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+
21
+ module Google
22
+ module Iam
23
+ ##
24
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
25
+ #
26
+ # require "google/iam/v1/rest"
27
+ # client = ::Google::Iam::V1::IAMPolicy::Rest::Client.new
28
+ #
29
+ module V1
30
+ ##
31
+ # @private
32
+ # Initialize the mixin bindings configuration
33
+ #
34
+ def self.configure
35
+ @configure ||= begin
36
+ namespace = ["Google", "Iam"]
37
+ parent_config = while namespace.any?
38
+ parent_name = namespace.join "::"
39
+ parent_const = const_get parent_name
40
+ break parent_const.configure if parent_const.respond_to? :configure
41
+ namespace.pop
42
+ end
43
+
44
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
45
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
46
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
47
+ uri_method: :get,
48
+ uri_template: "/v1/{name}",
49
+ matches: [
50
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
51
+ ],
52
+ body: nil
53
+ )
54
+ ]
55
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
56
+
57
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
58
+ uri_method: :get,
59
+ uri_template: "/v1/{name}/locations",
60
+ matches: [
61
+ ["name", %r{^projects/[^/]+/?$}, false]
62
+ ],
63
+ body: nil
64
+ )
65
+ ]
66
+ default_config
67
+ end
68
+ yield @configure if block_given?
69
+ @configure
70
+ end
71
+ end
72
+ end
73
+ end