google-cloud-os_config-v1 1.1.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ca8ac4f1a960275f76e6fb1bc1a5deddc255e16e40e4389212f6919428b1a92
4
- data.tar.gz: c667c5ed89740d81f478fa8e85f60f58eff622b1a75030a69137e5ef1eecc887
3
+ metadata.gz: 78788427c63b8eb1cbd4d72e4fecac3d79c8857b196054535c1dab8cdaf65ece
4
+ data.tar.gz: c8eefffb666a953170dd7d6cce9a3106af4dfd5683adbdfeb177f74e74aac00d
5
5
  SHA512:
6
- metadata.gz: 573b9c7dd4660487455940786fc4dd11af8232a3ad2f91830281130d8dc85bbb802b583ea0f8a6deaaaecfb76f27fe870ff2cea621452201c234da79155c468d
7
- data.tar.gz: a0e7a6765db87af6c6bc61dfacec9db22fe10c0f880a25e04f43f2b459aabeafbc64cbaf7bacedbf616b268d5cfc0936173ce49b2c115dca153765eb76e0fadf
6
+ metadata.gz: a270e5bef2696403a655cac57804bb2f2f53362a2f268d82389035caace3083351720155b90a64c014aaf8f4bc4616169bcc50243f93f467a71e14d96dd5c6d5
7
+ data.tar.gz: cad1537d636f344f517bffd499487dfeb84b57a4865f333887eabba179608987ac4a638a43a200822d8977c4bb1509d2d485fa931198838704c372b9a851df6d
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 2.7+.
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
@@ -1394,8 +1401,8 @@ module Google
1394
1401
 
1395
1402
  config_attr :endpoint, nil, ::String, nil
1396
1403
  config_attr :credentials, nil do |value|
1397
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1398
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1404
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1405
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1399
1406
  allowed.any? { |klass| klass === value }
1400
1407
  end
1401
1408
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -1294,7 +1301,7 @@ module Google
1294
1301
 
1295
1302
  config_attr :endpoint, nil, ::String, nil
1296
1303
  config_attr :credentials, nil do |value|
1297
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1304
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1298
1305
  allowed.any? { |klass| klass === value }
1299
1306
  end
1300
1307
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -1530,8 +1537,8 @@ module Google
1530
1537
 
1531
1538
  config_attr :endpoint, nil, ::String, nil
1532
1539
  config_attr :credentials, nil do |value|
1533
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1534
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1540
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1541
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1535
1542
  allowed.any? { |klass| klass === value }
1536
1543
  end
1537
1544
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -1430,7 +1437,7 @@ module Google
1430
1437
 
1431
1438
  config_attr :endpoint, nil, ::String, nil
1432
1439
  config_attr :credentials, nil do |value|
1433
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1440
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1434
1441
  allowed.any? { |klass| klass === value }
1435
1442
  end
1436
1443
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module OsConfig
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.1.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.24.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.24.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: '2.7'
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.5.23
137
- signing_key:
134
+ rubygems_version: 3.6.8
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.