google-cloud-redis-v1 0.1.0 → 0.1.1

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.
@@ -35,10 +35,10 @@ module Google
35
35
  # @param location [String]
36
36
  # @param instance [String]
37
37
  #
38
- # @return [String]
38
+ # @return [::String]
39
39
  def instance_path project:, location:, instance:
40
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
42
 
43
43
  "projects/#{project}/locations/#{location}/instances/#{instance}"
44
44
  end
@@ -53,9 +53,9 @@ module Google
53
53
  # @param project [String]
54
54
  # @param location [String]
55
55
  #
56
- # @return [String]
56
+ # @return [::String]
57
57
  def location_path project:, location:
58
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
58
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
59
59
 
60
60
  "projects/#{project}/locations/#{location}"
61
61
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Redis
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -128,7 +128,7 @@ module Google
128
128
  # - pattern: "shelves/{shelf}"
129
129
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
130
  # @!attribute [rw] type
131
- # @return [String]
131
+ # @return [::String]
132
132
  # The resource type. It must be in the format of
133
133
  # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
134
  # singular and must not include version numbers.
@@ -140,7 +140,7 @@ module Google
140
140
  # should use PascalCase (UpperCamelCase). The maximum number of
141
141
  # characters allowed for the `resource_type_kind` is 100.
142
142
  # @!attribute [rw] pattern
143
- # @return [Array<String>]
143
+ # @return [::Array<::String>]
144
144
  # Optional. The relative resource name pattern associated with this resource
145
145
  # type. The DNS prefix of the full resource name shouldn't be specified here.
146
146
  #
@@ -161,11 +161,11 @@ module Google
161
161
  # the same component name (e.g. "project") refers to IDs of the same
162
162
  # type of resource.
163
163
  # @!attribute [rw] name_field
164
- # @return [String]
164
+ # @return [::String]
165
165
  # Optional. The field on the resource that designates the resource name
166
166
  # field. If omitted, this is assumed to be "name".
167
167
  # @!attribute [rw] history
168
- # @return [Google::Api::ResourceDescriptor::History]
168
+ # @return [::Google::Api::ResourceDescriptor::History]
169
169
  # Optional. The historical or future-looking state of the resource pattern.
170
170
  #
171
171
  # Example:
@@ -182,19 +182,19 @@ module Google
182
182
  # };
183
183
  # }
184
184
  # @!attribute [rw] plural
185
- # @return [String]
185
+ # @return [::String]
186
186
  # The plural name used in the resource name, such as 'projects' for
187
187
  # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
188
  # field in k8s CRD spec
189
189
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
190
  # @!attribute [rw] singular
191
- # @return [String]
191
+ # @return [::String]
192
192
  # The same concept of the `singular` field in k8s CRD spec
193
193
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
194
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
195
195
  class ResourceDescriptor
196
- include Google::Protobuf::MessageExts
197
- extend Google::Protobuf::MessageExts::ClassMethods
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
198
 
199
199
  # A description of the historical or future-looking state of the
200
200
  # resource pattern.
@@ -216,7 +216,7 @@ module Google
216
216
  # Defines a proto annotation that describes a string field that refers to
217
217
  # an API resource.
218
218
  # @!attribute [rw] type
219
- # @return [String]
219
+ # @return [::String]
220
220
  # The resource type that the annotated field references.
221
221
  #
222
222
  # Example:
@@ -227,7 +227,7 @@ module Google
227
227
  # }];
228
228
  # }
229
229
  # @!attribute [rw] child_type
230
- # @return [String]
230
+ # @return [::String]
231
231
  # The resource type of a child collection that the annotated field
232
232
  # references. This is useful for annotating the `parent` field that
233
233
  # doesn't have a fixed resource type.
@@ -240,8 +240,8 @@ module Google
240
240
  # };
241
241
  # }
242
242
  class ResourceReference
243
- include Google::Protobuf::MessageExts
244
- extend Google::Protobuf::MessageExts::ClassMethods
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
245
  end
246
246
  end
247
247
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module V1
24
24
  # A Google Cloud Redis instance.
25
25
  # @!attribute [rw] name
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Required. Unique name of the resource in this scope including project and
28
28
  # location using the form:
29
29
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
@@ -31,28 +31,28 @@ module Google
31
31
  # Note: Redis instances are managed and addressed at regional level so
32
32
  # location_id here refers to a GCP region; however, users may choose which
33
33
  # specific zone (or collection of zones for cross-zone instances) an instance
34
- # should be provisioned in. Refer to {Google::Cloud::Redis::V1::Instance#location_id location_id} and
35
- # {Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} fields for more details.
34
+ # should be provisioned in. Refer to {::Google::Cloud::Redis::V1::Instance#location_id location_id} and
35
+ # {::Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} fields for more details.
36
36
  # @!attribute [rw] display_name
37
- # @return [String]
37
+ # @return [::String]
38
38
  # An arbitrary and optional user-provided name for the instance.
39
39
  # @!attribute [rw] labels
40
- # @return [Google::Protobuf::Map{String => String}]
40
+ # @return [::Google::Protobuf::Map{::String => ::String}]
41
41
  # Resource labels to represent user provided metadata
42
42
  # @!attribute [rw] location_id
43
- # @return [String]
43
+ # @return [::String]
44
44
  # Optional. The zone where the instance will be provisioned. If not provided,
45
45
  # the service will choose a zone for the instance. For STANDARD_HA tier,
46
46
  # instances will be created across two zones for protection against zonal
47
- # failures. If {Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} is also provided, it must be
48
- # different from {Google::Cloud::Redis::V1::Instance#location_id location_id}.
47
+ # failures. If {::Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} is also provided, it must be
48
+ # different from {::Google::Cloud::Redis::V1::Instance#location_id location_id}.
49
49
  # @!attribute [rw] alternative_location_id
50
- # @return [String]
50
+ # @return [::String]
51
51
  # Optional. Only applicable to STANDARD_HA tier which protects the instance
52
52
  # against zonal failures by provisioning it across two zones. If provided, it
53
- # must be a different zone from the one provided in {Google::Cloud::Redis::V1::Instance#location_id location_id}.
53
+ # must be a different zone from the one provided in {::Google::Cloud::Redis::V1::Instance#location_id location_id}.
54
54
  # @!attribute [rw] redis_version
55
- # @return [String]
55
+ # @return [::String]
56
56
  # Optional. The version of Redis software.
57
57
  # If not provided, latest supported version will be used. Currently, the
58
58
  # supported values are:
@@ -61,37 +61,37 @@ module Google
61
61
  # * `REDIS_4_0` for Redis 4.0 compatibility (default)
62
62
  # * `REDIS_5_0` for Redis 5.0 compatibility
63
63
  # @!attribute [rw] reserved_ip_range
64
- # @return [String]
64
+ # @return [::String]
65
65
  # Optional. The CIDR range of internal addresses that are reserved for this
66
66
  # instance. If not provided, the service will choose an unused /29 block,
67
67
  # for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
68
68
  # and non-overlapping with existing subnets in an authorized network.
69
69
  # @!attribute [r] host
70
- # @return [String]
70
+ # @return [::String]
71
71
  # Output only. Hostname or IP address of the exposed Redis endpoint used by
72
72
  # clients to connect to the service.
73
73
  # @!attribute [r] port
74
- # @return [Integer]
74
+ # @return [::Integer]
75
75
  # Output only. The port number of the exposed Redis endpoint.
76
76
  # @!attribute [r] current_location_id
77
- # @return [String]
77
+ # @return [::String]
78
78
  # Output only. The current zone where the Redis endpoint is placed. For Basic
79
- # Tier instances, this will always be the same as the {Google::Cloud::Redis::V1::Instance#location_id location_id}
79
+ # Tier instances, this will always be the same as the {::Google::Cloud::Redis::V1::Instance#location_id location_id}
80
80
  # provided by the user at creation time. For Standard Tier instances,
81
- # this can be either {Google::Cloud::Redis::V1::Instance#location_id location_id} or {Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} and can
81
+ # this can be either {::Google::Cloud::Redis::V1::Instance#location_id location_id} or {::Google::Cloud::Redis::V1::Instance#alternative_location_id alternative_location_id} and can
82
82
  # change after a failover event.
83
83
  # @!attribute [r] create_time
84
- # @return [Google::Protobuf::Timestamp]
84
+ # @return [::Google::Protobuf::Timestamp]
85
85
  # Output only. The time the instance was created.
86
86
  # @!attribute [r] state
87
- # @return [Google::Cloud::Redis::V1::Instance::State]
87
+ # @return [::Google::Cloud::Redis::V1::Instance::State]
88
88
  # Output only. The current state of this instance.
89
89
  # @!attribute [r] status_message
90
- # @return [String]
90
+ # @return [::String]
91
91
  # Output only. Additional information about the current status of this
92
92
  # instance, if available.
93
93
  # @!attribute [rw] redis_configs
94
- # @return [Google::Protobuf::Map{String => String}]
94
+ # @return [::Google::Protobuf::Map{::String => ::String}]
95
95
  # Optional. Redis configuration parameters, according to
96
96
  # http://redis.io/topics/config. Currently, the only supported parameters
97
97
  # are:
@@ -113,49 +113,49 @@ module Google
113
113
  # * stream-node-max-bytes
114
114
  # * stream-node-max-entries
115
115
  # @!attribute [rw] tier
116
- # @return [Google::Cloud::Redis::V1::Instance::Tier]
116
+ # @return [::Google::Cloud::Redis::V1::Instance::Tier]
117
117
  # Required. The service tier of the instance.
118
118
  # @!attribute [rw] memory_size_gb
119
- # @return [Integer]
119
+ # @return [::Integer]
120
120
  # Required. Redis memory size in GiB.
121
121
  # @!attribute [rw] authorized_network
122
- # @return [String]
122
+ # @return [::String]
123
123
  # Optional. The full name of the Google Compute Engine
124
124
  # [network](/compute/docs/networks-and-firewalls#networks) to which the
125
125
  # instance is connected. If left unspecified, the `default` network
126
126
  # will be used.
127
127
  # @!attribute [r] persistence_iam_identity
128
- # @return [String]
128
+ # @return [::String]
129
129
  # Output only. Cloud IAM identity used by import / export operations to
130
130
  # transfer data to/from Cloud Storage. Format is
131
131
  # "serviceAccount:<service_account_email>". The value may change over time
132
132
  # for a given instance so should be checked before each import/export
133
133
  # operation.
134
134
  # @!attribute [rw] connect_mode
135
- # @return [Google::Cloud::Redis::V1::Instance::ConnectMode]
135
+ # @return [::Google::Cloud::Redis::V1::Instance::ConnectMode]
136
136
  # Optional. The connect mode of Redis instance.
137
137
  # If not provided, default one will be used.
138
138
  # Current default: DIRECT_PEERING.
139
139
  class Instance
140
- include Google::Protobuf::MessageExts
141
- extend Google::Protobuf::MessageExts::ClassMethods
140
+ include ::Google::Protobuf::MessageExts
141
+ extend ::Google::Protobuf::MessageExts::ClassMethods
142
142
 
143
143
  # @!attribute [rw] key
144
- # @return [String]
144
+ # @return [::String]
145
145
  # @!attribute [rw] value
146
- # @return [String]
146
+ # @return [::String]
147
147
  class LabelsEntry
148
- include Google::Protobuf::MessageExts
149
- extend Google::Protobuf::MessageExts::ClassMethods
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
150
  end
151
151
 
152
152
  # @!attribute [rw] key
153
- # @return [String]
153
+ # @return [::String]
154
154
  # @!attribute [rw] value
155
- # @return [String]
155
+ # @return [::String]
156
156
  class RedisConfigsEntry
157
- include Google::Protobuf::MessageExts
158
- extend Google::Protobuf::MessageExts::ClassMethods
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
159
  end
160
160
 
161
161
  # Represents the different states of a Redis instance.
@@ -216,33 +216,33 @@ module Google
216
216
  end
217
217
  end
218
218
 
219
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances}.
219
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances}.
220
220
  # @!attribute [rw] parent
221
- # @return [String]
221
+ # @return [::String]
222
222
  # Required. The resource name of the instance location using the form:
223
223
  # `projects/{project_id}/locations/{location_id}`
224
224
  # where `location_id` refers to a GCP region.
225
225
  # @!attribute [rw] page_size
226
- # @return [Integer]
226
+ # @return [::Integer]
227
227
  # The maximum number of items to return.
228
228
  #
229
229
  # If not specified, a default value of 1000 will be used by the service.
230
230
  # Regardless of the page_size value, the response may include a partial list
231
231
  # and a caller should only rely on response's
232
- # {Google::Cloud::Redis::V1::ListInstancesResponse#next_page_token `next_page_token`}
232
+ # {::Google::Cloud::Redis::V1::ListInstancesResponse#next_page_token `next_page_token`}
233
233
  # to determine if there are more instances left to be queried.
234
234
  # @!attribute [rw] page_token
235
- # @return [String]
235
+ # @return [::String]
236
236
  # The `next_page_token` value returned from a previous
237
- # {Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances} request, if any.
237
+ # {::Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances} request, if any.
238
238
  class ListInstancesRequest
239
- include Google::Protobuf::MessageExts
240
- extend Google::Protobuf::MessageExts::ClassMethods
239
+ include ::Google::Protobuf::MessageExts
240
+ extend ::Google::Protobuf::MessageExts::ClassMethods
241
241
  end
242
242
 
243
- # Response for {Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances}.
243
+ # Response for {::Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances}.
244
244
  # @!attribute [rw] instances
245
- # @return [Array<Google::Cloud::Redis::V1::Instance>]
245
+ # @return [::Array<::Google::Cloud::Redis::V1::Instance>]
246
246
  # A list of Redis instances in the project in the specified location,
247
247
  # or across all locations.
248
248
  #
@@ -254,36 +254,36 @@ module Google
254
254
  # the `status` field set to ERROR and `status_message` field set to "location
255
255
  # not available for ListInstances".
256
256
  # @!attribute [rw] next_page_token
257
- # @return [String]
257
+ # @return [::String]
258
258
  # Token to retrieve the next page of results, or empty if there are no more
259
259
  # results in the list.
260
260
  # @!attribute [rw] unreachable
261
- # @return [Array<String>]
261
+ # @return [::Array<::String>]
262
262
  # Locations that could not be reached.
263
263
  class ListInstancesResponse
264
- include Google::Protobuf::MessageExts
265
- extend Google::Protobuf::MessageExts::ClassMethods
264
+ include ::Google::Protobuf::MessageExts
265
+ extend ::Google::Protobuf::MessageExts::ClassMethods
266
266
  end
267
267
 
268
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#get_instance GetInstance}.
268
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#get_instance GetInstance}.
269
269
  # @!attribute [rw] name
270
- # @return [String]
270
+ # @return [::String]
271
271
  # Required. Redis instance resource name using the form:
272
272
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
273
273
  # where `location_id` refers to a GCP region.
274
274
  class GetInstanceRequest
275
- include Google::Protobuf::MessageExts
276
- extend Google::Protobuf::MessageExts::ClassMethods
275
+ include ::Google::Protobuf::MessageExts
276
+ extend ::Google::Protobuf::MessageExts::ClassMethods
277
277
  end
278
278
 
279
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#create_instance CreateInstance}.
279
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#create_instance CreateInstance}.
280
280
  # @!attribute [rw] parent
281
- # @return [String]
281
+ # @return [::String]
282
282
  # Required. The resource name of the instance location using the form:
283
283
  # `projects/{project_id}/locations/{location_id}`
284
284
  # where `location_id` refers to a GCP region.
285
285
  # @!attribute [rw] instance_id
286
- # @return [String]
286
+ # @return [::String]
287
287
  # Required. The logical name of the Redis instance in the customer project
288
288
  # with the following restrictions:
289
289
  #
@@ -293,122 +293,122 @@ module Google
293
293
  # * Must end with a number or a letter.
294
294
  # * Must be unique within the customer project / location
295
295
  # @!attribute [rw] instance
296
- # @return [Google::Cloud::Redis::V1::Instance]
296
+ # @return [::Google::Cloud::Redis::V1::Instance]
297
297
  # Required. A Redis [Instance] resource
298
298
  class CreateInstanceRequest
299
- include Google::Protobuf::MessageExts
300
- extend Google::Protobuf::MessageExts::ClassMethods
299
+ include ::Google::Protobuf::MessageExts
300
+ extend ::Google::Protobuf::MessageExts::ClassMethods
301
301
  end
302
302
 
303
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#update_instance UpdateInstance}.
303
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#update_instance UpdateInstance}.
304
304
  # @!attribute [rw] update_mask
305
- # @return [Google::Protobuf::FieldMask]
305
+ # @return [::Google::Protobuf::FieldMask]
306
306
  # Required. Mask of fields to update. At least one path must be supplied in
307
307
  # this field. The elements of the repeated paths field may only include these
308
- # fields from {Google::Cloud::Redis::V1::Instance Instance}:
308
+ # fields from {::Google::Cloud::Redis::V1::Instance Instance}:
309
309
  #
310
310
  # * `displayName`
311
311
  # * `labels`
312
312
  # * `memorySizeGb`
313
313
  # * `redisConfig`
314
314
  # @!attribute [rw] instance
315
- # @return [Google::Cloud::Redis::V1::Instance]
315
+ # @return [::Google::Cloud::Redis::V1::Instance]
316
316
  # Required. Update description.
317
317
  # Only fields specified in update_mask are updated.
318
318
  class UpdateInstanceRequest
319
- include Google::Protobuf::MessageExts
320
- extend Google::Protobuf::MessageExts::ClassMethods
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
321
  end
322
322
 
323
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#delete_instance DeleteInstance}.
323
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#delete_instance DeleteInstance}.
324
324
  # @!attribute [rw] name
325
- # @return [String]
325
+ # @return [::String]
326
326
  # Required. Redis instance resource name using the form:
327
327
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
328
328
  # where `location_id` refers to a GCP region.
329
329
  class DeleteInstanceRequest
330
- include Google::Protobuf::MessageExts
331
- extend Google::Protobuf::MessageExts::ClassMethods
330
+ include ::Google::Protobuf::MessageExts
331
+ extend ::Google::Protobuf::MessageExts::ClassMethods
332
332
  end
333
333
 
334
334
  # The Cloud Storage location for the input content
335
335
  # @!attribute [rw] uri
336
- # @return [String]
336
+ # @return [::String]
337
337
  # Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
338
338
  class GcsSource
339
- include Google::Protobuf::MessageExts
340
- extend Google::Protobuf::MessageExts::ClassMethods
339
+ include ::Google::Protobuf::MessageExts
340
+ extend ::Google::Protobuf::MessageExts::ClassMethods
341
341
  end
342
342
 
343
343
  # The input content
344
344
  # @!attribute [rw] gcs_source
345
- # @return [Google::Cloud::Redis::V1::GcsSource]
345
+ # @return [::Google::Cloud::Redis::V1::GcsSource]
346
346
  # Google Cloud Storage location where input content is located.
347
347
  class InputConfig
348
- include Google::Protobuf::MessageExts
349
- extend Google::Protobuf::MessageExts::ClassMethods
348
+ include ::Google::Protobuf::MessageExts
349
+ extend ::Google::Protobuf::MessageExts::ClassMethods
350
350
  end
351
351
 
352
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#import_instance Import}.
352
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#import_instance Import}.
353
353
  # @!attribute [rw] name
354
- # @return [String]
354
+ # @return [::String]
355
355
  # Required. Redis instance resource name using the form:
356
356
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
357
357
  # where `location_id` refers to a GCP region.
358
358
  # @!attribute [rw] input_config
359
- # @return [Google::Cloud::Redis::V1::InputConfig]
359
+ # @return [::Google::Cloud::Redis::V1::InputConfig]
360
360
  # Required. Specify data to be imported.
361
361
  class ImportInstanceRequest
362
- include Google::Protobuf::MessageExts
363
- extend Google::Protobuf::MessageExts::ClassMethods
362
+ include ::Google::Protobuf::MessageExts
363
+ extend ::Google::Protobuf::MessageExts::ClassMethods
364
364
  end
365
365
 
366
366
  # The Cloud Storage location for the output content
367
367
  # @!attribute [rw] uri
368
- # @return [String]
368
+ # @return [::String]
369
369
  # Required. Data destination URI (e.g.
370
370
  # 'gs://my_bucket/my_object'). Existing files will be overwritten.
371
371
  class GcsDestination
372
- include Google::Protobuf::MessageExts
373
- extend Google::Protobuf::MessageExts::ClassMethods
372
+ include ::Google::Protobuf::MessageExts
373
+ extend ::Google::Protobuf::MessageExts::ClassMethods
374
374
  end
375
375
 
376
376
  # The output content
377
377
  # @!attribute [rw] gcs_destination
378
- # @return [Google::Cloud::Redis::V1::GcsDestination]
378
+ # @return [::Google::Cloud::Redis::V1::GcsDestination]
379
379
  # Google Cloud Storage destination for output content.
380
380
  class OutputConfig
381
- include Google::Protobuf::MessageExts
382
- extend Google::Protobuf::MessageExts::ClassMethods
381
+ include ::Google::Protobuf::MessageExts
382
+ extend ::Google::Protobuf::MessageExts::ClassMethods
383
383
  end
384
384
 
385
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#export_instance Export}.
385
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#export_instance Export}.
386
386
  # @!attribute [rw] name
387
- # @return [String]
387
+ # @return [::String]
388
388
  # Required. Redis instance resource name using the form:
389
389
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
390
390
  # where `location_id` refers to a GCP region.
391
391
  # @!attribute [rw] output_config
392
- # @return [Google::Cloud::Redis::V1::OutputConfig]
392
+ # @return [::Google::Cloud::Redis::V1::OutputConfig]
393
393
  # Required. Specify data to be exported.
394
394
  class ExportInstanceRequest
395
- include Google::Protobuf::MessageExts
396
- extend Google::Protobuf::MessageExts::ClassMethods
395
+ include ::Google::Protobuf::MessageExts
396
+ extend ::Google::Protobuf::MessageExts::ClassMethods
397
397
  end
398
398
 
399
- # Request for {Google::Cloud::Redis::V1::CloudRedis::Client#failover_instance Failover}.
399
+ # Request for {::Google::Cloud::Redis::V1::CloudRedis::Client#failover_instance Failover}.
400
400
  # @!attribute [rw] name
401
- # @return [String]
401
+ # @return [::String]
402
402
  # Required. Redis instance resource name using the form:
403
403
  # `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
404
404
  # where `location_id` refers to a GCP region.
405
405
  # @!attribute [rw] data_protection_mode
406
- # @return [Google::Cloud::Redis::V1::FailoverInstanceRequest::DataProtectionMode]
406
+ # @return [::Google::Cloud::Redis::V1::FailoverInstanceRequest::DataProtectionMode]
407
407
  # Optional. Available data protection modes that the user can choose. If it's
408
408
  # unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
409
409
  class FailoverInstanceRequest
410
- include Google::Protobuf::MessageExts
411
- extend Google::Protobuf::MessageExts::ClassMethods
410
+ include ::Google::Protobuf::MessageExts
411
+ extend ::Google::Protobuf::MessageExts::ClassMethods
412
412
 
413
413
  # Specifies different modes of operation in relation to the data retention.
414
414
  module DataProtectionMode
@@ -429,29 +429,29 @@ module Google
429
429
 
430
430
  # Represents the v1 metadata of the long-running operation.
431
431
  # @!attribute [rw] create_time
432
- # @return [Google::Protobuf::Timestamp]
432
+ # @return [::Google::Protobuf::Timestamp]
433
433
  # Creation timestamp.
434
434
  # @!attribute [rw] end_time
435
- # @return [Google::Protobuf::Timestamp]
435
+ # @return [::Google::Protobuf::Timestamp]
436
436
  # End timestamp.
437
437
  # @!attribute [rw] target
438
- # @return [String]
438
+ # @return [::String]
439
439
  # Operation target.
440
440
  # @!attribute [rw] verb
441
- # @return [String]
441
+ # @return [::String]
442
442
  # Operation verb.
443
443
  # @!attribute [rw] status_detail
444
- # @return [String]
444
+ # @return [::String]
445
445
  # Operation status details.
446
446
  # @!attribute [rw] cancel_requested
447
- # @return [Boolean]
447
+ # @return [::Boolean]
448
448
  # Specifies if cancellation was requested for the operation.
449
449
  # @!attribute [rw] api_version
450
- # @return [String]
450
+ # @return [::String]
451
451
  # API version.
452
452
  class OperationMetadata
453
- include Google::Protobuf::MessageExts
454
- extend Google::Protobuf::MessageExts::ClassMethods
453
+ include ::Google::Protobuf::MessageExts
454
+ extend ::Google::Protobuf::MessageExts::ClassMethods
455
455
  end
456
456
 
457
457
  # This location metadata represents additional configuration options for a
@@ -459,30 +459,30 @@ module Google
459
459
  # only. It is returned as content of the
460
460
  # `google.cloud.location.Location.metadata` field.
461
461
  # @!attribute [r] available_zones
462
- # @return [Google::Protobuf::Map{String => Google::Cloud::Redis::V1::ZoneMetadata}]
462
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Redis::V1::ZoneMetadata}]
463
463
  # Output only. The set of available zones in the location. The map is keyed
464
464
  # by the lowercase ID of each zone, as defined by GCE. These keys can be
465
465
  # specified in `location_id` or `alternative_location_id` fields when
466
466
  # creating a Redis instance.
467
467
  class LocationMetadata
468
- include Google::Protobuf::MessageExts
469
- extend Google::Protobuf::MessageExts::ClassMethods
468
+ include ::Google::Protobuf::MessageExts
469
+ extend ::Google::Protobuf::MessageExts::ClassMethods
470
470
 
471
471
  # @!attribute [rw] key
472
- # @return [String]
472
+ # @return [::String]
473
473
  # @!attribute [rw] value
474
- # @return [Google::Cloud::Redis::V1::ZoneMetadata]
474
+ # @return [::Google::Cloud::Redis::V1::ZoneMetadata]
475
475
  class AvailableZonesEntry
476
- include Google::Protobuf::MessageExts
477
- extend Google::Protobuf::MessageExts::ClassMethods
476
+ include ::Google::Protobuf::MessageExts
477
+ extend ::Google::Protobuf::MessageExts::ClassMethods
478
478
  end
479
479
  end
480
480
 
481
481
  # Defines specific information for a particular zone. Currently empty and
482
482
  # reserved for future use only.
483
483
  class ZoneMetadata
484
- include Google::Protobuf::MessageExts
485
- extend Google::Protobuf::MessageExts::ClassMethods
484
+ include ::Google::Protobuf::MessageExts
485
+ extend ::Google::Protobuf::MessageExts::ClassMethods
486
486
  end
487
487
  end
488
488
  end