lib/google/cloud/redis/v1beta1.rb in google-cloud-redis-0.2.0 vs lib/google/cloud/redis/v1beta1.rb in google-cloud-redis-0.2.1
- old
+ new
@@ -10,10 +10,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
require "google/cloud/redis/v1beta1/cloud_redis_client"
require "google/cloud/redis/v1beta1/cloud_redis_pb"
module Google
module Cloud
@@ -35,10 +36,15 @@
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
# 3. [Enable the Google Cloud Memorystore for Redis API.](https://console.cloud.google.com/apis/library/redis.googleapis.com)
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
#
+ # ### Installation
+ # ```
+ # $ gem install google-cloud-redis
+ # ```
+ #
# ### Next Steps
# - Read the [Google Cloud Memorystore for Redis API Product documentation][Product Documentation]
# to learn more about the product and see How-to Guides.
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
# to see the full list of Cloud APIs that we cover.
@@ -84,10 +90,10 @@
# instances:
# * The service works with a collection of cloud projects, named: +/projects/*+
# * Each project has a collection of available locations, named: +/locations/*+
# * Each location has a collection of Redis instances, named: +/instances/*+
# * As such, Redis instances are resources of the form:
- # +/projects/{project_id}/locations/{location_id}/instances/{instance_id}+
+ # +/projects/\\{project_id}/locations/\\{location_id}/instances/\\{instance_id}+
#
# Note that location_id must be refering to a GCP +region+; for example:
# * +projects/redpepper-1290/locations/us-central1/instances/my-redis+
#
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]