google-cloud-redis-v1beta1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/redis/v1beta1.rb +1 -1
- data/lib/google/cloud/redis/v1beta1/cloud_redis.rb +1 -1
- data/lib/google/cloud/redis/v1beta1/cloud_redis/client.rb +201 -201
- data/lib/google/cloud/redis/v1beta1/cloud_redis/credentials.rb +1 -1
- data/lib/google/cloud/redis/v1beta1/cloud_redis/operations.rb +100 -100
- data/lib/google/cloud/redis/v1beta1/cloud_redis/paths.rb +5 -5
- data/lib/google/cloud/redis/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/redis/v1beta1/cloud_redis.rb +111 -111
- data/proto_docs/google/longrunning/operations.rb +30 -30
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- metadata +2 -2
@@ -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
|
@@ -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
|
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 V1beta1
|
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::V1beta1::Instance#location_id location_id} and
|
35
|
-
# {Google::Cloud::Redis::V1beta1::Instance#alternative_location_id alternative_location_id} fields for more details.
|
34
|
+
# should be provisioned in. Refer to {::Google::Cloud::Redis::V1beta1::Instance#location_id location_id} and
|
35
|
+
# {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance#alternative_location_id alternative_location_id} is also provided, it must be
|
48
|
-
# different from {Google::Cloud::Redis::V1beta1::Instance#location_id location_id}.
|
47
|
+
# failures. If {::Google::Cloud::Redis::V1beta1::Instance#alternative_location_id alternative_location_id} is also provided, it must be
|
48
|
+
# different from {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance#location_id location_id}.
|
53
|
+
# must be a different zone from the one provided in {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance#location_id location_id}
|
79
|
+
# Tier instances, this will always be the same as the {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance#location_id location_id} or {Google::Cloud::Redis::V1beta1::Instance#alternative_location_id alternative_location_id} and can
|
81
|
+
# this can be either {::Google::Cloud::Redis::V1beta1::Instance#location_id location_id} or {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance::State]
|
87
|
+
# @return [::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance::Tier]
|
116
|
+
# @return [::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance::ConnectMode]
|
135
|
+
# @return [::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#list_instances ListInstances}.
|
219
|
+
# Request for {::Google::Cloud::Redis::V1beta1::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::V1beta1::ListInstancesResponse#next_page_token `next_page_token`}
|
232
|
+
# {::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#list_instances ListInstances} request, if any.
|
237
|
+
# {::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#list_instances ListInstances}.
|
243
|
+
# Response for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#list_instances ListInstances}.
|
244
244
|
# @!attribute [rw] instances
|
245
|
-
# @return [Array
|
245
|
+
# @return [::Array<::Google::Cloud::Redis::V1beta1::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
|
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::V1beta1::CloudRedis::Client#get_instance GetInstance}.
|
268
|
+
# Request for {::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#create_instance CreateInstance}.
|
279
|
+
# Request for {::Google::Cloud::Redis::V1beta1::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,136 +293,136 @@ 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::V1beta1::Instance]
|
296
|
+
# @return [::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#update_instance UpdateInstance}.
|
303
|
+
# Request for {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance Instance}:
|
308
|
+
# fields from {::Google::Cloud::Redis::V1beta1::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::V1beta1::Instance]
|
315
|
+
# @return [::Google::Cloud::Redis::V1beta1::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::V1beta1::CloudRedis::Client#upgrade_instance UpgradeInstance}.
|
323
|
+
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#upgrade_instance UpgradeInstance}.
|
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
|
# @!attribute [rw] redis_version
|
330
|
-
# @return [String]
|
330
|
+
# @return [::String]
|
331
331
|
# Required. Specifies the target version of Redis software to upgrade to.
|
332
332
|
class UpgradeInstanceRequest
|
333
|
-
include Google::Protobuf::MessageExts
|
334
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
333
|
+
include ::Google::Protobuf::MessageExts
|
334
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
335
335
|
end
|
336
336
|
|
337
|
-
# Request for {Google::Cloud::Redis::V1beta1::CloudRedis::Client#delete_instance DeleteInstance}.
|
337
|
+
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#delete_instance DeleteInstance}.
|
338
338
|
# @!attribute [rw] name
|
339
|
-
# @return [String]
|
339
|
+
# @return [::String]
|
340
340
|
# Required. Redis instance resource name using the form:
|
341
341
|
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
342
342
|
# where `location_id` refers to a GCP region.
|
343
343
|
class DeleteInstanceRequest
|
344
|
-
include Google::Protobuf::MessageExts
|
345
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
344
|
+
include ::Google::Protobuf::MessageExts
|
345
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
346
346
|
end
|
347
347
|
|
348
348
|
# The Cloud Storage location for the input content
|
349
349
|
# @!attribute [rw] uri
|
350
|
-
# @return [String]
|
350
|
+
# @return [::String]
|
351
351
|
# Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
|
352
352
|
class GcsSource
|
353
|
-
include Google::Protobuf::MessageExts
|
354
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
353
|
+
include ::Google::Protobuf::MessageExts
|
354
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
355
355
|
end
|
356
356
|
|
357
357
|
# The input content
|
358
358
|
# @!attribute [rw] gcs_source
|
359
|
-
# @return [Google::Cloud::Redis::V1beta1::GcsSource]
|
359
|
+
# @return [::Google::Cloud::Redis::V1beta1::GcsSource]
|
360
360
|
# Google Cloud Storage location where input content is located.
|
361
361
|
class InputConfig
|
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
|
-
# Request for {Google::Cloud::Redis::V1beta1::CloudRedis::Client#import_instance Import}.
|
366
|
+
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#import_instance Import}.
|
367
367
|
# @!attribute [rw] name
|
368
|
-
# @return [String]
|
368
|
+
# @return [::String]
|
369
369
|
# Required. Redis instance resource name using the form:
|
370
370
|
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
371
371
|
# where `location_id` refers to a GCP region.
|
372
372
|
# @!attribute [rw] input_config
|
373
|
-
# @return [Google::Cloud::Redis::V1beta1::InputConfig]
|
373
|
+
# @return [::Google::Cloud::Redis::V1beta1::InputConfig]
|
374
374
|
# Required. Specify data to be imported.
|
375
375
|
class ImportInstanceRequest
|
376
|
-
include Google::Protobuf::MessageExts
|
377
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
376
|
+
include ::Google::Protobuf::MessageExts
|
377
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
378
378
|
end
|
379
379
|
|
380
380
|
# The Cloud Storage location for the output content
|
381
381
|
# @!attribute [rw] uri
|
382
|
-
# @return [String]
|
382
|
+
# @return [::String]
|
383
383
|
# Required. Data destination URI (e.g.
|
384
384
|
# 'gs://my_bucket/my_object'). Existing files will be overwritten.
|
385
385
|
class GcsDestination
|
386
|
-
include Google::Protobuf::MessageExts
|
387
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
386
|
+
include ::Google::Protobuf::MessageExts
|
387
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
388
388
|
end
|
389
389
|
|
390
390
|
# The output content
|
391
391
|
# @!attribute [rw] gcs_destination
|
392
|
-
# @return [Google::Cloud::Redis::V1beta1::GcsDestination]
|
392
|
+
# @return [::Google::Cloud::Redis::V1beta1::GcsDestination]
|
393
393
|
# Google Cloud Storage destination for output content.
|
394
394
|
class OutputConfig
|
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::V1beta1::CloudRedis::Client#export_instance Export}.
|
399
|
+
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#export_instance Export}.
|
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] output_config
|
406
|
-
# @return [Google::Cloud::Redis::V1beta1::OutputConfig]
|
406
|
+
# @return [::Google::Cloud::Redis::V1beta1::OutputConfig]
|
407
407
|
# Required. Specify data to be exported.
|
408
408
|
class ExportInstanceRequest
|
409
|
-
include Google::Protobuf::MessageExts
|
410
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
409
|
+
include ::Google::Protobuf::MessageExts
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
411
|
end
|
412
412
|
|
413
|
-
# Request for {Google::Cloud::Redis::V1beta1::CloudRedis::Client#failover_instance Failover}.
|
413
|
+
# Request for {::Google::Cloud::Redis::V1beta1::CloudRedis::Client#failover_instance Failover}.
|
414
414
|
# @!attribute [rw] name
|
415
|
-
# @return [String]
|
415
|
+
# @return [::String]
|
416
416
|
# Required. Redis instance resource name using the form:
|
417
417
|
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
418
418
|
# where `location_id` refers to a GCP region.
|
419
419
|
# @!attribute [rw] data_protection_mode
|
420
|
-
# @return [Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode]
|
420
|
+
# @return [::Google::Cloud::Redis::V1beta1::FailoverInstanceRequest::DataProtectionMode]
|
421
421
|
# Optional. Available data protection modes that the user can choose. If it's
|
422
422
|
# unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
|
423
423
|
class FailoverInstanceRequest
|
424
|
-
include Google::Protobuf::MessageExts
|
425
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
424
|
+
include ::Google::Protobuf::MessageExts
|
425
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
426
426
|
|
427
427
|
# Specifies different modes of operation in relation to the data retention.
|
428
428
|
module DataProtectionMode
|
@@ -446,30 +446,30 @@ module Google
|
|
446
446
|
# only. It is returned as content of the
|
447
447
|
# `google.cloud.location.Location.metadata` field.
|
448
448
|
# @!attribute [r] available_zones
|
449
|
-
# @return [Google::Protobuf::Map{String => Google::Cloud::Redis::V1beta1::ZoneMetadata}]
|
449
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Redis::V1beta1::ZoneMetadata}]
|
450
450
|
# Output only. The set of available zones in the location. The map is keyed
|
451
451
|
# by the lowercase ID of each zone, as defined by GCE. These keys can be
|
452
452
|
# specified in `location_id` or `alternative_location_id` fields when
|
453
453
|
# creating a Redis instance.
|
454
454
|
class LocationMetadata
|
455
|
-
include Google::Protobuf::MessageExts
|
456
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
455
|
+
include ::Google::Protobuf::MessageExts
|
456
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
457
457
|
|
458
458
|
# @!attribute [rw] key
|
459
|
-
# @return [String]
|
459
|
+
# @return [::String]
|
460
460
|
# @!attribute [rw] value
|
461
|
-
# @return [Google::Cloud::Redis::V1beta1::ZoneMetadata]
|
461
|
+
# @return [::Google::Cloud::Redis::V1beta1::ZoneMetadata]
|
462
462
|
class AvailableZonesEntry
|
463
|
-
include Google::Protobuf::MessageExts
|
464
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
463
|
+
include ::Google::Protobuf::MessageExts
|
464
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
465
465
|
end
|
466
466
|
end
|
467
467
|
|
468
468
|
# Defines specific information for a particular zone. Currently empty and
|
469
469
|
# reserved for future use only.
|
470
470
|
class ZoneMetadata
|
471
|
-
include Google::Protobuf::MessageExts
|
472
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
471
|
+
include ::Google::Protobuf::MessageExts
|
472
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
473
473
|
end
|
474
474
|
end
|
475
475
|
end
|