google-cloud-vm_migration-v1 1.1.0 → 1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 401d80d9c1fa835ff1d0863832db62ecabbf2acad7d73c1942dd9aefa48aeb6a
4
- data.tar.gz: 4b5fc50676d322aa9b4a35f7fae93484edd28d897f5211da35bcc17adaf26c11
3
+ metadata.gz: d0a0c9cfc8621565e96fe120e33782e49298ab3b9889f811481a604751311bc1
4
+ data.tar.gz: 971e89c3aec76b652f89a6b6d9369485788037c545b5135a4a77d3fee746319b
5
5
  SHA512:
6
- metadata.gz: 979382b237643e564ec50844b45b400ffa8069cd63462fa859bb6bd4e14be8da1b339c4d388b370bb250a3bba7edd286bf521eead5b9a26578ab21e97fd64fab
7
- data.tar.gz: '0869b197b8fd4cbb60bf42dd213914d75778ef6d252ff7c170a1015d60a5e57da608fbdfa5d5ebe404d09a0cc26f0e45f9643831636e818c2e2c66a22ce0e9f1'
6
+ metadata.gz: 8feac0baf7822a44b71708118db82a7ec9fd5ef819cf36c801709ec2d64466b0efdc0da06ee00eab8a4174720f4eb244ba6431ddf8b40df664ca98168f9d47c5
7
+ data.tar.gz: adf0658d032bf8a173708604eb6910273ac79f0da40b478655e1116d19aca6f582132a0c78397dab328a8d1d3bcaecd384c0acc2553fc78136a34589674e1233
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
@@ -4986,6 +4986,13 @@ module Google
4986
4986
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4987
4987
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4988
4988
  # * (`nil`) indicating no credentials
4989
+ #
4990
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4991
+ # external source for authentication to Google Cloud, you must validate it before
4992
+ # providing it to a Google API client library. Providing an unvalidated credential
4993
+ # configuration to Google APIs can compromise the security of your systems and data.
4994
+ # For more information, refer to [Validate credential configurations from external
4995
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4989
4996
  # @return [::Object]
4990
4997
  # @!attribute [rw] scope
4991
4998
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -4638,6 +4638,13 @@ module Google
4638
4638
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4639
4639
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4640
4640
  # * (`nil`) indicating no credentials
4641
+ #
4642
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4643
+ # external source for authentication to Google Cloud, you must validate it before
4644
+ # providing it to a Google API client library. Providing an unvalidated credential
4645
+ # configuration to Google APIs can compromise the security of your systems and data.
4646
+ # For more information, refer to [Validate credential configurations from external
4647
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4641
4648
  # @return [::Object]
4642
4649
  # @!attribute [rw] scope
4643
4650
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -81,12 +81,18 @@ module Google
81
81
  # @!attribute [rw] initializing_replication
82
82
  # @return [::Google::Cloud::VMMigration::V1::InitializingReplicationStep]
83
83
  # Initializing replication step.
84
+ #
85
+ # Note: The following fields are mutually exclusive: `initializing_replication`, `replicating`, `post_processing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
84
86
  # @!attribute [rw] replicating
85
87
  # @return [::Google::Cloud::VMMigration::V1::ReplicatingStep]
86
88
  # Replicating step.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `replicating`, `initializing_replication`, `post_processing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
87
91
  # @!attribute [rw] post_processing
88
92
  # @return [::Google::Cloud::VMMigration::V1::PostProcessingStep]
89
93
  # Post processing step.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `post_processing`, `initializing_replication`, `replicating`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
96
  # @!attribute [rw] start_time
91
97
  # @return [::Google::Protobuf::Timestamp]
92
98
  # The time the cycle step has started.
@@ -344,12 +350,18 @@ module Google
344
350
  # @!attribute [rw] adapting_os
345
351
  # @return [::Google::Cloud::VMMigration::V1::AdaptingOSStep]
346
352
  # Adapting OS step.
353
+ #
354
+ # Note: The following fields are mutually exclusive: `adapting_os`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
347
355
  # @!attribute [rw] preparing_vm_disks
348
356
  # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
349
357
  # Preparing VM disks step.
358
+ #
359
+ # Note: The following fields are mutually exclusive: `preparing_vm_disks`, `adapting_os`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
350
360
  # @!attribute [rw] instantiating_migrated_vm
351
361
  # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
352
362
  # Instantiating migrated VM step.
363
+ #
364
+ # Note: The following fields are mutually exclusive: `instantiating_migrated_vm`, `adapting_os`, `preparing_vm_disks`. If a field in that set is populated, all other fields in the set will automatically be cleared.
353
365
  # @!attribute [rw] start_time
354
366
  # @return [::Google::Protobuf::Timestamp]
355
367
  # The time the step has started.
@@ -452,18 +464,28 @@ module Google
452
464
  # @!attribute [rw] previous_replication_cycle
453
465
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
454
466
  # A replication cycle prior cutover step.
467
+ #
468
+ # Note: The following fields are mutually exclusive: `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
455
469
  # @!attribute [rw] shutting_down_source_vm
456
470
  # @return [::Google::Cloud::VMMigration::V1::ShuttingDownSourceVMStep]
457
471
  # Shutting down VM step.
472
+ #
473
+ # Note: The following fields are mutually exclusive: `shutting_down_source_vm`, `previous_replication_cycle`, `final_sync`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
458
474
  # @!attribute [rw] final_sync
459
475
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
460
476
  # Final sync step.
477
+ #
478
+ # Note: The following fields are mutually exclusive: `final_sync`, `previous_replication_cycle`, `shutting_down_source_vm`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
461
479
  # @!attribute [rw] preparing_vm_disks
462
480
  # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
463
481
  # Preparing VM disks step.
482
+ #
483
+ # Note: The following fields are mutually exclusive: `preparing_vm_disks`, `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
464
484
  # @!attribute [rw] instantiating_migrated_vm
465
485
  # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
466
486
  # Instantiating migrated VM step.
487
+ #
488
+ # Note: The following fields are mutually exclusive: `instantiating_migrated_vm`, `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `preparing_vm_disks`. If a field in that set is populated, all other fields in the set will automatically be cleared.
467
489
  # @!attribute [rw] start_time
468
490
  # @return [::Google::Protobuf::Timestamp]
469
491
  # The time the step has started.
@@ -584,9 +606,13 @@ module Google
584
606
  # @!attribute [rw] vmware
585
607
  # @return [::Google::Cloud::VMMigration::V1::VmwareSourceDetails]
586
608
  # Vmware type source details.
609
+ #
610
+ # Note: The following fields are mutually exclusive: `vmware`, `aws`. If a field in that set is populated, all other fields in the set will automatically be cleared.
587
611
  # @!attribute [rw] aws
588
612
  # @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails]
589
613
  # AWS type source details.
614
+ #
615
+ # Note: The following fields are mutually exclusive: `aws`, `vmware`. If a field in that set is populated, all other fields in the set will automatically be cleared.
590
616
  # @!attribute [r] name
591
617
  # @return [::String]
592
618
  # Output only. The Source name.
@@ -1267,9 +1293,13 @@ module Google
1267
1293
  # @!attribute [rw] vmware_vms
1268
1294
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmsDetails]
1269
1295
  # The description of the VMs in a Source of type Vmware.
1296
+ #
1297
+ # Note: The following fields are mutually exclusive: `vmware_vms`, `aws_vms`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1270
1298
  # @!attribute [rw] aws_vms
1271
1299
  # @return [::Google::Cloud::VMMigration::V1::AwsVmsDetails]
1272
1300
  # The description of the VMs in a Source of type AWS.
1301
+ #
1302
+ # Note: The following fields are mutually exclusive: `aws_vms`, `vmware_vms`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1273
1303
  # @!attribute [r] update_time
1274
1304
  # @return [::Google::Protobuf::Timestamp]
1275
1305
  # Output only. The timestamp when the source was last queried (if the result
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -62,11 +62,12 @@ module Google
62
62
  # @return [::Google::Protobuf::Map{::String => ::String}]
63
63
  # Additional structured details about this error.
64
64
  #
65
- # Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in
65
+ # Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
66
+ # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
66
67
  # length. When identifying the current value of an exceeded limit, the units
67
68
  # should be contained in the key, not the value. For example, rather than
68
- # \\{"instanceLimit": "100/request"}, should be returned as,
69
- # \\{"instanceLimitPerRequest": "100"}, if the client exceeds the number of
69
+ # `{"instanceLimit": "100/request"}`, should be returned as,
70
+ # `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
70
71
  # instances that can be created in a single (batch) request.
71
72
  class ErrorInfo
72
73
  include ::Google::Protobuf::MessageExts
@@ -242,6 +243,18 @@ module Google
242
243
  # @!attribute [rw] description
243
244
  # @return [::String]
244
245
  # A description of why the request element is bad.
246
+ # @!attribute [rw] reason
247
+ # @return [::String]
248
+ # The reason of the field-level error. This is a constant value that
249
+ # identifies the proximate cause of the field-level error. It should
250
+ # uniquely identify the type of the FieldViolation within the scope of the
251
+ # google.rpc.ErrorInfo.domain. This should be at most 63
252
+ # characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
253
+ # which represents UPPER_SNAKE_CASE.
254
+ # @!attribute [rw] localized_message
255
+ # @return [::Google::Rpc::LocalizedMessage]
256
+ # Provides a localized error message for field-level errors that is safe to
257
+ # return to the API consumer.
245
258
  class FieldViolation
246
259
  include ::Google::Protobuf::MessageExts
247
260
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vm_migration-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -133,7 +132,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
133
132
  licenses:
134
133
  - Apache-2.0
135
134
  metadata: {}
136
- post_install_message:
137
135
  rdoc_options: []
138
136
  require_paths:
139
137
  - lib
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
139
  requirements:
142
140
  - - ">="
143
141
  - !ruby/object:Gem::Version
144
- version: '2.7'
142
+ version: '3.0'
145
143
  required_rubygems_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
145
  - - ">="
148
146
  - !ruby/object:Gem::Version
149
147
  version: '0'
150
148
  requirements: []
151
- rubygems_version: 3.5.23
152
- signing_key:
149
+ rubygems_version: 3.6.2
153
150
  specification_version: 4
154
151
  summary: Use the Migrate to Virtual Machines API to programmatically migrate workloads.
155
152
  test_files: []