google-cloud-os_config-v1alpha 0.10.0 → 0.11.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: 9ce6e30c0278c136cb59dddfd870a0368a62cee26d60829dc7fccedbadb60340
4
- data.tar.gz: afa500ba5bf10abc949af584d03ee0684b763129618bcc517367ef6243b4b5d0
3
+ metadata.gz: e9904e0e150c6dbbffc7f740a7750d9ed0804c531d273d2f6f9cf172026698b6
4
+ data.tar.gz: 1e663cd6d2766f0de37d9ff6314e0071fbf97436756e9e4045676d58a7901eb0
5
5
  SHA512:
6
- metadata.gz: 950670823be1414082b5d190d427871f1bce9333706c798e7e84b541669fc088324fa4aaa2369a7561619853ab776dc6514af18568add83aa4aed721cff2d56f
7
- data.tar.gz: aee355f7d7f8b8946a8f1aed10ba4ebb83a1b6156863f6293f2936f79b5c8058ae45592d22219743160fed099556dba3878e5ea66ca18e1fc9140b72ff1984fe
6
+ metadata.gz: 0a58f938091bb306294412b6cd1f6e925c7dae572cca8584bc7f810ee6ee6b2e8946d9edb433eee336b67856ca1ed6e6ae0fc2c87e2cf923eb57d96b24a0dd23
7
+ data.tar.gz: 27b343be0c62b90979c769205d2ad175a0144c67dd000d10e886db44faeaf304d71896ef3850a8185306a94586aea8a430e9fa81ffd7bf3677c7fbad085a29e7
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
@@ -1679,6 +1679,13 @@ module Google
1679
1679
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1680
1680
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1681
1681
  # * (`nil`) indicating no credentials
1682
+ #
1683
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1684
+ # external source for authentication to Google Cloud, you must validate it before
1685
+ # providing it to a Google API client library. Providing an unvalidated credential
1686
+ # configuration to Google APIs can compromise the security of your systems and data.
1687
+ # For more information, refer to [Validate credential configurations from external
1688
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1682
1689
  # @return [::Object]
1683
1690
  # @!attribute [rw] scope
1684
1691
  # The OAuth scopes
@@ -1733,8 +1740,8 @@ module Google
1733
1740
 
1734
1741
  config_attr :endpoint, nil, ::String, nil
1735
1742
  config_attr :credentials, nil do |value|
1736
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1737
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1743
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1744
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1738
1745
  allowed.any? { |klass| klass === value }
1739
1746
  end
1740
1747
  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
@@ -1568,6 +1568,13 @@ module Google
1568
1568
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1569
1569
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1570
1570
  # * (`nil`) indicating no credentials
1571
+ #
1572
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1573
+ # external source for authentication to Google Cloud, you must validate it before
1574
+ # providing it to a Google API client library. Providing an unvalidated credential
1575
+ # configuration to Google APIs can compromise the security of your systems and data.
1576
+ # For more information, refer to [Validate credential configurations from external
1577
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1571
1578
  # @return [::Object]
1572
1579
  # @!attribute [rw] scope
1573
1580
  # The OAuth scopes
@@ -1615,7 +1622,7 @@ module Google
1615
1622
 
1616
1623
  config_attr :endpoint, nil, ::String, nil
1617
1624
  config_attr :credentials, nil do |value|
1618
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1625
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1619
1626
  allowed.any? { |klass| klass === value }
1620
1627
  end
1621
1628
  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 V1alpha
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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::V1alpha::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
@@ -111,15 +111,23 @@ module Google
111
111
  # @!attribute [rw] pkg
112
112
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource]
113
113
  # Package resource
114
+ #
115
+ # 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.
114
116
  # @!attribute [rw] repository
115
117
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource]
116
118
  # Package repository resource
119
+ #
120
+ # 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.
117
121
  # @!attribute [rw] exec
118
122
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::ExecResource]
119
123
  # Exec resource
124
+ #
125
+ # 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.
120
126
  # @!attribute [rw] file
121
127
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::FileResource]
122
128
  # File resource
129
+ #
130
+ # 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.
123
131
  class Resource
124
132
  include ::Google::Protobuf::MessageExts
125
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -128,12 +136,18 @@ module Google
128
136
  # @!attribute [rw] remote
129
137
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Remote]
130
138
  # A generic remote file.
139
+ #
140
+ # 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.
131
141
  # @!attribute [rw] gcs
132
142
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File::Gcs]
133
143
  # A Cloud Storage object.
144
+ #
145
+ # 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.
134
146
  # @!attribute [rw] local_path
135
147
  # @return [::String]
136
148
  # A local path within the VM to use.
149
+ #
150
+ # 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.
137
151
  # @!attribute [rw] allow_insecure
138
152
  # @return [::Boolean]
139
153
  # Defaults to false. When false, files are subject to validations
@@ -181,24 +195,38 @@ module Google
181
195
  # @!attribute [rw] apt
182
196
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT]
183
197
  # A package managed by Apt.
198
+ #
199
+ # 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.
184
200
  # @!attribute [rw] deb
185
201
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb]
186
202
  # A deb package file.
203
+ #
204
+ # 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.
187
205
  # @!attribute [rw] yum
188
206
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM]
189
207
  # A package managed by YUM.
208
+ #
209
+ # 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.
190
210
  # @!attribute [rw] zypper
191
211
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper]
192
212
  # A package managed by Zypper.
213
+ #
214
+ # 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.
193
215
  # @!attribute [rw] rpm
194
216
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM]
195
217
  # An rpm package file.
218
+ #
219
+ # 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.
196
220
  # @!attribute [rw] googet
197
221
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet]
198
222
  # A package managed by GooGet.
223
+ #
224
+ # 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.
199
225
  # @!attribute [rw] msi
200
226
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI]
201
227
  # An MSI package.
228
+ #
229
+ # 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.
202
230
  class PackageResource
203
231
  include ::Google::Protobuf::MessageExts
204
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -310,15 +338,23 @@ module Google
310
338
  # @!attribute [rw] apt
311
339
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::AptRepository]
312
340
  # An Apt Repository.
341
+ #
342
+ # 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.
313
343
  # @!attribute [rw] yum
314
344
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::YumRepository]
315
345
  # A Yum Repository.
346
+ #
347
+ # 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.
316
348
  # @!attribute [rw] zypper
317
349
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::ZypperRepository]
318
350
  # A Zypper Repository.
351
+ #
352
+ # 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.
319
353
  # @!attribute [rw] goo
320
354
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::RepositoryResource::GooRepository]
321
355
  # A Goo Repository.
356
+ #
357
+ # 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.
322
358
  class RepositoryResource
323
359
  include ::Google::Protobuf::MessageExts
324
360
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -466,10 +502,14 @@ module Google
466
502
  # @!attribute [rw] file
467
503
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
468
504
  # A remote or local file.
505
+ #
506
+ # 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.
469
507
  # @!attribute [rw] script
470
508
  # @return [::String]
471
509
  # An inline script.
472
510
  # The size of the script is limited to 1024 characters.
511
+ #
512
+ # 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.
473
513
  # @!attribute [rw] args
474
514
  # @return [::Array<::String>]
475
515
  # Optional arguments to pass to the source during execution.
@@ -514,10 +554,14 @@ module Google
514
554
  # @!attribute [rw] file
515
555
  # @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
516
556
  # A remote or local source.
557
+ #
558
+ # 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.
517
559
  # @!attribute [rw] content
518
560
  # @return [::String]
519
561
  # A a file with this content.
520
562
  # The size of the content is limited to 1024 characters.
563
+ #
564
+ # 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.
521
565
  # @!attribute [rw] path
522
566
  # @return [::String]
523
567
  # 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
@@ -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
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-os_config-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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
@@ -106,7 +105,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
106
105
  licenses:
107
106
  - Apache-2.0
108
107
  metadata: {}
109
- post_install_message:
110
108
  rdoc_options: []
111
109
  require_paths:
112
110
  - lib
@@ -114,15 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
112
  requirements:
115
113
  - - ">="
116
114
  - !ruby/object:Gem::Version
117
- version: '2.7'
115
+ version: '3.0'
118
116
  required_rubygems_version: !ruby/object:Gem::Requirement
119
117
  requirements:
120
118
  - - ">="
121
119
  - !ruby/object:Gem::Version
122
120
  version: '0'
123
121
  requirements: []
124
- rubygems_version: 3.5.23
125
- signing_key:
122
+ rubygems_version: 3.6.8
126
123
  specification_version: 4
127
124
  summary: OS management tools that can be used for patch management, patch compliance,
128
125
  and configuration management on VM instances.