Class: Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb

Overview

A resource that manages a system package.

Defined Under Namespace

Modules: DesiredState Classes: APT, Deb, GooGet, MSI, RPM, YUM, Zypper

Instance Attribute Summary collapse

Instance Attribute Details

#apt::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT

Returns A package managed by Apt.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#deb::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb

Returns A deb package file.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#desired_state::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState

Returns Required. The desired state the agent should maintain for this package.

Returns:



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#googet::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet

Returns A package managed by GooGet.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#msi::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI

Returns An MSI package.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#rpm::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM

Returns An rpm package file.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#yum::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM

Returns A package managed by YUM.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end

#zypper::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper

Returns A package managed by Zypper.



202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 202

class PackageResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A deb package file. dpkg packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. A deb package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `dpkg -i package`
  #     - install when true: `apt-get update && apt-get -y install
  #     package.deb`
  class Deb
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by APT.
  # - install: `apt-get update && apt-get -y install [name]`
  # - remove: `apt-get -y remove [name]`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class APT
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An RPM package file. RPM packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. An rpm package.
  # @!attribute [rw] pull_deps
  #   @return [::Boolean]
  #     Whether dependencies should also be installed.
  #     - install when false: `rpm --upgrade --replacepkgs package.rpm`
  #     - install when true: `yum -y install package.rpm` or
  #     `zypper -y install package.rpm`
  class RPM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by YUM.
  # - install: `yum -y install package`
  # - remove: `yum -y remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class YUM
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by Zypper.
  # - install: `zypper -y install package`
  # - remove: `zypper -y rm package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class Zypper
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package managed by GooGet.
  # - install: `googet -noconfirm install package`
  # - remove: `googet -noconfirm remove package`
  # @!attribute [rw] name
  #   @return [::String]
  #     Required. Package name.
  class GooGet
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # An MSI package. MSI packages only support INSTALLED state.
  # @!attribute [rw] source
  #   @return [::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File]
  #     Required. The MSI package.
  # @!attribute [rw] properties
  #   @return [::Array<::String>]
  #     Additional properties to use during installation.
  #     This should be in the format of Property=Setting.
  #     Appended to the defaults of `ACTION=INSTALL
  #     REBOOT=ReallySuppress`.
  class MSI
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The desired state that the OS Config agent maintains on the VM.
  module DesiredState
    # Unspecified is invalid.
    DESIRED_STATE_UNSPECIFIED = 0

    # Ensure that the package is installed.
    INSTALLED = 1

    # The agent ensures that the package is not installed and
    # uninstalls it if detected.
    REMOVED = 2
  end
end