google-cloud-rapid_migration_assessment-v1 0.a → 0.2.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/rapid_migration_assessment/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/client.rb +1439 -0
  7. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/credentials.rb +47 -0
  8. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/operations.rb +779 -0
  9. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/paths.rb +88 -0
  10. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb +1347 -0
  11. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/operations.rb +870 -0
  12. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/service_stub.rb +644 -0
  13. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest.rb +54 -0
  14. data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment.rb +56 -0
  15. data/lib/google/cloud/rapid_migration_assessment/v1/rest.rb +38 -0
  16. data/lib/google/cloud/rapid_migration_assessment/v1/version.rb +7 -2
  17. data/lib/google/cloud/rapid_migration_assessment/v1.rb +45 -0
  18. data/lib/google/cloud/rapidmigrationassessment/v1/api_entities_pb.rb +52 -0
  19. data/lib/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment_pb.rb +65 -0
  20. data/lib/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment_services_pb.rb +64 -0
  21. data/lib/google-cloud-rapid_migration_assessment-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +381 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +222 -0
  27. data/proto_docs/google/cloud/rapidmigrationassessment/v1/api_entities.rb +184 -0
  28. data/proto_docs/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.rb +272 -0
  29. data/proto_docs/google/longrunning/operations.rb +164 -0
  30. data/proto_docs/google/protobuf/any.rb +144 -0
  31. data/proto_docs/google/protobuf/duration.rb +98 -0
  32. data/proto_docs/google/protobuf/empty.rb +34 -0
  33. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  34. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  35. data/proto_docs/google/rpc/status.rb +48 -0
  36. metadata +211 -13
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/rapid_migration_assessment/v1/version"
24
+ require "google/cloud/rapid_migration_assessment/v1/bindings_override"
25
+
26
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/credentials"
27
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/paths"
28
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/operations"
29
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module RapidMigrationAssessment
34
+ module V1
35
+ ##
36
+ # Rapid Migration Assessment service
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest"
41
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
42
+ #
43
+ module RapidMigrationAssessment
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/rapid_migration_assessment/v1/version"
24
+
25
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/credentials"
26
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/paths"
27
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/operations"
28
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/client"
29
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module RapidMigrationAssessment
34
+ module V1
35
+ ##
36
+ # Rapid Migration Assessment service
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment"
41
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest"
46
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
47
+ #
48
+ module RapidMigrationAssessment
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "rapid_migration_assessment", "helpers.rb"
56
+ require "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/helpers" if ::File.file? helper_path
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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 "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest"
20
+ require "google/cloud/rapid_migration_assessment/v1/bindings_override"
21
+ require "google/cloud/rapid_migration_assessment/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module RapidMigrationAssessment
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/rapid_migration_assessment/v1/rest"
32
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2023 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module RapidMigrationAssessment
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.2.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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 "google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment"
20
+ require "google/cloud/rapid_migration_assessment/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module RapidMigrationAssessment
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/rapid_migration_assessment/v1"
31
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/rapid_migration_assessment/v1"
36
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/rapid_migration_assessment/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/rapidmigrationassessment/v1/api_entities.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\"\n\x0bGuestOsScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\"\n\x0bVSphereScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\xfa\x07\n\tCollector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.rapidmigrationassessment.v1.Collector.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x13\n\x06\x62ucket\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x14\x65xpected_asset_count\x18\t \x01(\x03\x12M\n\x05state\x18\n \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Collector.StateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63lient_version\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12Q\n\rguest_os_scan\x18\x0c \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.GuestOsScanB\x03\xe0\x41\x03\x12P\n\x0cvsphere_scan\x18\r \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.VSphereScanB\x03\xe0\x41\x03\x12\x17\n\x0f\x63ollection_days\x18\x0e \x01(\x05\x12\x10\n\x08\x65ula_uri\x18\x0f \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATE_INITIALIZING\x10\x01\x12\x16\n\x12STATE_READY_TO_USE\x10\x02\x12\x14\n\x10STATE_REGISTERED\x10\x03\x12\x10\n\x0cSTATE_ACTIVE\x10\x04\x12\x10\n\x0cSTATE_PAUSED\x10\x05\x12\x12\n\x0eSTATE_DELETING\x10\x06\x12\x18\n\x14STATE_DECOMMISSIONED\x10\x07\x12\x0f\n\x0bSTATE_ERROR\x10\x08:v\xea\x41s\n1rapidmigrationassessment.googleapis.com/Collector\x12>projects/{project}/locations/{location}/collectors/{collector}\"\x9b\x04\n\nAnnotation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.rapidmigrationassessment.v1.Annotation.LabelsEntry\x12G\n\x04type\x18\x05 \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Annotation.Type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aTYPE_LEGACY_EXPORT_CONSENT\x10\x01\x12\x10\n\x0cTYPE_QWIKLAB\x10\x02:y\xea\x41v\n2rapidmigrationassessment.googleapis.com/Annotation\x12@projects/{project}/locations/{location}/annotations/{annotation}B\xb0\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x10\x41piEntitiesProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module RapidMigrationAssessment
42
+ module V1
43
+ GuestOsScan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.GuestOsScan").msgclass
44
+ VSphereScan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.VSphereScan").msgclass
45
+ Collector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.Collector").msgclass
46
+ Collector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.Collector.State").enummodule
47
+ Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.Annotation").msgclass
48
+ Annotation::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.Annotation.Type").enummodule
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/rapidmigrationassessment/v1/api_entities_pb'
12
+ require 'google/longrunning/operations_pb'
13
+ require 'google/protobuf/field_mask_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+
16
+
17
+ descriptor_data = "\nGgoogle/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x17\x43reateAnnotationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12M\n\nannotation\x18\x02 \x01(\x0b\x32\x34.google.cloud.rapidmigrationassessment.v1.AnnotationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"`\n\x14GetAnnotationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2rapidmigrationassessment.googleapis.com/Annotation\"\xd4\x01\n\x16\x43reateCollectorRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0c\x63ollector_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x03 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x15ListCollectorsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x16ListCollectorsResponse\x12G\n\ncollectors\x18\x01 \x03(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.Collector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x13GetCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\"z\n\x16\x44\x65leteCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x16UpdateCollectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x02 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"z\n\x16ResumeCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"|\n\x18RegisterCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"y\n\x15PauseCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xe1\x12\n\x18RapidMigrationAssessment\x12\xf7\x01\n\x0f\x43reateCollector\x12@.google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\xda\x41\x1dparent,collector,collector_id\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\x99\x02\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\xda\x41\x11parent,annotation\xca\x41H\n3google.cloud.rapidmigrationassessment.v1.Annotation\x12\x11OperationMetadata\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\xda\x41\x04name\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\xda\x41\x06parent\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\xda\x41\x15\x63ollector,update_mask\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x1a[\xca\x41\'rapidmigrationassessment.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x1dRapidMigrationAssessmentProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError => e
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.rapidmigrationassessment.v1.Annotation", "google/cloud/rapidmigrationassessment/v1/api_entities.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
40
+ end
41
+ end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
44
+ end
45
+
46
+ module Google
47
+ module Cloud
48
+ module RapidMigrationAssessment
49
+ module V1
50
+ CreateAnnotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest").msgclass
51
+ GetAnnotationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest").msgclass
52
+ CreateCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest").msgclass
53
+ ListCollectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest").msgclass
54
+ ListCollectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse").msgclass
55
+ GetCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.GetCollectorRequest").msgclass
56
+ DeleteCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest").msgclass
57
+ UpdateCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest").msgclass
58
+ ResumeCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest").msgclass
59
+ RegisterCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest").msgclass
60
+ PauseCollectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest").msgclass
61
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.rapidmigrationassessment.v1.OperationMetadata").msgclass
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,64 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto for package 'Google.Cloud.RapidMigrationAssessment.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module RapidMigrationAssessment
25
+ module V1
26
+ module RapidMigrationAssessment
27
+ # Rapid Migration Assessment service
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment'
35
+
36
+ # Create a Collector to manage the on-prem appliance which collects
37
+ # information about Customer assets.
38
+ rpc :CreateCollector, ::Google::Cloud::RapidMigrationAssessment::V1::CreateCollectorRequest, ::Google::Longrunning::Operation
39
+ # Creates an Annotation
40
+ rpc :CreateAnnotation, ::Google::Cloud::RapidMigrationAssessment::V1::CreateAnnotationRequest, ::Google::Longrunning::Operation
41
+ # Gets details of a single Annotation.
42
+ rpc :GetAnnotation, ::Google::Cloud::RapidMigrationAssessment::V1::GetAnnotationRequest, ::Google::Cloud::RapidMigrationAssessment::V1::Annotation
43
+ # Lists Collectors in a given project and location.
44
+ rpc :ListCollectors, ::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsRequest, ::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse
45
+ # Gets details of a single Collector.
46
+ rpc :GetCollector, ::Google::Cloud::RapidMigrationAssessment::V1::GetCollectorRequest, ::Google::Cloud::RapidMigrationAssessment::V1::Collector
47
+ # Updates the parameters of a single Collector.
48
+ rpc :UpdateCollector, ::Google::Cloud::RapidMigrationAssessment::V1::UpdateCollectorRequest, ::Google::Longrunning::Operation
49
+ # Deletes a single Collector - changes state of collector to "Deleting".
50
+ rpc :DeleteCollector, ::Google::Cloud::RapidMigrationAssessment::V1::DeleteCollectorRequest, ::Google::Longrunning::Operation
51
+ # Resumes the given collector.
52
+ rpc :ResumeCollector, ::Google::Cloud::RapidMigrationAssessment::V1::ResumeCollectorRequest, ::Google::Longrunning::Operation
53
+ # Registers the given collector.
54
+ rpc :RegisterCollector, ::Google::Cloud::RapidMigrationAssessment::V1::RegisterCollectorRequest, ::Google::Longrunning::Operation
55
+ # Pauses the given collector.
56
+ rpc :PauseCollector, ::Google::Cloud::RapidMigrationAssessment::V1::PauseCollectorRequest, ::Google::Longrunning::Operation
57
+ end
58
+
59
+ Stub = Service.rpc_stub_class
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/rapid_migration_assessment/v1"
@@ -0,0 +1,4 @@
1
+ # Rapid Migration Assessment V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.