google-cloud-os_config-v1 0.1.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/os_config/v1.rb +3 -0
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +40 -28
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/lib/google/cloud/osconfig/v1/inventory_pb.rb +108 -0
- data/lib/google/cloud/osconfig/v1/osconfig_common_pb.rb +25 -0
- data/lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb +9 -9
- data/lib/google/cloud/osconfig/v1/patch_deployments_pb.rb +1 -0
- data/lib/google/cloud/osconfig/v1/patch_jobs_pb.rb +14 -0
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +284 -0
- data/proto_docs/google/cloud/osconfig/v1/osconfig_common.rb +40 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_deployments.rb +24 -17
- data/proto_docs/google/cloud/osconfig/v1/patch_jobs.rb +64 -5
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +14 -7
@@ -70,7 +70,16 @@ module Google
|
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
72
|
#
|
73
|
-
# Example 5: Compute Timestamp from
|
73
|
+
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
|
+
#
|
75
|
+
# Instant now = Instant.now();
|
76
|
+
#
|
77
|
+
# Timestamp timestamp =
|
78
|
+
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
|
+
# .setNanos(now.getNano()).build();
|
80
|
+
#
|
81
|
+
#
|
82
|
+
# Example 6: Compute Timestamp from current time in Python.
|
74
83
|
#
|
75
84
|
# timestamp = Timestamp()
|
76
85
|
# timestamp.GetCurrentTime()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_config-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.25.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.25.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +151,10 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0.9'
|
153
153
|
description: Cloud OS Config provides OS management tools that can be used for patch
|
154
|
-
management, patch compliance, and configuration management on VM instances.
|
154
|
+
management, patch compliance, and configuration management on VM instances. Note
|
155
|
+
that google-cloud-os_config-v1 is a version-specific client library. For most uses,
|
156
|
+
we recommend installing the main client library google-cloud-os_config instead.
|
157
|
+
See the readme for more details.
|
155
158
|
email: googleapis-packages@google.com
|
156
159
|
executables: []
|
157
160
|
extensions: []
|
@@ -168,6 +171,8 @@ files:
|
|
168
171
|
- lib/google/cloud/os_config/v1/os_config_service/credentials.rb
|
169
172
|
- lib/google/cloud/os_config/v1/os_config_service/paths.rb
|
170
173
|
- lib/google/cloud/os_config/v1/version.rb
|
174
|
+
- lib/google/cloud/osconfig/v1/inventory_pb.rb
|
175
|
+
- lib/google/cloud/osconfig/v1/osconfig_common_pb.rb
|
171
176
|
- lib/google/cloud/osconfig/v1/osconfig_service_pb.rb
|
172
177
|
- lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb
|
173
178
|
- lib/google/cloud/osconfig/v1/patch_deployments_pb.rb
|
@@ -175,6 +180,8 @@ files:
|
|
175
180
|
- proto_docs/README.md
|
176
181
|
- proto_docs/google/api/field_behavior.rb
|
177
182
|
- proto_docs/google/api/resource.rb
|
183
|
+
- proto_docs/google/cloud/osconfig/v1/inventory.rb
|
184
|
+
- proto_docs/google/cloud/osconfig/v1/osconfig_common.rb
|
178
185
|
- proto_docs/google/cloud/osconfig/v1/patch_deployments.rb
|
179
186
|
- proto_docs/google/cloud/osconfig/v1/patch_jobs.rb
|
180
187
|
- proto_docs/google/protobuf/duration.rb
|
@@ -195,14 +202,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
202
|
requirements:
|
196
203
|
- - ">="
|
197
204
|
- !ruby/object:Gem::Version
|
198
|
-
version: '2.
|
205
|
+
version: '2.5'
|
199
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
207
|
requirements:
|
201
208
|
- - ">="
|
202
209
|
- !ruby/object:Gem::Version
|
203
210
|
version: '0'
|
204
211
|
requirements: []
|
205
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.2.13
|
206
213
|
signing_key:
|
207
214
|
specification_version: 4
|
208
215
|
summary: API Client library for the Cloud OS Config V1 API
|