google-cloud-os_config-v1 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +12 -7
  4. data/lib/google/cloud/os_config/v1/os_config_service/client.rb +12 -18
  5. data/lib/google/cloud/os_config/v1/os_config_service/rest/client.rb +1181 -0
  6. data/lib/google/cloud/os_config/v1/os_config_service/rest/service_stub.rb +762 -0
  7. data/lib/google/cloud/os_config/v1/os_config_service/rest.rb +55 -0
  8. data/lib/google/cloud/os_config/v1/os_config_service.rb +7 -1
  9. data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +32 -42
  10. data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +15 -14
  11. data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/client.rb +1282 -0
  12. data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/operations.rb +793 -0
  13. data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/service_stub.rb +758 -0
  14. data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest.rb +56 -0
  15. data/lib/google/cloud/os_config/v1/os_config_zonal_service.rb +7 -1
  16. data/lib/google/cloud/os_config/v1/rest.rb +38 -0
  17. data/lib/google/cloud/os_config/v1/version.rb +1 -1
  18. data/lib/google/cloud/os_config/v1.rb +7 -2
  19. data/lib/google/cloud/osconfig/v1/inventory_pb.rb +2 -1
  20. data/lib/google/cloud/osconfig/v1/os_policy_assignment_reports_pb.rb +2 -1
  21. data/lib/google/cloud/osconfig/v1/os_policy_assignments_pb.rb +2 -1
  22. data/lib/google/cloud/osconfig/v1/os_policy_pb.rb +2 -1
  23. data/lib/google/cloud/osconfig/v1/osconfig_service_pb.rb +2 -1
  24. data/lib/google/cloud/osconfig/v1/osconfig_zonal_service_pb.rb +2 -1
  25. data/lib/google/cloud/osconfig/v1/patch_deployments_pb.rb +2 -1
  26. data/lib/google/cloud/osconfig/v1/patch_jobs_pb.rb +2 -1
  27. data/lib/google/cloud/osconfig/v1/vulnerability_pb.rb +2 -1
  28. data/proto_docs/google/api/client.rb +318 -0
  29. data/proto_docs/google/api/launch_stage.rb +71 -0
  30. data/proto_docs/google/protobuf/any.rb +3 -3
  31. data/proto_docs/google/protobuf/empty.rb +0 -2
  32. data/proto_docs/google/rpc/status.rb +4 -2
  33. metadata +24 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3d96054fa59f63991987e87c9239c085d97a82f99a250b13d0b54519dec70df
4
- data.tar.gz: 7fa7a1fa218f9d119ff651d11a0a02f79b270b7b608a668301185d49e7019c49
3
+ metadata.gz: 9afe499fe8391116d334232b83af7b982c695f0875c49402b604907a6a5f01f2
4
+ data.tar.gz: 647d10b6a59fb778e9bb060b19e148aa64716108123bb18ebce4015cb035cc23
5
5
  SHA512:
6
- metadata.gz: e4a07f3235e6c9af575d3b0fa106f1cb6f2d33e2c8893be52bfab240d94a8b0407c46e5a5155e733373fc13a8809e89c892e651b1d1826a4873cf3eb799b1923
7
- data.tar.gz: 48b017fdfdf2ef8bdec089d32e53046d721ea16e5d36a44cf6d861321949e16742086a67a0705c66c695e8dcdfcc577b6ab74b1c7ffbbf78ff1e25211cc198b0
6
+ metadata.gz: 1c9e1181ed87020efd253d2eadeca515847f24fc05d989407b2a61d5adc0f3586b2fd4124044ed75a097038c7772c691413fa95cf76cd95753bc944c3752e40c
7
+ data.tar.gz: 30c44abc16663db2da447deb8d92078817ff6fc4fd38602ece15580e661d6e8e94b891861ee65e8f2c8c4104b471e07bbb8e27fded78bca0ecfd5dad7b098eda
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 Cloud OS Config V1 API
2
2
 
3
- API Client library for the Cloud OS Config V1 API
3
+ OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
4
4
 
5
5
  Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.
6
6
 
@@ -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
 
@@ -478,13 +478,11 @@ module Google
478
478
  # # Call the list_patch_jobs method.
479
479
  # result = client.list_patch_jobs request
480
480
  #
481
- # # The returned object is of type Gapic::PagedEnumerable. You can
482
- # # iterate over all elements by calling #each, and the enumerable
483
- # # will lazily make API calls to fetch subsequent pages. Other
484
- # # methods are also available for managing paging directly.
485
- # result.each do |response|
481
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
482
+ # # over elements, and API calls will be issued to fetch pages as needed.
483
+ # result.each do |item|
486
484
  # # Each element is of type ::Google::Cloud::OsConfig::V1::PatchJob.
487
- # p response
485
+ # p item
488
486
  # end
489
487
  #
490
488
  def list_patch_jobs request, options = nil
@@ -580,13 +578,11 @@ module Google
580
578
  # # Call the list_patch_job_instance_details method.
581
579
  # result = client.list_patch_job_instance_details request
582
580
  #
583
- # # The returned object is of type Gapic::PagedEnumerable. You can
584
- # # iterate over all elements by calling #each, and the enumerable
585
- # # will lazily make API calls to fetch subsequent pages. Other
586
- # # methods are also available for managing paging directly.
587
- # result.each do |response|
581
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
582
+ # # over elements, and API calls will be issued to fetch pages as needed.
583
+ # result.each do |item|
588
584
  # # Each element is of type ::Google::Cloud::OsConfig::V1::PatchJobInstanceDetails.
589
- # p response
585
+ # p item
590
586
  # end
591
587
  #
592
588
  def list_patch_job_instance_details request, options = nil
@@ -861,13 +857,11 @@ module Google
861
857
  # # Call the list_patch_deployments method.
862
858
  # result = client.list_patch_deployments request
863
859
  #
864
- # # The returned object is of type Gapic::PagedEnumerable. You can
865
- # # iterate over all elements by calling #each, and the enumerable
866
- # # will lazily make API calls to fetch subsequent pages. Other
867
- # # methods are also available for managing paging directly.
868
- # result.each do |response|
860
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
861
+ # # over elements, and API calls will be issued to fetch pages as needed.
862
+ # result.each do |item|
869
863
  # # Each element is of type ::Google::Cloud::OsConfig::V1::PatchDeployment.
870
- # p response
864
+ # p item
871
865
  # end
872
866
  #
873
867
  def list_patch_deployments request, options = nil