google-apis-osconfig_v1beta 0.12.0 → 0.13.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b36ba7514b41eee38da7ce2976a673f9c61d6fe52faa2d9ca7b99e4bd8c78d54
|
4
|
+
data.tar.gz: d217e4367ef186d15f0a8decc3321277e4ac8026c702c16951751a226a0b22cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae53ce018b8bcadb853e439213063a959a5d1271bacf925adf3dfc893d3488d6eeb6c5068373ff9f89dcd50d73f7a90c9822a921330e674d964bd7f69d23ed32
|
7
|
+
data.tar.gz: 6faff93f4481f8522c172726f1946ba82fd9882423eac9cb3a3e89627f5826ccc42b3375666a2782d1e89a044fdec966a172bb554114d9bce05a8266fa2b30e9
|
data/CHANGELOG.md
CHANGED
@@ -1178,6 +1178,11 @@ module Google
|
|
1178
1178
|
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
1179
1179
|
attr_accessor :rollout
|
1180
1180
|
|
1181
|
+
# Output only. Current state of the patch deployment.
|
1182
|
+
# Corresponds to the JSON property `state`
|
1183
|
+
# @return [String]
|
1184
|
+
attr_accessor :state
|
1185
|
+
|
1181
1186
|
# Output only. Time the patch deployment was last updated. Timestamp is in [
|
1182
1187
|
# RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
1183
1188
|
# Corresponds to the JSON property `updateTime`
|
@@ -1200,6 +1205,7 @@ module Google
|
|
1200
1205
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
1201
1206
|
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
|
1202
1207
|
@rollout = args[:rollout] if args.key?(:rollout)
|
1208
|
+
@state = args[:state] if args.key?(:state)
|
1203
1209
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1204
1210
|
end
|
1205
1211
|
end
|
@@ -1580,6 +1586,19 @@ module Google
|
|
1580
1586
|
end
|
1581
1587
|
end
|
1582
1588
|
|
1589
|
+
# A request message for pausing a patch deployment.
|
1590
|
+
class PausePatchDeploymentRequest
|
1591
|
+
include Google::Apis::Core::Hashable
|
1592
|
+
|
1593
|
+
def initialize(**args)
|
1594
|
+
update!(**args)
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# Update properties of this object
|
1598
|
+
def update!(**args)
|
1599
|
+
end
|
1600
|
+
end
|
1601
|
+
|
1583
1602
|
# Sets the time for recurring patch deployments.
|
1584
1603
|
class RecurringSchedule
|
1585
1604
|
include Google::Apis::Core::Hashable
|
@@ -1653,6 +1672,19 @@ module Google
|
|
1653
1672
|
end
|
1654
1673
|
end
|
1655
1674
|
|
1675
|
+
# A request message for resuming a patch deployment.
|
1676
|
+
class ResumePatchDeploymentRequest
|
1677
|
+
include Google::Apis::Core::Hashable
|
1678
|
+
|
1679
|
+
def initialize(**args)
|
1680
|
+
update!(**args)
|
1681
|
+
end
|
1682
|
+
|
1683
|
+
# Update properties of this object
|
1684
|
+
def update!(**args)
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1656
1688
|
# A software recipe is a set of instructions for installing and configuring a
|
1657
1689
|
# piece of software. It consists of a set of artifacts that are downloaded, and
|
1658
1690
|
# a set of steps that install, configure, and/or update the software. Recipes
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV1beta
|
18
18
|
# Version of the google-apis-osconfig_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,12 +250,24 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class PausePatchDeploymentRequest
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
253
259
|
class RecurringSchedule
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
261
|
|
256
262
|
include Google::Apis::Core::JsonObjectSupport
|
257
263
|
end
|
258
264
|
|
265
|
+
class ResumePatchDeploymentRequest
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
259
271
|
class SoftwareRecipe
|
260
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
273
|
|
@@ -714,6 +726,7 @@ module Google
|
|
714
726
|
|
715
727
|
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
716
728
|
|
729
|
+
property :state, as: 'state'
|
717
730
|
property :update_time, as: 'updateTime'
|
718
731
|
end
|
719
732
|
end
|
@@ -803,6 +816,12 @@ module Google
|
|
803
816
|
end
|
804
817
|
end
|
805
818
|
|
819
|
+
class PausePatchDeploymentRequest
|
820
|
+
# @private
|
821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
806
825
|
class RecurringSchedule
|
807
826
|
# @private
|
808
827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -822,6 +841,12 @@ module Google
|
|
822
841
|
end
|
823
842
|
end
|
824
843
|
|
844
|
+
class ResumePatchDeploymentRequest
|
845
|
+
# @private
|
846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
847
|
+
end
|
848
|
+
end
|
849
|
+
|
825
850
|
class SoftwareRecipe
|
826
851
|
# @private
|
827
852
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -406,6 +406,76 @@ module Google
|
|
406
406
|
execute_or_queue_command(command, &block)
|
407
407
|
end
|
408
408
|
|
409
|
+
# Change state of patch deployment to "PAUSED". Patch deployment in paused state
|
410
|
+
# doesn't generate patch jobs.
|
411
|
+
# @param [String] name
|
412
|
+
# Required. The resource name of the patch deployment in the form `projects/*/
|
413
|
+
# patchDeployments/*`.
|
414
|
+
# @param [Google::Apis::OsconfigV1beta::PausePatchDeploymentRequest] pause_patch_deployment_request_object
|
415
|
+
# @param [String] fields
|
416
|
+
# Selector specifying which fields to include in a partial response.
|
417
|
+
# @param [String] quota_user
|
418
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
419
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
420
|
+
# @param [Google::Apis::RequestOptions] options
|
421
|
+
# Request-specific options
|
422
|
+
#
|
423
|
+
# @yield [result, err] Result & error if block supplied
|
424
|
+
# @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
|
425
|
+
# @yieldparam err [StandardError] error object if request failed
|
426
|
+
#
|
427
|
+
# @return [Google::Apis::OsconfigV1beta::PatchDeployment]
|
428
|
+
#
|
429
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
430
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
431
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
432
|
+
def pause_patch_deployment(name, pause_patch_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
433
|
+
command = make_simple_command(:post, 'v1beta/{+name}:pause', options)
|
434
|
+
command.request_representation = Google::Apis::OsconfigV1beta::PausePatchDeploymentRequest::Representation
|
435
|
+
command.request_object = pause_patch_deployment_request_object
|
436
|
+
command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
|
437
|
+
command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
|
438
|
+
command.params['name'] = name unless name.nil?
|
439
|
+
command.query['fields'] = fields unless fields.nil?
|
440
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
441
|
+
execute_or_queue_command(command, &block)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Change state of patch deployment back to "ACTIVE". Patch deployment in active
|
445
|
+
# state continues to generate patch jobs.
|
446
|
+
# @param [String] name
|
447
|
+
# Required. The resource name of the patch deployment in the form `projects/*/
|
448
|
+
# patchDeployments/*`.
|
449
|
+
# @param [Google::Apis::OsconfigV1beta::ResumePatchDeploymentRequest] resume_patch_deployment_request_object
|
450
|
+
# @param [String] fields
|
451
|
+
# Selector specifying which fields to include in a partial response.
|
452
|
+
# @param [String] quota_user
|
453
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
454
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
455
|
+
# @param [Google::Apis::RequestOptions] options
|
456
|
+
# Request-specific options
|
457
|
+
#
|
458
|
+
# @yield [result, err] Result & error if block supplied
|
459
|
+
# @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
|
460
|
+
# @yieldparam err [StandardError] error object if request failed
|
461
|
+
#
|
462
|
+
# @return [Google::Apis::OsconfigV1beta::PatchDeployment]
|
463
|
+
#
|
464
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
465
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
|
+
def resume_patch_deployment(name, resume_patch_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
468
|
+
command = make_simple_command(:post, 'v1beta/{+name}:resume', options)
|
469
|
+
command.request_representation = Google::Apis::OsconfigV1beta::ResumePatchDeploymentRequest::Representation
|
470
|
+
command.request_object = resume_patch_deployment_request_object
|
471
|
+
command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
|
472
|
+
command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
|
473
|
+
command.params['name'] = name unless name.nil?
|
474
|
+
command.query['fields'] = fields unless fields.nil?
|
475
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
476
|
+
execute_or_queue_command(command, &block)
|
477
|
+
end
|
478
|
+
|
409
479
|
# Cancel a patch job. The patch job must be active. Canceled patch jobs cannot
|
410
480
|
# be restarted.
|
411
481
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|