google-cloud-os_config-v1alpha 0.9.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,9 +40,11 @@ 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
- # The normal response of the operation in case of success. If the original
47
+ # The normal, successful response of the operation. If the original
46
48
  # method returns no data on success, such as `Delete`, the response is
47
49
  # `google.protobuf.Empty`. If the original method is standard
48
50
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -50,12 +52,15 @@ 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
56
60
  end
57
61
 
58
- # The request message for Operations.GetOperation.
62
+ # The request message for
63
+ # Operations.GetOperation.
59
64
  # @!attribute [rw] name
60
65
  # @return [::String]
61
66
  # The name of the operation resource.
@@ -64,7 +69,8 @@ module Google
64
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
70
  end
66
71
 
67
- # The request message for Operations.ListOperations.
72
+ # The request message for
73
+ # Operations.ListOperations.
68
74
  # @!attribute [rw] name
69
75
  # @return [::String]
70
76
  # The name of the operation's parent resource.
@@ -82,7 +88,8 @@ module Google
82
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
89
  end
84
90
 
85
- # The response message for Operations.ListOperations.
91
+ # The response message for
92
+ # Operations.ListOperations.
86
93
  # @!attribute [rw] operations
87
94
  # @return [::Array<::Google::Longrunning::Operation>]
88
95
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +101,8 @@ module Google
94
101
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
102
  end
96
103
 
97
- # The request message for Operations.CancelOperation.
104
+ # The request message for
105
+ # Operations.CancelOperation.
98
106
  # @!attribute [rw] name
99
107
  # @return [::String]
100
108
  # The name of the operation resource to be cancelled.
@@ -103,7 +111,8 @@ module Google
103
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
112
  end
105
113
 
106
- # The request message for Operations.DeleteOperation.
114
+ # The request message for
115
+ # Operations.DeleteOperation.
107
116
  # @!attribute [rw] name
108
117
  # @return [::String]
109
118
  # The name of the operation resource to be deleted.
@@ -112,7 +121,8 @@ module Google
112
121
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
122
  end
114
123
 
115
- # The request message for Operations.WaitOperation.
124
+ # The request message for
125
+ # Operations.WaitOperation.
116
126
  # @!attribute [rw] name
117
127
  # @return [::String]
118
128
  # The name of the operation resource to wait on.
@@ -130,13 +140,12 @@ module Google
130
140
  #
131
141
  # Example:
132
142
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
143
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
144
+ # option (google.longrunning.operation_info) = {
145
+ # response_type: "ExportResponse"
146
+ # metadata_type: "ExportMetadata"
147
+ # };
148
+ # }
140
149
  # @!attribute [rw] response_type
141
150
  # @return [::String]
142
151
  # Required. The message name of the primary return type for this
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.9.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
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.21.1
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.21.1
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.6
125
- signing_key:
122
+ rubygems_version: 3.6.2
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.