google-cloud-rapid_migration_assessment-v1 0.a → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/README.md +144 -8
- data/lib/google/cloud/rapid_migration_assessment/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/client.rb +1430 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/credentials.rb +47 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/operations.rb +770 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/paths.rb +88 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb +1134 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/operations.rb +795 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/service_stub.rb +644 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest.rb +54 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment.rb +56 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rest.rb +38 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/version.rb +7 -2
- data/lib/google/cloud/rapid_migration_assessment/v1.rb +45 -0
- data/lib/google/cloud/rapidmigrationassessment/v1/api_entities_pb.rb +52 -0
- data/lib/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment_pb.rb +65 -0
- data/lib/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment_services_pb.rb +64 -0
- data/lib/google-cloud-rapid_migration_assessment-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/rapidmigrationassessment/v1/api_entities.rb +184 -0
- data/proto_docs/google/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.rb +272 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +210 -12
@@ -0,0 +1,222 @@
|
|
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
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# A simple descriptor of a resource type.
|
23
|
+
#
|
24
|
+
# ResourceDescriptor annotates a resource message (either by means of a
|
25
|
+
# protobuf annotation or use in the service config), and associates the
|
26
|
+
# resource's schema, the resource type, and the pattern of the resource name.
|
27
|
+
#
|
28
|
+
# Example:
|
29
|
+
#
|
30
|
+
# message Topic {
|
31
|
+
# // Indicates this message defines a resource schema.
|
32
|
+
# // Declares the resource type in the format of {service}/{kind}.
|
33
|
+
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
|
+
# option (google.api.resource) = {
|
35
|
+
# type: "pubsub.googleapis.com/Topic"
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
37
|
+
# };
|
38
|
+
# }
|
39
|
+
#
|
40
|
+
# The ResourceDescriptor Yaml config will look like:
|
41
|
+
#
|
42
|
+
# resources:
|
43
|
+
# - type: "pubsub.googleapis.com/Topic"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
45
|
+
#
|
46
|
+
# Sometimes, resources have multiple patterns, typically because they can
|
47
|
+
# live under multiple parents.
|
48
|
+
#
|
49
|
+
# Example:
|
50
|
+
#
|
51
|
+
# message LogEntry {
|
52
|
+
# option (google.api.resource) = {
|
53
|
+
# type: "logging.googleapis.com/LogEntry"
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
58
|
+
# };
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# The ResourceDescriptor Yaml config will look like:
|
62
|
+
#
|
63
|
+
# resources:
|
64
|
+
# - type: 'logging.googleapis.com/LogEntry'
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
69
|
+
# @!attribute [rw] type
|
70
|
+
# @return [::String]
|
71
|
+
# The resource type. It must be in the format of
|
72
|
+
# \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
|
73
|
+
# singular and must not include version numbers.
|
74
|
+
#
|
75
|
+
# Example: `storage.googleapis.com/Bucket`
|
76
|
+
#
|
77
|
+
# The value of the resource_type_kind must follow the regular expression
|
78
|
+
# /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
|
79
|
+
# should use PascalCase (UpperCamelCase). The maximum number of
|
80
|
+
# characters allowed for the `resource_type_kind` is 100.
|
81
|
+
# @!attribute [rw] pattern
|
82
|
+
# @return [::Array<::String>]
|
83
|
+
# Optional. The relative resource name pattern associated with this resource
|
84
|
+
# type. The DNS prefix of the full resource name shouldn't be specified here.
|
85
|
+
#
|
86
|
+
# The path pattern must follow the syntax, which aligns with HTTP binding
|
87
|
+
# syntax:
|
88
|
+
#
|
89
|
+
# Template = Segment { "/" Segment } ;
|
90
|
+
# Segment = LITERAL | Variable ;
|
91
|
+
# Variable = "{" LITERAL "}" ;
|
92
|
+
#
|
93
|
+
# Examples:
|
94
|
+
#
|
95
|
+
# - "projects/\\{project}/topics/\\{topic}"
|
96
|
+
# - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
|
97
|
+
#
|
98
|
+
# The components in braces correspond to the IDs for each resource in the
|
99
|
+
# hierarchy. It is expected that, if multiple patterns are provided,
|
100
|
+
# the same component name (e.g. "project") refers to IDs of the same
|
101
|
+
# type of resource.
|
102
|
+
# @!attribute [rw] name_field
|
103
|
+
# @return [::String]
|
104
|
+
# Optional. The field on the resource that designates the resource name
|
105
|
+
# field. If omitted, this is assumed to be "name".
|
106
|
+
# @!attribute [rw] history
|
107
|
+
# @return [::Google::Api::ResourceDescriptor::History]
|
108
|
+
# Optional. The historical or future-looking state of the resource pattern.
|
109
|
+
#
|
110
|
+
# Example:
|
111
|
+
#
|
112
|
+
# // The InspectTemplate message originally only supported resource
|
113
|
+
# // names with organization, and project was added later.
|
114
|
+
# message InspectTemplate {
|
115
|
+
# option (google.api.resource) = {
|
116
|
+
# type: "dlp.googleapis.com/InspectTemplate"
|
117
|
+
# pattern:
|
118
|
+
# "organizations/{organization}/inspectTemplates/{inspect_template}"
|
119
|
+
# pattern: "projects/{project}/inspectTemplates/{inspect_template}"
|
120
|
+
# history: ORIGINALLY_SINGLE_PATTERN
|
121
|
+
# };
|
122
|
+
# }
|
123
|
+
# @!attribute [rw] plural
|
124
|
+
# @return [::String]
|
125
|
+
# The plural name used in the resource name and permission names, such as
|
126
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
|
128
|
+
# concept of the `plural` field in k8s CRD spec
|
129
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
|
+
#
|
131
|
+
# Note: The plural form is required even for singleton resources. See
|
132
|
+
# https://aip.dev/156
|
133
|
+
# @!attribute [rw] singular
|
134
|
+
# @return [::String]
|
135
|
+
# The same concept of the `singular` field in k8s CRD spec
|
136
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
137
|
+
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
138
|
+
# @!attribute [rw] style
|
139
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
140
|
+
# Style flag(s) for this resource.
|
141
|
+
# These indicate that a resource is expected to conform to a given
|
142
|
+
# style. See the specific style flags for additional information.
|
143
|
+
class ResourceDescriptor
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
|
147
|
+
# A description of the historical or future-looking state of the
|
148
|
+
# resource pattern.
|
149
|
+
module History
|
150
|
+
# The "unset" value.
|
151
|
+
HISTORY_UNSPECIFIED = 0
|
152
|
+
|
153
|
+
# The resource originally had one pattern and launched as such, and
|
154
|
+
# additional patterns were added later.
|
155
|
+
ORIGINALLY_SINGLE_PATTERN = 1
|
156
|
+
|
157
|
+
# The resource has one pattern, but the API owner expects to add more
|
158
|
+
# later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
|
159
|
+
# that from being necessary once there are multiple patterns.)
|
160
|
+
FUTURE_MULTI_PATTERN = 2
|
161
|
+
end
|
162
|
+
|
163
|
+
# A flag representing a specific style that a resource claims to conform to.
|
164
|
+
module Style
|
165
|
+
# The unspecified value. Do not use.
|
166
|
+
STYLE_UNSPECIFIED = 0
|
167
|
+
|
168
|
+
# This resource is intended to be "declarative-friendly".
|
169
|
+
#
|
170
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
171
|
+
# setting this to true communicates to tools that this resource should
|
172
|
+
# adhere to declarative-friendly expectations.
|
173
|
+
#
|
174
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
175
|
+
# additional checks.
|
176
|
+
DECLARATIVE_FRIENDLY = 1
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# Defines a proto annotation that describes a string field that refers to
|
181
|
+
# an API resource.
|
182
|
+
# @!attribute [rw] type
|
183
|
+
# @return [::String]
|
184
|
+
# The resource type that the annotated field references.
|
185
|
+
#
|
186
|
+
# Example:
|
187
|
+
#
|
188
|
+
# message Subscription {
|
189
|
+
# string topic = 2 [(google.api.resource_reference) = {
|
190
|
+
# type: "pubsub.googleapis.com/Topic"
|
191
|
+
# }];
|
192
|
+
# }
|
193
|
+
#
|
194
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
195
|
+
# APIs use the special value * in their resource reference.
|
196
|
+
#
|
197
|
+
# Example:
|
198
|
+
#
|
199
|
+
# message GetIamPolicyRequest {
|
200
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
201
|
+
# type: "*"
|
202
|
+
# }];
|
203
|
+
# }
|
204
|
+
# @!attribute [rw] child_type
|
205
|
+
# @return [::String]
|
206
|
+
# The resource type of a child collection that the annotated field
|
207
|
+
# references. This is useful for annotating the `parent` field that
|
208
|
+
# doesn't have a fixed resource type.
|
209
|
+
#
|
210
|
+
# Example:
|
211
|
+
#
|
212
|
+
# message ListLogEntriesRequest {
|
213
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
214
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
215
|
+
# };
|
216
|
+
# }
|
217
|
+
class ResourceReference
|
218
|
+
include ::Google::Protobuf::MessageExts
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
220
|
+
end
|
221
|
+
end
|
222
|
+
end
|
@@ -0,0 +1,184 @@
|
|
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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module RapidMigrationAssessment
|
23
|
+
module V1
|
24
|
+
# Message describing a MC Source of type Guest OS Scan.
|
25
|
+
# @!attribute [rw] core_source
|
26
|
+
# @return [::String]
|
27
|
+
# reference to the corresponding Guest OS Scan in MC Source.
|
28
|
+
class GuestOsScan
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Message describing a MC Source of type VSphere Scan.
|
34
|
+
# @!attribute [rw] core_source
|
35
|
+
# @return [::String]
|
36
|
+
# reference to the corresponding VSphere Scan in MC Source.
|
37
|
+
class VSphereScan
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
42
|
+
# Message describing Collector object.
|
43
|
+
# @!attribute [rw] name
|
44
|
+
# @return [::String]
|
45
|
+
# name of resource.
|
46
|
+
# @!attribute [r] create_time
|
47
|
+
# @return [::Google::Protobuf::Timestamp]
|
48
|
+
# Output only. Create time stamp.
|
49
|
+
# @!attribute [r] update_time
|
50
|
+
# @return [::Google::Protobuf::Timestamp]
|
51
|
+
# Output only. Update time stamp.
|
52
|
+
# @!attribute [rw] labels
|
53
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
54
|
+
# Labels as key value pairs.
|
55
|
+
# @!attribute [rw] display_name
|
56
|
+
# @return [::String]
|
57
|
+
# User specified name of the Collector.
|
58
|
+
# @!attribute [rw] description
|
59
|
+
# @return [::String]
|
60
|
+
# User specified description of the Collector.
|
61
|
+
# @!attribute [rw] service_account
|
62
|
+
# @return [::String]
|
63
|
+
# Service Account email used to ingest data to this Collector.
|
64
|
+
# @!attribute [r] bucket
|
65
|
+
# @return [::String]
|
66
|
+
# Output only. Store cloud storage bucket name (which is a guid) created with
|
67
|
+
# this Collector.
|
68
|
+
# @!attribute [rw] expected_asset_count
|
69
|
+
# @return [::Integer]
|
70
|
+
# User specified expected asset count.
|
71
|
+
# @!attribute [r] state
|
72
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::Collector::State]
|
73
|
+
# Output only. State of the Collector.
|
74
|
+
# @!attribute [r] client_version
|
75
|
+
# @return [::String]
|
76
|
+
# Output only. Client version.
|
77
|
+
# @!attribute [r] guest_os_scan
|
78
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::GuestOsScan]
|
79
|
+
# Output only. Reference to MC Source Guest Os Scan.
|
80
|
+
# @!attribute [r] vsphere_scan
|
81
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::VSphereScan]
|
82
|
+
# Output only. Reference to MC Source vsphere_scan.
|
83
|
+
# @!attribute [rw] collection_days
|
84
|
+
# @return [::Integer]
|
85
|
+
# How many days to collect data.
|
86
|
+
# @!attribute [rw] eula_uri
|
87
|
+
# @return [::String]
|
88
|
+
# Uri for EULA (End User License Agreement) from customer.
|
89
|
+
class Collector
|
90
|
+
include ::Google::Protobuf::MessageExts
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
|
+
|
93
|
+
# @!attribute [rw] key
|
94
|
+
# @return [::String]
|
95
|
+
# @!attribute [rw] value
|
96
|
+
# @return [::String]
|
97
|
+
class LabelsEntry
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
|
+
end
|
101
|
+
|
102
|
+
# -- Using suggestion from API Linter Analyzer for nesting enum --
|
103
|
+
# -- https://linter.aip.dev/216/nesting --
|
104
|
+
# State of a Collector (server_side).
|
105
|
+
# States are used for internal purposes and named to keep
|
106
|
+
# convention of legacy product:
|
107
|
+
# https://cloud.google.com/migrate/stratozone/docs/about-stratoprobe.
|
108
|
+
module State
|
109
|
+
# Collector state is not recognized.
|
110
|
+
STATE_UNSPECIFIED = 0
|
111
|
+
|
112
|
+
# Collector started to create, but hasn't been completed MC source creation
|
113
|
+
# and db object creation.
|
114
|
+
STATE_INITIALIZING = 1
|
115
|
+
|
116
|
+
# Collector has been created, MC source creation and db object creation
|
117
|
+
# completed.
|
118
|
+
STATE_READY_TO_USE = 2
|
119
|
+
|
120
|
+
# Collector client has been registered with client.
|
121
|
+
STATE_REGISTERED = 3
|
122
|
+
|
123
|
+
# Collector client is actively scanning.
|
124
|
+
STATE_ACTIVE = 4
|
125
|
+
|
126
|
+
# Collector is not actively scanning.
|
127
|
+
STATE_PAUSED = 5
|
128
|
+
|
129
|
+
# Collector is starting background job for deletion.
|
130
|
+
STATE_DELETING = 6
|
131
|
+
|
132
|
+
# Collector completed all tasks for deletion.
|
133
|
+
STATE_DECOMMISSIONED = 7
|
134
|
+
|
135
|
+
# Collector is in error state.
|
136
|
+
STATE_ERROR = 8
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# Message describing an Annotation
|
141
|
+
# @!attribute [rw] name
|
142
|
+
# @return [::String]
|
143
|
+
# name of resource.
|
144
|
+
# @!attribute [r] create_time
|
145
|
+
# @return [::Google::Protobuf::Timestamp]
|
146
|
+
# Output only. Create time stamp.
|
147
|
+
# @!attribute [r] update_time
|
148
|
+
# @return [::Google::Protobuf::Timestamp]
|
149
|
+
# Output only. Update time stamp.
|
150
|
+
# @!attribute [rw] labels
|
151
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
152
|
+
# Labels as key value pairs.
|
153
|
+
# @!attribute [rw] type
|
154
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type]
|
155
|
+
# Type of an annotation.
|
156
|
+
class Annotation
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
|
160
|
+
# @!attribute [rw] key
|
161
|
+
# @return [::String]
|
162
|
+
# @!attribute [rw] value
|
163
|
+
# @return [::String]
|
164
|
+
class LabelsEntry
|
165
|
+
include ::Google::Protobuf::MessageExts
|
166
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
167
|
+
end
|
168
|
+
|
169
|
+
# Types for project level setting.
|
170
|
+
module Type
|
171
|
+
# Unknown type
|
172
|
+
TYPE_UNSPECIFIED = 0
|
173
|
+
|
174
|
+
# Indicates that this project has opted into StratoZone export.
|
175
|
+
TYPE_LEGACY_EXPORT_CONSENT = 1
|
176
|
+
|
177
|
+
# Indicates that this project is created by Qwiklab.
|
178
|
+
TYPE_QWIKLAB = 2
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
@@ -0,0 +1,272 @@
|
|
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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module RapidMigrationAssessment
|
23
|
+
module V1
|
24
|
+
# Message for creating an AnnotationS.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Name of the parent (project+location).
|
28
|
+
# @!attribute [rw] annotation
|
29
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::Annotation]
|
30
|
+
# Required. The resource being created.
|
31
|
+
# @!attribute [rw] request_id
|
32
|
+
# @return [::String]
|
33
|
+
# Optional. An optional request ID to identify requests.
|
34
|
+
class CreateAnnotationRequest
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
|
39
|
+
# Message for getting a specific Annotation
|
40
|
+
# @!attribute [rw] name
|
41
|
+
# @return [::String]
|
42
|
+
# Required. Name of the resource.
|
43
|
+
class GetAnnotationRequest
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
|
48
|
+
# Message for creating a Collector.
|
49
|
+
# @!attribute [rw] parent
|
50
|
+
# @return [::String]
|
51
|
+
# Required. Name of the parent (project+location).
|
52
|
+
# @!attribute [rw] collector_id
|
53
|
+
# @return [::String]
|
54
|
+
# Required. Id of the requesting object.
|
55
|
+
# @!attribute [rw] collector
|
56
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::Collector]
|
57
|
+
# Required. The resource being created.
|
58
|
+
# @!attribute [rw] request_id
|
59
|
+
# @return [::String]
|
60
|
+
# Optional. An optional request ID to identify requests.
|
61
|
+
class CreateCollectorRequest
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# Message for requesting list of Collectors.
|
67
|
+
# @!attribute [rw] parent
|
68
|
+
# @return [::String]
|
69
|
+
# Required. Parent value for ListCollectorsRequest.
|
70
|
+
# @!attribute [rw] page_size
|
71
|
+
# @return [::Integer]
|
72
|
+
# Requested page size. Server may return fewer items than requested.
|
73
|
+
# If unspecified, server will pick an appropriate default.
|
74
|
+
# @!attribute [rw] page_token
|
75
|
+
# @return [::String]
|
76
|
+
# A token identifying a page of results the server should return.
|
77
|
+
# @!attribute [rw] filter
|
78
|
+
# @return [::String]
|
79
|
+
# Filtering results.
|
80
|
+
# @!attribute [rw] order_by
|
81
|
+
# @return [::String]
|
82
|
+
# Hint for how to order the results.
|
83
|
+
class ListCollectorsRequest
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
|
88
|
+
# Message for response to listing Collectors.
|
89
|
+
# @!attribute [rw] collectors
|
90
|
+
# @return [::Array<::Google::Cloud::RapidMigrationAssessment::V1::Collector>]
|
91
|
+
# The list of Collectors.
|
92
|
+
# @!attribute [rw] next_page_token
|
93
|
+
# @return [::String]
|
94
|
+
# A token identifying a page of results the server should return.
|
95
|
+
# @!attribute [rw] unreachable
|
96
|
+
# @return [::Array<::String>]
|
97
|
+
# Locations that could not be reached.
|
98
|
+
class ListCollectorsResponse
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# Message for getting a specific Collector.
|
104
|
+
# @!attribute [rw] name
|
105
|
+
# @return [::String]
|
106
|
+
# Required. Name of the resource.
|
107
|
+
class GetCollectorRequest
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# Message for deleting a Collector.
|
113
|
+
# @!attribute [rw] name
|
114
|
+
# @return [::String]
|
115
|
+
# Required. Name of the resource.
|
116
|
+
# @!attribute [rw] request_id
|
117
|
+
# @return [::String]
|
118
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
119
|
+
# request ID so that if you must retry your request, the server will know to
|
120
|
+
# ignore the request if it has already been completed. The server will
|
121
|
+
# guarantee that for at least 60 minutes after the first request.
|
122
|
+
#
|
123
|
+
# For example, consider a situation where you make an initial request and
|
124
|
+
# the request times out. If you make the request again with the same request
|
125
|
+
# ID, the server can check if original operation with the same request ID
|
126
|
+
# was received, and if so, will ignore the second request. This prevents
|
127
|
+
# clients from accidentally creating duplicate commitments.
|
128
|
+
#
|
129
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
130
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
131
|
+
class DeleteCollectorRequest
|
132
|
+
include ::Google::Protobuf::MessageExts
|
133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
end
|
135
|
+
|
136
|
+
# Message for updating a Collector.
|
137
|
+
# @!attribute [rw] update_mask
|
138
|
+
# @return [::Google::Protobuf::FieldMask]
|
139
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
140
|
+
# Collector resource by the update.
|
141
|
+
# The fields specified in the update_mask are relative to the resource, not
|
142
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
143
|
+
# user does not provide a mask then all fields will be overwritten.
|
144
|
+
# @!attribute [rw] collector
|
145
|
+
# @return [::Google::Cloud::RapidMigrationAssessment::V1::Collector]
|
146
|
+
# Required. The resource being updated.
|
147
|
+
# @!attribute [rw] request_id
|
148
|
+
# @return [::String]
|
149
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
150
|
+
# request ID so that if you must retry your request, the server will know to
|
151
|
+
# ignore the request if it has already been completed. The server will
|
152
|
+
# guarantee that for at least 60 minutes since the first request.
|
153
|
+
#
|
154
|
+
# For example, consider a situation where you make an initial request and
|
155
|
+
# the request times out. If you make the request again with the same request
|
156
|
+
# ID, the server can check if original operation with the same request ID
|
157
|
+
# was received, and if so, will ignore the second request. This prevents
|
158
|
+
# clients from accidentally creating duplicate commitments.
|
159
|
+
#
|
160
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
161
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
162
|
+
class UpdateCollectorRequest
|
163
|
+
include ::Google::Protobuf::MessageExts
|
164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
|
+
end
|
166
|
+
|
167
|
+
# Message for resuming a Collector.
|
168
|
+
# @!attribute [rw] name
|
169
|
+
# @return [::String]
|
170
|
+
# Required. Name of the resource.
|
171
|
+
# @!attribute [rw] request_id
|
172
|
+
# @return [::String]
|
173
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
174
|
+
# request ID so that if you must retry your request, the server will know to
|
175
|
+
# ignore the request if it has already been completed. The server will
|
176
|
+
# guarantee that for at least 60 minutes after the first request.
|
177
|
+
#
|
178
|
+
# For example, consider a situation where you make an initial request and
|
179
|
+
# the request times out. If you make the request again with the same request
|
180
|
+
# ID, the server can check if original operation with the same request ID
|
181
|
+
# was received, and if so, will ignore the second request. This prevents
|
182
|
+
# clients from accidentally creating duplicate commitments.
|
183
|
+
#
|
184
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
185
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
186
|
+
class ResumeCollectorRequest
|
187
|
+
include ::Google::Protobuf::MessageExts
|
188
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
189
|
+
end
|
190
|
+
|
191
|
+
# Message for registering a Collector.
|
192
|
+
# @!attribute [rw] name
|
193
|
+
# @return [::String]
|
194
|
+
# Required. Name of the resource.
|
195
|
+
# @!attribute [rw] request_id
|
196
|
+
# @return [::String]
|
197
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
198
|
+
# request ID so that if you must retry your request, the server will know to
|
199
|
+
# ignore the request if it has already been completed. The server will
|
200
|
+
# guarantee that for at least 60 minutes after the first request.
|
201
|
+
#
|
202
|
+
# For example, consider a situation where you make an initial request and
|
203
|
+
# the request times out. If you make the request again with the same request
|
204
|
+
# ID, the server can check if original operation with the same request ID
|
205
|
+
# was received, and if so, will ignore the second request. This prevents
|
206
|
+
# clients from accidentally creating duplicate commitments.
|
207
|
+
#
|
208
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
209
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
210
|
+
class RegisterCollectorRequest
|
211
|
+
include ::Google::Protobuf::MessageExts
|
212
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
213
|
+
end
|
214
|
+
|
215
|
+
# Message for pausing a Collector.
|
216
|
+
# @!attribute [rw] name
|
217
|
+
# @return [::String]
|
218
|
+
# Required. Name of the resource.
|
219
|
+
# @!attribute [rw] request_id
|
220
|
+
# @return [::String]
|
221
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
222
|
+
# request ID so that if you must retry your request, the server will know to
|
223
|
+
# ignore the request if it has already been completed. The server will
|
224
|
+
# guarantee that for at least 60 minutes after the first request.
|
225
|
+
#
|
226
|
+
# For example, consider a situation where you make an initial request and
|
227
|
+
# the request times out. If you make the request again with the same request
|
228
|
+
# ID, the server can check if original operation with the same request ID
|
229
|
+
# was received, and if so, will ignore the second request. This prevents
|
230
|
+
# clients from accidentally creating duplicate commitments.
|
231
|
+
#
|
232
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
233
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
234
|
+
class PauseCollectorRequest
|
235
|
+
include ::Google::Protobuf::MessageExts
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
237
|
+
end
|
238
|
+
|
239
|
+
# Represents the metadata of the long-running operation.
|
240
|
+
# @!attribute [r] create_time
|
241
|
+
# @return [::Google::Protobuf::Timestamp]
|
242
|
+
# Output only. The time the operation was created.
|
243
|
+
# @!attribute [r] end_time
|
244
|
+
# @return [::Google::Protobuf::Timestamp]
|
245
|
+
# Output only. The time the operation finished running.
|
246
|
+
# @!attribute [r] target
|
247
|
+
# @return [::String]
|
248
|
+
# Output only. Server-defined resource path for the target of the operation.
|
249
|
+
# @!attribute [r] verb
|
250
|
+
# @return [::String]
|
251
|
+
# Output only. Name of the verb executed by the operation.
|
252
|
+
# @!attribute [r] status_message
|
253
|
+
# @return [::String]
|
254
|
+
# Output only. Human-readable status of the operation, if any.
|
255
|
+
# @!attribute [r] requested_cancellation
|
256
|
+
# @return [::Boolean]
|
257
|
+
# Output only. Identifies whether the user has requested cancellation
|
258
|
+
# of the operation. Operations that have successfully been cancelled
|
259
|
+
# have [Operation.error][] value with a
|
260
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
261
|
+
# `Code.CANCELLED`.
|
262
|
+
# @!attribute [r] api_version
|
263
|
+
# @return [::String]
|
264
|
+
# Output only. API version used to start the operation.
|
265
|
+
class OperationMetadata
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
end
|
269
|
+
end
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|