README.md in google-cloud-compute-v1-0.2.0 vs README.md in google-cloud-compute-v1-0.3.0

- old
+ new

@@ -1,10 +1,10 @@ -# Ruby Client for the Google Cloud Compute V1 (ALPHA) API +# Ruby Client for the Google Cloud Compute V1 (BETA) API -API Client library for the Google Cloud Compute V1 (ALPHA) API +API Client library for the Google Cloud Compute V1 (BETA) API -google-cloud-compute-v1 is the official client library for the Google Cloud Compute V1 API. This library is considered to be in alpha. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time. +google-cloud-compute-v1 is the official client library for the Google Cloud Compute V1 API. This library is considered to be in beta. This means while stable it is still a work-in-progress and under active development, and might get backwards-incompatible changes at any time. https://github.com/googleapis/google-cloud-ruby ## Installation @@ -25,44 +25,18 @@ ```ruby require "google/cloud/compute/v1" client = ::Google::Cloud::Compute::V1::AcceleratorTypes::Rest::Client.new -request = my_create_request +request = ::Google::Cloud::Compute::V1::AggregatedListAcceleratorTypesRequest.new # (request fields as keyword arguments...) response = client.aggregated_list request ``` View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-compute-v1/latest) for class and method documentation. See also the [Product Documentation](https://cloud.google.com/compute/) for general usage information. - -## Enabling Logging - -To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library. -The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below, -or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest) -that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb) -and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information. - -Configuring a Ruby stdlib logger: - -```ruby -require "logger" - -module MyLogger - LOGGER = Logger.new $stderr, level: Logger::WARN - def logger - LOGGER - end -end - -# Define a gRPC module-level logger method before grpc/logconfig.rb loads. -module GRPC - extend MyLogger -end -``` ## Supported Ruby Versions This library is supported on Ruby 2.5+.