google-cloud-private_catalog-v1beta1 0.1.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39b160a553f78fb451ae7c12be09071c04f6f2ab07578fe7045ffb9c192831ff
4
- data.tar.gz: 4ff369aa8d52dc9ea7357ef174177b9d79a87f48495b55a76f67b8d23f6edac5
3
+ metadata.gz: 8767db3ffbbda64f1ff4a6dd40174ef29f5620bcfe70251d8e5b9582d46e887d
4
+ data.tar.gz: d739355667e78eec35bb9731a5bba95743c4ac3dd92c4938c8fdeb111f1bd1ab
5
5
  SHA512:
6
- metadata.gz: 2e01c64256591ab6cb135bffc01cd0e2a1713f693f20ed87b794f4037c7b22da2b3822e48f2c6f1d2cafcc0f24b0969b9c61f103f4c38331da0f90e97df32e1f
7
- data.tar.gz: 42e1c1570a885d5e2f6bbde565186869c914b7c89cf93c0bdc7fc47151a99f81e37591cfad606cf9441f966c46efda818be18af07db45457135f256be785c90b
6
+ metadata.gz: 50f4206e91bb13778cf96e73802b231178ec345f414906632c03278278e5db35e4285740c7e335968ba25c1b5e69aeb98009948968d0f3181e7e674ed3bad2f1
7
+ data.tar.gz: 40e789f230ea7c8662dda9a23d5b0470df7ef8ec9fd858ad6ead602fd59b1461b5a585e2d21ac189f8797496ee9e67fee0687edc92015517abc11ae7627efad8
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Private Catalog V1beta1 API
2
2
 
3
- API Client library for the Private Catalog V1beta1 API
3
+ Enable cloud users to discover private catalogs and products in their organizations.
4
4
 
5
5
  With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.
6
6
 
@@ -37,7 +37,7 @@ request = ::Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsRequest.new #
37
37
  response = client.search_catalogs request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-private_catalog-v1beta1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-private_catalog-v1beta1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/private-catalog/)
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  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)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -217,13 +217,11 @@ module Google
217
217
  # # Call the search_catalogs method.
218
218
  # result = client.search_catalogs request
219
219
  #
220
- # # The returned object is of type Gapic::PagedEnumerable. You can
221
- # # iterate over all elements by calling #each, and the enumerable
222
- # # will lazily make API calls to fetch subsequent pages. Other
223
- # # methods are also available for managing paging directly.
224
- # result.each do |response|
220
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
221
+ # # over elements, and API calls will be issued to fetch pages as needed.
222
+ # result.each do |item|
225
223
  # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Catalog.
226
- # p response
224
+ # p item
227
225
  # end
228
226
  #
229
227
  def search_catalogs request, options = nil
@@ -324,13 +322,11 @@ module Google
324
322
  # # Call the search_products method.
325
323
  # result = client.search_products request
326
324
  #
327
- # # The returned object is of type Gapic::PagedEnumerable. You can
328
- # # iterate over all elements by calling #each, and the enumerable
329
- # # will lazily make API calls to fetch subsequent pages. Other
330
- # # methods are also available for managing paging directly.
331
- # result.each do |response|
325
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
326
+ # # over elements, and API calls will be issued to fetch pages as needed.
327
+ # result.each do |item|
332
328
  # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Product.
333
- # p response
329
+ # p item
334
330
  # end
335
331
  #
336
332
  def search_products request, options = nil
@@ -431,13 +427,11 @@ module Google
431
427
  # # Call the search_versions method.
432
428
  # result = client.search_versions request
433
429
  #
434
- # # The returned object is of type Gapic::PagedEnumerable. You can
435
- # # iterate over all elements by calling #each, and the enumerable
436
- # # will lazily make API calls to fetch subsequent pages. Other
437
- # # methods are also available for managing paging directly.
438
- # result.each do |response|
430
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
431
+ # # over elements, and API calls will be issued to fetch pages as needed.
432
+ # result.each do |item|
439
433
  # # Each element is of type ::Google::Cloud::PrivateCatalog::V1beta1::Version.
440
- # p response
434
+ # p item
441
435
  # end
442
436
  #
443
437
  def search_versions request, options = nil