@@ -113,40 +113,6 @@ def channel(self):
113113 """
114114 return self ._channel
115115
116- @property
117- def list_instances (self ):
118- """Return the gRPC stub for :meth:`CloudRedisClient.list_instances`.
119-
120- Lists all Redis instances owned by a project in either the specified
121- location (region) or all locations.
122-
123- The location should have the following format:
124-
125- - ``projects/{project_id}/locations/{location_id}``
126-
127- If ``location_id`` is specified as ``-`` (wildcard), then all regions
128- available to the project are queried, and the results are aggregated.
129-
130- Returns:
131- Callable: A callable which accepts the appropriate
132- deserialized request object and returns a
133- deserialized response object.
134- """
135- return self ._stubs ["cloud_redis_stub" ].ListInstances
136-
137- @property
138- def get_instance (self ):
139- """Return the gRPC stub for :meth:`CloudRedisClient.get_instance`.
140-
141- Gets the details of a specific Redis instance.
142-
143- Returns:
144- Callable: A callable which accepts the appropriate
145- deserialized request object and returns a
146- deserialized response object.
147- """
148- return self ._stubs ["cloud_redis_stub" ].GetInstance
149-
150116 @property
151117 def create_instance (self ):
152118 """Return the gRPC stub for :meth:`CloudRedisClient.create_instance`.
@@ -189,6 +155,40 @@ def update_instance(self):
189155 """
190156 return self ._stubs ["cloud_redis_stub" ].UpdateInstance
191157
158+ @property
159+ def list_instances (self ):
160+ """Return the gRPC stub for :meth:`CloudRedisClient.list_instances`.
161+
162+ Lists all Redis instances owned by a project in either the specified
163+ location (region) or all locations.
164+
165+ The location should have the following format:
166+
167+ - ``projects/{project_id}/locations/{location_id}``
168+
169+ If ``location_id`` is specified as ``-`` (wildcard), then all regions
170+ available to the project are queried, and the results are aggregated.
171+
172+ Returns:
173+ Callable: A callable which accepts the appropriate
174+ deserialized request object and returns a
175+ deserialized response object.
176+ """
177+ return self ._stubs ["cloud_redis_stub" ].ListInstances
178+
179+ @property
180+ def get_instance (self ):
181+ """Return the gRPC stub for :meth:`CloudRedisClient.get_instance`.
182+
183+ Gets the details of a specific Redis instance.
184+
185+ Returns:
186+ Callable: A callable which accepts the appropriate
187+ deserialized request object and returns a
188+ deserialized response object.
189+ """
190+ return self ._stubs ["cloud_redis_stub" ].GetInstance
191+
192192 @property
193193 def import_instance (self ):
194194 """Return the gRPC stub for :meth:`CloudRedisClient.import_instance`.
0 commit comments