google-cloud-memcache-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,413 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 Memcache
23
+ module V1
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # Required. Unique name of the resource in this scope including project and
27
+ # location using the form:
28
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
29
+ #
30
+ # Note: Memcached instances are managed and addressed at regional level so
31
+ # location_id here refers to a GCP region; however, users may choose which
32
+ # zones Memcached nodes within an instances should be provisioned in.
33
+ # Refer to [zones] field for more details.
34
+ # @!attribute [rw] display_name
35
+ # @return [::String]
36
+ # User provided name for the instance only used for display
37
+ # purposes. Cannot be more than 80 characters.
38
+ # @!attribute [rw] labels
39
+ # @return [::Google::Protobuf::Map{::String => ::String}]
40
+ # Resource labels to represent user-provided metadata.
41
+ # Refer to cloud documentation on labels for more details.
42
+ # https://cloud.google.com/compute/docs/labeling-resources
43
+ # @!attribute [rw] authorized_network
44
+ # @return [::String]
45
+ # The full name of the Google Compute Engine
46
+ # [network](/compute/docs/networks-and-firewalls#networks) to which the
47
+ # instance is connected. If left unspecified, the `default` network
48
+ # will be used.
49
+ # @!attribute [rw] zones
50
+ # @return [::Array<::String>]
51
+ # Zones where Memcached nodes should be provisioned in.
52
+ # Memcached nodes will be equally distributed across these zones. If not
53
+ # provided, the service will by default create nodes in all zones in the
54
+ # region for the instance.
55
+ # @!attribute [rw] node_count
56
+ # @return [::Integer]
57
+ # Required. Number of nodes in the Memcached instance.
58
+ # @!attribute [rw] node_config
59
+ # @return [::Google::Cloud::Memcache::V1::Instance::NodeConfig]
60
+ # Required. Configuration for Memcached nodes.
61
+ # @!attribute [rw] memcache_version
62
+ # @return [::Google::Cloud::Memcache::V1::MemcacheVersion]
63
+ # The major version of Memcached software.
64
+ # If not provided, latest supported version will be used. Currently the
65
+ # latest supported major version is MEMCACHE_1_5.
66
+ # The minor version will be automatically determined by our system based on
67
+ # the latest supported minor version.
68
+ # @!attribute [rw] parameters
69
+ # @return [::Google::Cloud::Memcache::V1::MemcacheParameters]
70
+ # Optional: User defined parameters to apply to the memcached process
71
+ # on each node.
72
+ # @!attribute [r] memcache_nodes
73
+ # @return [::Array<::Google::Cloud::Memcache::V1::Instance::Node>]
74
+ # Output only. List of Memcached nodes.
75
+ # Refer to [Node] message for more details.
76
+ # @!attribute [r] create_time
77
+ # @return [::Google::Protobuf::Timestamp]
78
+ # Output only. The time the instance was created.
79
+ # @!attribute [r] update_time
80
+ # @return [::Google::Protobuf::Timestamp]
81
+ # Output only. The time the instance was updated.
82
+ # @!attribute [r] state
83
+ # @return [::Google::Cloud::Memcache::V1::Instance::State]
84
+ # Output only. The state of this Memcached instance.
85
+ # @!attribute [r] memcache_full_version
86
+ # @return [::String]
87
+ # Output only. The full version of memcached server running on this instance.
88
+ # System automatically determines the full memcached version for an instance
89
+ # based on the input MemcacheVersion.
90
+ # The full version format will be "memcached-1.5.16".
91
+ # @!attribute [rw] instance_messages
92
+ # @return [::Array<::Google::Cloud::Memcache::V1::Instance::InstanceMessage>]
93
+ # List of messages that describe current statuses of memcached instance.
94
+ # @!attribute [r] discovery_endpoint
95
+ # @return [::String]
96
+ # Output only. Endpoint for Discovery API
97
+ class Instance
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+
101
+ # Configuration for a Memcached Node.
102
+ # @!attribute [rw] cpu_count
103
+ # @return [::Integer]
104
+ # Required. Number of cpus per Memcached node.
105
+ # @!attribute [rw] memory_size_mb
106
+ # @return [::Integer]
107
+ # Required. Memory size in MiB for each Memcached node.
108
+ class NodeConfig
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # @!attribute [r] node_id
114
+ # @return [::String]
115
+ # Output only. Identifier of the Memcached node. The node id does not
116
+ # include project or location like the Memcached instance name.
117
+ # @!attribute [r] zone
118
+ # @return [::String]
119
+ # Output only. Location (GCP Zone) for the Memcached node.
120
+ # @!attribute [r] state
121
+ # @return [::Google::Cloud::Memcache::V1::Instance::Node::State]
122
+ # Output only. Current state of the Memcached node.
123
+ # @!attribute [r] host
124
+ # @return [::String]
125
+ # Output only. Hostname or IP address of the Memcached node used by the
126
+ # clients to connect to the Memcached server on this node.
127
+ # @!attribute [r] port
128
+ # @return [::Integer]
129
+ # Output only. The port number of the Memcached server on this node.
130
+ # @!attribute [rw] parameters
131
+ # @return [::Google::Cloud::Memcache::V1::MemcacheParameters]
132
+ # User defined parameters currently applied to the node.
133
+ class Node
134
+ include ::Google::Protobuf::MessageExts
135
+ extend ::Google::Protobuf::MessageExts::ClassMethods
136
+
137
+ # Different states of a Memcached node.
138
+ module State
139
+ # Node state is not set.
140
+ STATE_UNSPECIFIED = 0
141
+
142
+ # Node is being created.
143
+ CREATING = 1
144
+
145
+ # Node has been created and ready to be used.
146
+ READY = 2
147
+
148
+ # Node is being deleted.
149
+ DELETING = 3
150
+
151
+ # Node is being updated.
152
+ UPDATING = 4
153
+ end
154
+ end
155
+
156
+ # @!attribute [rw] code
157
+ # @return [::Google::Cloud::Memcache::V1::Instance::InstanceMessage::Code]
158
+ # A code that correspond to one type of user-facing message.
159
+ # @!attribute [rw] message
160
+ # @return [::String]
161
+ # Message on memcached instance which will be exposed to users.
162
+ class InstanceMessage
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+
166
+ module Code
167
+ # Message Code not set.
168
+ CODE_UNSPECIFIED = 0
169
+
170
+ # Memcached nodes are distributed unevenly.
171
+ ZONE_DISTRIBUTION_UNBALANCED = 1
172
+ end
173
+ end
174
+
175
+ # @!attribute [rw] key
176
+ # @return [::String]
177
+ # @!attribute [rw] value
178
+ # @return [::String]
179
+ class LabelsEntry
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Different states of a Memcached instance.
185
+ module State
186
+ # State not set.
187
+ STATE_UNSPECIFIED = 0
188
+
189
+ # Memcached instance is being created.
190
+ CREATING = 1
191
+
192
+ # Memcached instance has been created and ready to be used.
193
+ READY = 2
194
+
195
+ # Memcached instance is being deleted.
196
+ DELETING = 4
197
+
198
+ # Memcached instance is going through maintenance, e.g. data plane rollout.
199
+ PERFORMING_MAINTENANCE = 5
200
+ end
201
+ end
202
+
203
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#list_instances ListInstances}.
204
+ # @!attribute [rw] parent
205
+ # @return [::String]
206
+ # Required. The resource name of the instance location using the form:
207
+ # `projects/{project_id}/locations/{location_id}`
208
+ # where `location_id` refers to a GCP region
209
+ # @!attribute [rw] page_size
210
+ # @return [::Integer]
211
+ # The maximum number of items to return.
212
+ #
213
+ # If not specified, a default value of 1000 will be used by the service.
214
+ # Regardless of the page_size value, the response may include a partial list
215
+ # and a caller should only rely on response's
216
+ # [next_page_token][CloudMemcache.ListInstancesResponse.next_page_token]
217
+ # to determine if there are more instances left to be queried.
218
+ # @!attribute [rw] page_token
219
+ # @return [::String]
220
+ # The next_page_token value returned from a previous List request,
221
+ # if any.
222
+ # @!attribute [rw] filter
223
+ # @return [::String]
224
+ # List filter. For example, exclude all Memcached instances with name as
225
+ # my-instance by specifying "name != my-instance".
226
+ # @!attribute [rw] order_by
227
+ # @return [::String]
228
+ # Sort results. Supported values are "name", "name desc" or "" (unsorted).
229
+ class ListInstancesRequest
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
+ end
233
+
234
+ # Response for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#list_instances ListInstances}.
235
+ # @!attribute [rw] instances
236
+ # @return [::Array<::Google::Cloud::Memcache::V1::Instance>]
237
+ # A list of Memcached instances in the project in the specified location,
238
+ # or across all locations.
239
+ #
240
+ # If the `location_id` in the parent field of the request is "-", all regions
241
+ # available to the project are queried, and the results aggregated.
242
+ # @!attribute [rw] next_page_token
243
+ # @return [::String]
244
+ # Token to retrieve the next page of results, or empty if there are no more
245
+ # results in the list.
246
+ # @!attribute [rw] unreachable
247
+ # @return [::Array<::String>]
248
+ # Locations that could not be reached.
249
+ class ListInstancesResponse
250
+ include ::Google::Protobuf::MessageExts
251
+ extend ::Google::Protobuf::MessageExts::ClassMethods
252
+ end
253
+
254
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#get_instance GetInstance}.
255
+ # @!attribute [rw] name
256
+ # @return [::String]
257
+ # Required. Memcached instance resource name in the format:
258
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
259
+ # where `location_id` refers to a GCP region
260
+ class GetInstanceRequest
261
+ include ::Google::Protobuf::MessageExts
262
+ extend ::Google::Protobuf::MessageExts::ClassMethods
263
+ end
264
+
265
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#create_instance CreateInstance}.
266
+ # @!attribute [rw] parent
267
+ # @return [::String]
268
+ # Required. The resource name of the instance location using the form:
269
+ # `projects/{project_id}/locations/{location_id}`
270
+ # where `location_id` refers to a GCP region
271
+ # @!attribute [rw] instance_id
272
+ # @return [::String]
273
+ # Required. The logical name of the Memcached instance in the user
274
+ # project with the following restrictions:
275
+ #
276
+ # * Must contain only lowercase letters, numbers, and hyphens.
277
+ # * Must start with a letter.
278
+ # * Must be between 1-40 characters.
279
+ # * Must end with a number or a letter.
280
+ # * Must be unique within the user project / location
281
+ #
282
+ # If any of the above are not met, will raise an invalid argument error.
283
+ # @!attribute [rw] instance
284
+ # @return [::Google::Cloud::Memcache::V1::Instance]
285
+ # Required. A Memcached Instance
286
+ class CreateInstanceRequest
287
+ include ::Google::Protobuf::MessageExts
288
+ extend ::Google::Protobuf::MessageExts::ClassMethods
289
+ end
290
+
291
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#update_instance UpdateInstance}.
292
+ # @!attribute [rw] update_mask
293
+ # @return [::Google::Protobuf::FieldMask]
294
+ # Required. Mask of fields to update.
295
+ # * `displayName`
296
+ # @!attribute [rw] instance
297
+ # @return [::Google::Cloud::Memcache::V1::Instance]
298
+ # Required. A Memcached Instance.
299
+ # Only fields specified in update_mask are updated.
300
+ class UpdateInstanceRequest
301
+ include ::Google::Protobuf::MessageExts
302
+ extend ::Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
305
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#delete_instance DeleteInstance}.
306
+ # @!attribute [rw] name
307
+ # @return [::String]
308
+ # Required. Memcached instance resource name in the format:
309
+ # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
310
+ # where `location_id` refers to a GCP region
311
+ class DeleteInstanceRequest
312
+ include ::Google::Protobuf::MessageExts
313
+ extend ::Google::Protobuf::MessageExts::ClassMethods
314
+ end
315
+
316
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#apply_parameters ApplyParameters}.
317
+ # @!attribute [rw] name
318
+ # @return [::String]
319
+ # Required. Resource name of the Memcached instance for which parameter group updates
320
+ # should be applied.
321
+ # @!attribute [rw] node_ids
322
+ # @return [::Array<::String>]
323
+ # Nodes to which we should apply the instance-level parameter group.
324
+ # @!attribute [rw] apply_all
325
+ # @return [::Boolean]
326
+ # Whether to apply instance-level parameter group to all nodes. If set to
327
+ # true, will explicitly restrict users from specifying any nodes, and apply
328
+ # parameter group updates to all nodes within the instance.
329
+ class ApplyParametersRequest
330
+ include ::Google::Protobuf::MessageExts
331
+ extend ::Google::Protobuf::MessageExts::ClassMethods
332
+ end
333
+
334
+ # Request for {::Google::Cloud::Memcache::V1::CloudMemcache::Client#update_parameters UpdateParameters}.
335
+ # @!attribute [rw] name
336
+ # @return [::String]
337
+ # Required. Resource name of the Memcached instance for which the parameters should be
338
+ # updated.
339
+ # @!attribute [rw] update_mask
340
+ # @return [::Google::Protobuf::FieldMask]
341
+ # Required. Mask of fields to update.
342
+ # @!attribute [rw] parameters
343
+ # @return [::Google::Cloud::Memcache::V1::MemcacheParameters]
344
+ # The parameters to apply to the instance.
345
+ class UpdateParametersRequest
346
+ include ::Google::Protobuf::MessageExts
347
+ extend ::Google::Protobuf::MessageExts::ClassMethods
348
+ end
349
+
350
+ # @!attribute [r] id
351
+ # @return [::String]
352
+ # Output only. The unique ID associated with this set of parameters. Users
353
+ # can use this id to determine if the parameters associated with the instance
354
+ # differ from the parameters associated with the nodes and any action needs
355
+ # to be taken to apply parameters on nodes.
356
+ # @!attribute [rw] params
357
+ # @return [::Google::Protobuf::Map{::String => ::String}]
358
+ # User defined set of parameters to use in the memcached process.
359
+ class MemcacheParameters
360
+ include ::Google::Protobuf::MessageExts
361
+ extend ::Google::Protobuf::MessageExts::ClassMethods
362
+
363
+ # @!attribute [rw] key
364
+ # @return [::String]
365
+ # @!attribute [rw] value
366
+ # @return [::String]
367
+ class ParamsEntry
368
+ include ::Google::Protobuf::MessageExts
369
+ extend ::Google::Protobuf::MessageExts::ClassMethods
370
+ end
371
+ end
372
+
373
+ # Represents the metadata of a long-running operation.
374
+ # @!attribute [r] create_time
375
+ # @return [::Google::Protobuf::Timestamp]
376
+ # Output only. Time when the operation was created.
377
+ # @!attribute [r] end_time
378
+ # @return [::Google::Protobuf::Timestamp]
379
+ # Output only. Time when the operation finished running.
380
+ # @!attribute [r] target
381
+ # @return [::String]
382
+ # Output only. Server-defined resource path for the target of the operation.
383
+ # @!attribute [r] verb
384
+ # @return [::String]
385
+ # Output only. Name of the verb executed by the operation.
386
+ # @!attribute [r] status_detail
387
+ # @return [::String]
388
+ # Output only. Human-readable status of the operation, if any.
389
+ # @!attribute [r] cancel_requested
390
+ # @return [::Boolean]
391
+ # Output only. Identifies whether the user has requested cancellation
392
+ # of the operation. Operations that have successfully been cancelled
393
+ # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
394
+ # corresponding to `Code.CANCELLED`.
395
+ # @!attribute [r] api_version
396
+ # @return [::String]
397
+ # Output only. API version used to start the operation.
398
+ class OperationMetadata
399
+ include ::Google::Protobuf::MessageExts
400
+ extend ::Google::Protobuf::MessageExts::ClassMethods
401
+ end
402
+
403
+ # Memcached versions supported by our service.
404
+ module MemcacheVersion
405
+ MEMCACHE_VERSION_UNSPECIFIED = 0
406
+
407
+ # Memcached 1.5 version.
408
+ MEMCACHE_1_5 = 1
409
+ end
410
+ end
411
+ end
412
+ end
413
+ end
@@ -0,0 +1,164 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 Longrunning
22
+ # This resource represents a long-running operation that is the result of a
23
+ # network API call.
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # The server-assigned name, which is only unique within the same service that
27
+ # originally returns it. If you use the default HTTP mapping, the
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
+ # @!attribute [rw] metadata
30
+ # @return [::Google::Protobuf::Any]
31
+ # Service-specific metadata associated with the operation. It typically
32
+ # contains progress information and common metadata such as create time.
33
+ # Some services might not provide such metadata. Any method that returns a
34
+ # long-running operation should document the metadata type, if any.
35
+ # @!attribute [rw] done
36
+ # @return [::Boolean]
37
+ # If the value is `false`, it means the operation is still in progress.
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
+ # available.
40
+ # @!attribute [rw] error
41
+ # @return [::Google::Rpc::Status]
42
+ # The error result of the operation in case of failure or cancellation.
43
+ # @!attribute [rw] response
44
+ # @return [::Google::Protobuf::Any]
45
+ # The normal response of the operation in case of success. If the original
46
+ # method returns no data on success, such as `Delete`, the response is
47
+ # `google.protobuf.Empty`. If the original method is standard
48
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
49
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
50
+ # is the original method name. For example, if the original method name
51
+ # is `TakeSnapshot()`, the inferred response type is
52
+ # `TakeSnapshotResponse`.
53
+ class Operation
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # The request message for Operations.GetOperation.
59
+ # @!attribute [rw] name
60
+ # @return [::String]
61
+ # The name of the operation resource.
62
+ class GetOperationRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # The request message for Operations.ListOperations.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # The name of the operation's parent resource.
71
+ # @!attribute [rw] filter
72
+ # @return [::String]
73
+ # The standard list filter.
74
+ # @!attribute [rw] page_size
75
+ # @return [::Integer]
76
+ # The standard list page size.
77
+ # @!attribute [rw] page_token
78
+ # @return [::String]
79
+ # The standard list page token.
80
+ class ListOperationsRequest
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # The response message for Operations.ListOperations.
86
+ # @!attribute [rw] operations
87
+ # @return [::Array<::Google::Longrunning::Operation>]
88
+ # A list of operations that matches the specified filter in the request.
89
+ # @!attribute [rw] next_page_token
90
+ # @return [::String]
91
+ # The standard List next-page token.
92
+ class ListOperationsResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+
97
+ # The request message for Operations.CancelOperation.
98
+ # @!attribute [rw] name
99
+ # @return [::String]
100
+ # The name of the operation resource to be cancelled.
101
+ class CancelOperationRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # The request message for Operations.DeleteOperation.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # The name of the operation resource to be deleted.
110
+ class DeleteOperationRequest
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # The request message for Operations.WaitOperation.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # The name of the operation resource to wait on.
119
+ # @!attribute [rw] timeout
120
+ # @return [::Google::Protobuf::Duration]
121
+ # The maximum duration to wait before timing out. If left blank, the wait
122
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
123
+ # If RPC context deadline is also specified, the shorter one will be used.
124
+ class WaitOperationRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
129
+ # A message representing the message types used by a long-running operation.
130
+ #
131
+ # Example:
132
+ #
133
+ # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
+ # returns (google.longrunning.Operation) {
135
+ # option (google.longrunning.operation_info) = {
136
+ # response_type: "LongRunningRecognizeResponse"
137
+ # metadata_type: "LongRunningRecognizeMetadata"
138
+ # };
139
+ # }
140
+ # @!attribute [rw] response_type
141
+ # @return [::String]
142
+ # Required. The message name of the primary return type for this
143
+ # long-running operation.
144
+ # This type will be used to deserialize the LRO's response.
145
+ #
146
+ # If the response is in a different package from the rpc, a fully-qualified
147
+ # message name must be used (e.g. `google.protobuf.Struct`).
148
+ #
149
+ # Note: Altering this value constitutes a breaking change.
150
+ # @!attribute [rw] metadata_type
151
+ # @return [::String]
152
+ # Required. The message name of the metadata type for this long-running
153
+ # operation.
154
+ #
155
+ # If the response is in a different package from the rpc, a fully-qualified
156
+ # message name must be used (e.g. `google.protobuf.Struct`).
157
+ #
158
+ # Note: Altering this value constitutes a breaking change.
159
+ class OperationInfo
160
+ include ::Google::Protobuf::MessageExts
161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
162
+ end
163
+ end
164
+ end