google-cloud-os_config-v1 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +7 -0
- data/lib/google/cloud/os_config/v1/os_config_service/rest/client.rb +7 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +7 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +7 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/client.rb +7 -0
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/operations.rb +7 -0
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +22 -0
- data/proto_docs/google/cloud/osconfig/v1/os_policy.rb +44 -0
- data/proto_docs/google/cloud/osconfig/v1/osconfig_common.rb +4 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_deployments.rb +12 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_jobs.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/type/datetime.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b91dcb10e9716d3c8ac57945bb732797ae622707cd5b07c7dcbeec17480030
|
4
|
+
data.tar.gz: 413fa01372719e23703ce0bf47c4d22273b0b68b75068c1a2c7191e7957f6715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cba091d17332ad7618bcaa64c758d959258fd300750e65fcbaee13743d9cab0fb877c75a9b7ec2d691f19ca6291d2ee978edc41662f680b1ac92915be8ffa04e
|
7
|
+
data.tar.gz: 1401e529803570dbb585e683da61c44d4138f27a66c8ba29363c6f19c227e51deef221e663352aab22498c557f4ccd5dc3adca91f35b8bc725c43ad32d27cec6
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1340,6 +1340,13 @@ module Google
|
|
1340
1340
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1341
1341
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1342
1342
|
# * (`nil`) indicating no credentials
|
1343
|
+
#
|
1344
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1345
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1346
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1347
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1348
|
+
# For more information, refer to [Validate credential configurations from external
|
1349
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1343
1350
|
# @return [::Object]
|
1344
1351
|
# @!attribute [rw] scope
|
1345
1352
|
# The OAuth scopes
|
@@ -1247,6 +1247,13 @@ module Google
|
|
1247
1247
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1248
1248
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1249
1249
|
# * (`nil`) indicating no credentials
|
1250
|
+
#
|
1251
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1252
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1253
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1254
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1255
|
+
# For more information, refer to [Validate credential configurations from external
|
1256
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1250
1257
|
# @return [::Object]
|
1251
1258
|
# @!attribute [rw] scope
|
1252
1259
|
# The OAuth scopes
|
@@ -1476,6 +1476,13 @@ module Google
|
|
1476
1476
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1477
1477
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1478
1478
|
# * (`nil`) indicating no credentials
|
1479
|
+
#
|
1480
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1481
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1482
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1483
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1484
|
+
# For more information, refer to [Validate credential configurations from external
|
1485
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1479
1486
|
# @return [::Object]
|
1480
1487
|
# @!attribute [rw] scope
|
1481
1488
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -1383,6 +1383,13 @@ module Google
|
|
1383
1383
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1384
1384
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1385
1385
|
# * (`nil`) indicating no credentials
|
1386
|
+
#
|
1387
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1388
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1389
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1390
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1391
|
+
# For more information, refer to [Validate credential configurations from external
|
1392
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1386
1393
|
# @return [::Object]
|
1387
1394
|
# @!attribute [rw] scope
|
1388
1395
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -102,9 +102,13 @@ module Google
|
|
102
102
|
# @!attribute [rw] installed_package
|
103
103
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage]
|
104
104
|
# Software package present on the VM instance.
|
105
|
+
#
|
106
|
+
# Note: The following fields are mutually exclusive: `installed_package`, `available_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
105
107
|
# @!attribute [rw] available_package
|
106
108
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage]
|
107
109
|
# Software package available to be installed on the VM instance.
|
110
|
+
#
|
111
|
+
# Note: The following fields are mutually exclusive: `available_package`, `installed_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
108
112
|
class Item
|
109
113
|
include ::Google::Protobuf::MessageExts
|
110
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -138,43 +142,61 @@ module Google
|
|
138
142
|
# Yum package info.
|
139
143
|
# For details about the yum package manager, see
|
140
144
|
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
|
145
|
+
#
|
146
|
+
# Note: The following fields are mutually exclusive: `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
141
147
|
# @!attribute [rw] apt_package
|
142
148
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
|
143
149
|
# Details of an APT package.
|
144
150
|
# For details about the apt package manager, see
|
145
151
|
# https://wiki.debian.org/Apt.
|
152
|
+
#
|
153
|
+
# Note: The following fields are mutually exclusive: `apt_package`, `yum_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
146
154
|
# @!attribute [rw] zypper_package
|
147
155
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
|
148
156
|
# Details of a Zypper package.
|
149
157
|
# For details about the Zypper package manager, see
|
150
158
|
# https://en.opensuse.org/SDB:Zypper_manual.
|
159
|
+
#
|
160
|
+
# Note: The following fields are mutually exclusive: `zypper_package`, `yum_package`, `apt_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
151
161
|
# @!attribute [rw] googet_package
|
152
162
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
|
153
163
|
# Details of a Googet package.
|
154
164
|
# For details about the googet package manager, see
|
155
165
|
# https://github.com/google/googet.
|
166
|
+
#
|
167
|
+
# Note: The following fields are mutually exclusive: `googet_package`, `yum_package`, `apt_package`, `zypper_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
156
168
|
# @!attribute [rw] zypper_patch
|
157
169
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch]
|
158
170
|
# Details of a Zypper patch.
|
159
171
|
# For details about the Zypper package manager, see
|
160
172
|
# https://en.opensuse.org/SDB:Zypper_manual.
|
173
|
+
#
|
174
|
+
# Note: The following fields are mutually exclusive: `zypper_patch`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
161
175
|
# @!attribute [rw] wua_package
|
162
176
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage]
|
163
177
|
# Details of a Windows Update package.
|
164
178
|
# See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
|
165
179
|
# information about Windows Update.
|
180
|
+
#
|
181
|
+
# Note: The following fields are mutually exclusive: `wua_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
166
182
|
# @!attribute [rw] qfe_package
|
167
183
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage]
|
168
184
|
# Details of a Windows Quick Fix engineering package.
|
169
185
|
# See
|
170
186
|
# https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
|
171
187
|
# for info in Windows Quick Fix Engineering.
|
188
|
+
#
|
189
|
+
# Note: The following fields are mutually exclusive: `qfe_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
172
190
|
# @!attribute [rw] cos_package
|
173
191
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
|
174
192
|
# Details of a COS package.
|
193
|
+
#
|
194
|
+
# Note: The following fields are mutually exclusive: `cos_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
175
195
|
# @!attribute [rw] windows_application
|
176
196
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication]
|
177
197
|
# Details of Windows Application.
|
198
|
+
#
|
199
|
+
# Note: The following fields are mutually exclusive: `windows_application`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
178
200
|
class SoftwarePackage
|
179
201
|
include ::Google::Protobuf::MessageExts
|
180
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -94,15 +94,23 @@ module Google
|
|
94
94
|
# @!attribute [rw] pkg
|
95
95
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource]
|
96
96
|
# Package resource
|
97
|
+
#
|
98
|
+
# Note: The following fields are mutually exclusive: `pkg`, `repository`, `exec`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
97
99
|
# @!attribute [rw] repository
|
98
100
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource]
|
99
101
|
# Package repository resource
|
102
|
+
#
|
103
|
+
# Note: The following fields are mutually exclusive: `repository`, `pkg`, `exec`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
100
104
|
# @!attribute [rw] exec
|
101
105
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::ExecResource]
|
102
106
|
# Exec resource
|
107
|
+
#
|
108
|
+
# Note: The following fields are mutually exclusive: `exec`, `pkg`, `repository`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
103
109
|
# @!attribute [rw] file
|
104
110
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::FileResource]
|
105
111
|
# File resource
|
112
|
+
#
|
113
|
+
# Note: The following fields are mutually exclusive: `file`, `pkg`, `repository`, `exec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
106
114
|
class Resource
|
107
115
|
include ::Google::Protobuf::MessageExts
|
108
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -111,12 +119,18 @@ module Google
|
|
111
119
|
# @!attribute [rw] remote
|
112
120
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Remote]
|
113
121
|
# A generic remote file.
|
122
|
+
#
|
123
|
+
# Note: The following fields are mutually exclusive: `remote`, `gcs`, `local_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
114
124
|
# @!attribute [rw] gcs
|
115
125
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File::Gcs]
|
116
126
|
# A Cloud Storage object.
|
127
|
+
#
|
128
|
+
# Note: The following fields are mutually exclusive: `gcs`, `remote`, `local_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
117
129
|
# @!attribute [rw] local_path
|
118
130
|
# @return [::String]
|
119
131
|
# A local path within the VM to use.
|
132
|
+
#
|
133
|
+
# Note: The following fields are mutually exclusive: `local_path`, `remote`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
120
134
|
# @!attribute [rw] allow_insecure
|
121
135
|
# @return [::Boolean]
|
122
136
|
# Defaults to false. When false, files are subject to validations
|
@@ -164,24 +178,38 @@ module Google
|
|
164
178
|
# @!attribute [rw] apt
|
165
179
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT]
|
166
180
|
# A package managed by Apt.
|
181
|
+
#
|
182
|
+
# Note: The following fields are mutually exclusive: `apt`, `deb`, `yum`, `zypper`, `rpm`, `googet`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
167
183
|
# @!attribute [rw] deb
|
168
184
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb]
|
169
185
|
# A deb package file.
|
186
|
+
#
|
187
|
+
# Note: The following fields are mutually exclusive: `deb`, `apt`, `yum`, `zypper`, `rpm`, `googet`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
170
188
|
# @!attribute [rw] yum
|
171
189
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM]
|
172
190
|
# A package managed by YUM.
|
191
|
+
#
|
192
|
+
# Note: The following fields are mutually exclusive: `yum`, `apt`, `deb`, `zypper`, `rpm`, `googet`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
173
193
|
# @!attribute [rw] zypper
|
174
194
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper]
|
175
195
|
# A package managed by Zypper.
|
196
|
+
#
|
197
|
+
# Note: The following fields are mutually exclusive: `zypper`, `apt`, `deb`, `yum`, `rpm`, `googet`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
176
198
|
# @!attribute [rw] rpm
|
177
199
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM]
|
178
200
|
# An rpm package file.
|
201
|
+
#
|
202
|
+
# Note: The following fields are mutually exclusive: `rpm`, `apt`, `deb`, `yum`, `zypper`, `googet`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
179
203
|
# @!attribute [rw] googet
|
180
204
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet]
|
181
205
|
# A package managed by GooGet.
|
206
|
+
#
|
207
|
+
# Note: The following fields are mutually exclusive: `googet`, `apt`, `deb`, `yum`, `zypper`, `rpm`, `msi`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
182
208
|
# @!attribute [rw] msi
|
183
209
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI]
|
184
210
|
# An MSI package.
|
211
|
+
#
|
212
|
+
# Note: The following fields are mutually exclusive: `msi`, `apt`, `deb`, `yum`, `zypper`, `rpm`, `googet`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
185
213
|
class PackageResource
|
186
214
|
include ::Google::Protobuf::MessageExts
|
187
215
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -293,15 +321,23 @@ module Google
|
|
293
321
|
# @!attribute [rw] apt
|
294
322
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::AptRepository]
|
295
323
|
# An Apt Repository.
|
324
|
+
#
|
325
|
+
# Note: The following fields are mutually exclusive: `apt`, `yum`, `zypper`, `goo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
296
326
|
# @!attribute [rw] yum
|
297
327
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::YumRepository]
|
298
328
|
# A Yum Repository.
|
329
|
+
#
|
330
|
+
# Note: The following fields are mutually exclusive: `yum`, `apt`, `zypper`, `goo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
299
331
|
# @!attribute [rw] zypper
|
300
332
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::ZypperRepository]
|
301
333
|
# A Zypper Repository.
|
334
|
+
#
|
335
|
+
# Note: The following fields are mutually exclusive: `zypper`, `apt`, `yum`, `goo`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
302
336
|
# @!attribute [rw] goo
|
303
337
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::RepositoryResource::GooRepository]
|
304
338
|
# A Goo Repository.
|
339
|
+
#
|
340
|
+
# Note: The following fields are mutually exclusive: `goo`, `apt`, `yum`, `zypper`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
305
341
|
class RepositoryResource
|
306
342
|
include ::Google::Protobuf::MessageExts
|
307
343
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -449,10 +485,14 @@ module Google
|
|
449
485
|
# @!attribute [rw] file
|
450
486
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File]
|
451
487
|
# A remote or local file.
|
488
|
+
#
|
489
|
+
# Note: The following fields are mutually exclusive: `file`, `script`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
452
490
|
# @!attribute [rw] script
|
453
491
|
# @return [::String]
|
454
492
|
# An inline script.
|
455
493
|
# The size of the script is limited to 1024 characters.
|
494
|
+
#
|
495
|
+
# Note: The following fields are mutually exclusive: `script`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
456
496
|
# @!attribute [rw] args
|
457
497
|
# @return [::Array<::String>]
|
458
498
|
# Optional arguments to pass to the source during execution.
|
@@ -497,10 +537,14 @@ module Google
|
|
497
537
|
# @!attribute [rw] file
|
498
538
|
# @return [::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File]
|
499
539
|
# A remote or local source.
|
540
|
+
#
|
541
|
+
# Note: The following fields are mutually exclusive: `file`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
500
542
|
# @!attribute [rw] content
|
501
543
|
# @return [::String]
|
502
544
|
# A a file with this content.
|
503
545
|
# The size of the content is limited to 1024 characters.
|
546
|
+
#
|
547
|
+
# Note: The following fields are mutually exclusive: `content`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
504
548
|
# @!attribute [rw] path
|
505
549
|
# @return [::String]
|
506
550
|
# Required. The absolute path of the file within the VM.
|
@@ -26,10 +26,14 @@ module Google
|
|
26
26
|
# @!attribute [rw] fixed
|
27
27
|
# @return [::Integer]
|
28
28
|
# Specifies a fixed value.
|
29
|
+
#
|
30
|
+
# Note: The following fields are mutually exclusive: `fixed`, `percent`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
29
31
|
# @!attribute [rw] percent
|
30
32
|
# @return [::Integer]
|
31
33
|
# Specifies the relative value defined as a percentage, which will be
|
32
34
|
# multiplied by a reference value.
|
35
|
+
#
|
36
|
+
# Note: The following fields are mutually exclusive: `percent`, `fixed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
33
37
|
class FixedOrPercent
|
34
38
|
include ::Google::Protobuf::MessageExts
|
35
39
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -49,9 +49,13 @@ module Google
|
|
49
49
|
# @!attribute [rw] one_time_schedule
|
50
50
|
# @return [::Google::Cloud::OsConfig::V1::OneTimeSchedule]
|
51
51
|
# Required. Schedule a one-time execution.
|
52
|
+
#
|
53
|
+
# Note: The following fields are mutually exclusive: `one_time_schedule`, `recurring_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
54
|
# @!attribute [rw] recurring_schedule
|
53
55
|
# @return [::Google::Cloud::OsConfig::V1::RecurringSchedule]
|
54
56
|
# Required. Schedule recurring executions.
|
57
|
+
#
|
58
|
+
# Note: The following fields are mutually exclusive: `recurring_schedule`, `one_time_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
55
59
|
# @!attribute [r] create_time
|
56
60
|
# @return [::Google::Protobuf::Timestamp]
|
57
61
|
# Output only. Time the patch deployment was created. Timestamp is in
|
@@ -121,9 +125,13 @@ module Google
|
|
121
125
|
# @!attribute [rw] weekly
|
122
126
|
# @return [::Google::Cloud::OsConfig::V1::WeeklySchedule]
|
123
127
|
# Required. Schedule with weekly executions.
|
128
|
+
#
|
129
|
+
# Note: The following fields are mutually exclusive: `weekly`, `monthly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
124
130
|
# @!attribute [rw] monthly
|
125
131
|
# @return [::Google::Cloud::OsConfig::V1::MonthlySchedule]
|
126
132
|
# Required. Schedule with monthly executions.
|
133
|
+
#
|
134
|
+
# Note: The following fields are mutually exclusive: `monthly`, `weekly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
127
135
|
# @!attribute [r] last_execute_time
|
128
136
|
# @return [::Google::Protobuf::Timestamp]
|
129
137
|
# Output only. The time the last patch job ran successfully.
|
@@ -167,12 +175,16 @@ module Google
|
|
167
175
|
# @!attribute [rw] week_day_of_month
|
168
176
|
# @return [::Google::Cloud::OsConfig::V1::WeekDayOfMonth]
|
169
177
|
# Required. Week day in a month.
|
178
|
+
#
|
179
|
+
# Note: The following fields are mutually exclusive: `week_day_of_month`, `month_day`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
170
180
|
# @!attribute [rw] month_day
|
171
181
|
# @return [::Integer]
|
172
182
|
# Required. One day of the month. 1-31 indicates the 1st to the 31st day.
|
173
183
|
# -1 indicates the last day of the month. Months without the target day
|
174
184
|
# will be skipped. For example, a schedule to run "every month on the 31st"
|
175
185
|
# will not run in February, April, June, etc.
|
186
|
+
#
|
187
|
+
# Note: The following fields are mutually exclusive: `month_day`, `week_day_of_month`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
176
188
|
class MonthlySchedule
|
177
189
|
include ::Google::Protobuf::MessageExts
|
178
190
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -610,9 +610,13 @@ module Google
|
|
610
610
|
# @!attribute [rw] local_path
|
611
611
|
# @return [::String]
|
612
612
|
# An absolute path to the executable on the VM.
|
613
|
+
#
|
614
|
+
# Note: The following fields are mutually exclusive: `local_path`, `gcs_object`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
613
615
|
# @!attribute [rw] gcs_object
|
614
616
|
# @return [::Google::Cloud::OsConfig::V1::GcsObject]
|
615
617
|
# A Cloud Storage object containing the executable.
|
618
|
+
#
|
619
|
+
# Note: The following fields are mutually exclusive: `gcs_object`, `local_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
616
620
|
# @!attribute [rw] allowed_success_codes
|
617
621
|
# @return [::Array<::Integer>]
|
618
622
|
# Defaults to [0]. A list of possible return values that the
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -75,9 +75,13 @@ module Google
|
|
75
75
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
76
|
# For example, a UTC offset of -4:00 would be represented as
|
77
77
|
# { seconds: -14400 }.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
80
|
# @!attribute [rw] time_zone
|
79
81
|
# @return [::Google::Type::TimeZone]
|
80
82
|
# Time zone.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
85
|
class DateTime
|
82
86
|
include ::Google::Protobuf::MessageExts
|
83
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_config-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -118,7 +117,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
118
117
|
licenses:
|
119
118
|
- Apache-2.0
|
120
119
|
metadata: {}
|
121
|
-
post_install_message:
|
122
120
|
rdoc_options: []
|
123
121
|
require_paths:
|
124
122
|
- lib
|
@@ -126,15 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
124
|
requirements:
|
127
125
|
- - ">="
|
128
126
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
127
|
+
version: '3.0'
|
130
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
129
|
requirements:
|
132
130
|
- - ">="
|
133
131
|
- !ruby/object:Gem::Version
|
134
132
|
version: '0'
|
135
133
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
134
|
+
rubygems_version: 3.6.2
|
138
135
|
specification_version: 4
|
139
136
|
summary: OS management tools that can be used for patch management, patch compliance,
|
140
137
|
and configuration management on VM instances.
|