google-cloud-os_config-v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +12 -18
- data/lib/google/cloud/os_config/v1/os_config_service/rest/client.rb +1181 -0
- data/lib/google/cloud/os_config/v1/os_config_service/rest/service_stub.rb +762 -0
- data/lib/google/cloud/os_config/v1/os_config_service/rest.rb +55 -0
- data/lib/google/cloud/os_config/v1/os_config_service.rb +7 -1
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +32 -42
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +12 -14
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/client.rb +1282 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/operations.rb +793 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/service_stub.rb +758 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest.rb +56 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service.rb +7 -1
- data/lib/google/cloud/os_config/v1/rest.rb +38 -0
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/lib/google/cloud/os_config/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +19 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9afe499fe8391116d334232b83af7b982c695f0875c49402b604907a6a5f01f2
|
4
|
+
data.tar.gz: 647d10b6a59fb778e9bb060b19e148aa64716108123bb18ebce4015cb035cc23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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.
|
@@ -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
|
-
# #
|
483
|
-
#
|
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
|
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
|
-
# #
|
585
|
-
#
|
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
|
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
|
-
# #
|
866
|
-
#
|
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
|
864
|
+
# p item
|
871
865
|
# end
|
872
866
|
#
|
873
867
|
def list_patch_deployments request, options = nil
|