google-cloud-os_config-v1 0.4.1 → 0.6.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 +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +58 -50
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +653 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/credentials.rb +51 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/paths.rb +114 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service.rb +52 -0
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/lib/google/cloud/os_config/v1.rb +1 -0
- data/lib/google/cloud/osconfig/v1/inventory_pb.rb +45 -7
- data/lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb +1 -1
- data/lib/google/cloud/osconfig/v1/osconfig_zonal_service_pb.rb +23 -0
- data/lib/google/cloud/osconfig/v1/osconfig_zonal_service_services_pb.rb +56 -0
- data/lib/google/cloud/osconfig/v1/vulnerability_pb.rb +119 -0
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +141 -19
- data/proto_docs/google/cloud/osconfig/v1/vulnerability.rb +342 -0
- data/proto_docs/google/type/date.rb +53 -0
- data/proto_docs/google/type/datetime.rb +9 -1
- data/proto_docs/google/type/dayofweek.rb +9 -9
- data/proto_docs/google/type/timeofday.rb +2 -1
- metadata +13 -4
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
23
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
24
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
25
|
+
# following:
|
26
|
+
#
|
27
|
+
# * A full date, with non-zero year, month, and day values
|
28
|
+
# * A month and day value, with a zero year, such as an anniversary
|
29
|
+
# * A year on its own, with zero month and day values
|
30
|
+
# * A year and month value, with a zero day, such as a credit card expiration
|
31
|
+
# date
|
32
|
+
#
|
33
|
+
# Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
|
34
|
+
# `google.protobuf.Timestamp`.
|
35
|
+
# @!attribute [rw] year
|
36
|
+
# @return [::Integer]
|
37
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
38
|
+
# a year.
|
39
|
+
# @!attribute [rw] month
|
40
|
+
# @return [::Integer]
|
41
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a
|
42
|
+
# month and day.
|
43
|
+
# @!attribute [rw] day
|
44
|
+
# @return [::Integer]
|
45
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
|
46
|
+
# to specify a year by itself or a year and month where the day isn't
|
47
|
+
# significant.
|
48
|
+
class Date
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -19,7 +19,9 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents civil time
|
22
|
+
# Represents civil time (or occasionally physical time).
|
23
|
+
#
|
24
|
+
# This type can represent a civil time in one of a few possible ways:
|
23
25
|
#
|
24
26
|
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
25
27
|
# day with a particular offset from UTC.
|
@@ -33,6 +35,12 @@ module Google
|
|
33
35
|
# If year is 0, the DateTime is considered not to have a specific year. month
|
34
36
|
# and day must have valid, non-zero values.
|
35
37
|
#
|
38
|
+
# This type may also be used to represent a physical time if all the date and
|
39
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
40
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
41
|
+
# case also would like to store the user's timezone, that can be done in
|
42
|
+
# another field.
|
43
|
+
#
|
36
44
|
# This type is more flexible than some applications may want. Make sure to
|
37
45
|
# document and validate your application's limitations.
|
38
46
|
# @!attribute [rw] year
|
@@ -19,30 +19,30 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents a day of week.
|
22
|
+
# Represents a day of the week.
|
23
23
|
module DayOfWeek
|
24
|
-
# The
|
24
|
+
# The day of the week is unspecified.
|
25
25
|
DAY_OF_WEEK_UNSPECIFIED = 0
|
26
26
|
|
27
|
-
#
|
27
|
+
# Monday
|
28
28
|
MONDAY = 1
|
29
29
|
|
30
|
-
#
|
30
|
+
# Tuesday
|
31
31
|
TUESDAY = 2
|
32
32
|
|
33
|
-
#
|
33
|
+
# Wednesday
|
34
34
|
WEDNESDAY = 3
|
35
35
|
|
36
|
-
#
|
36
|
+
# Thursday
|
37
37
|
THURSDAY = 4
|
38
38
|
|
39
|
-
#
|
39
|
+
# Friday
|
40
40
|
FRIDAY = 5
|
41
41
|
|
42
|
-
#
|
42
|
+
# Saturday
|
43
43
|
SATURDAY = 6
|
44
44
|
|
45
|
-
#
|
45
|
+
# Sunday
|
46
46
|
SUNDAY = 7
|
47
47
|
end
|
48
48
|
end
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Type
|
22
22
|
# Represents a time of day. The date and time zone are either not significant
|
23
23
|
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
24
|
-
# types are
|
24
|
+
# types are {::Google::Type::Date google.type.Date} and
|
25
|
+
# `google.protobuf.Timestamp`.
|
25
26
|
# @!attribute [rw] hours
|
26
27
|
# @return [::Integer]
|
27
28
|
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
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.6.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: 2021-
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -176,13 +176,20 @@ files:
|
|
176
176
|
- lib/google/cloud/os_config/v1/os_config_service/client.rb
|
177
177
|
- lib/google/cloud/os_config/v1/os_config_service/credentials.rb
|
178
178
|
- lib/google/cloud/os_config/v1/os_config_service/paths.rb
|
179
|
+
- lib/google/cloud/os_config/v1/os_config_zonal_service.rb
|
180
|
+
- lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb
|
181
|
+
- lib/google/cloud/os_config/v1/os_config_zonal_service/credentials.rb
|
182
|
+
- lib/google/cloud/os_config/v1/os_config_zonal_service/paths.rb
|
179
183
|
- lib/google/cloud/os_config/v1/version.rb
|
180
184
|
- lib/google/cloud/osconfig/v1/inventory_pb.rb
|
181
185
|
- lib/google/cloud/osconfig/v1/osconfig_common_pb.rb
|
182
186
|
- lib/google/cloud/osconfig/v1/osconfig_service_pb.rb
|
183
187
|
- lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb
|
188
|
+
- lib/google/cloud/osconfig/v1/osconfig_zonal_service_pb.rb
|
189
|
+
- lib/google/cloud/osconfig/v1/osconfig_zonal_service_services_pb.rb
|
184
190
|
- lib/google/cloud/osconfig/v1/patch_deployments_pb.rb
|
185
191
|
- lib/google/cloud/osconfig/v1/patch_jobs_pb.rb
|
192
|
+
- lib/google/cloud/osconfig/v1/vulnerability_pb.rb
|
186
193
|
- proto_docs/README.md
|
187
194
|
- proto_docs/google/api/field_behavior.rb
|
188
195
|
- proto_docs/google/api/resource.rb
|
@@ -190,9 +197,11 @@ files:
|
|
190
197
|
- proto_docs/google/cloud/osconfig/v1/osconfig_common.rb
|
191
198
|
- proto_docs/google/cloud/osconfig/v1/patch_deployments.rb
|
192
199
|
- proto_docs/google/cloud/osconfig/v1/patch_jobs.rb
|
200
|
+
- proto_docs/google/cloud/osconfig/v1/vulnerability.rb
|
193
201
|
- proto_docs/google/protobuf/duration.rb
|
194
202
|
- proto_docs/google/protobuf/empty.rb
|
195
203
|
- proto_docs/google/protobuf/timestamp.rb
|
204
|
+
- proto_docs/google/type/date.rb
|
196
205
|
- proto_docs/google/type/datetime.rb
|
197
206
|
- proto_docs/google/type/dayofweek.rb
|
198
207
|
- proto_docs/google/type/timeofday.rb
|