google-apis-osconfig_v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/osconfig_v1/gem_version.rb +2 -2
- data/lib/google/apis/osconfig_v1/service.rb +40 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e92c6b577d27e21909cc1bda1167626fa6e57361dcc84e097f670ddb8055ce75
|
4
|
+
data.tar.gz: 338748c679d2e4f049f4eca2ccbf5f587cdf4ff1ff78c90b8f71d4c4e72d52b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f291f65d2d4836cb1fa94575f7c5224284699599c92937ae9a8919ef26aca8a68c68ef0c960d762b55acd0dd923b733d42e68d08566d4e8d84701c3580d5328b
|
7
|
+
data.tar.gz: c135d591dc66c2b3c4a8340afab9e2547601ab8c533912446c52de710a9a581d570811b776c64c45b5407469c382d33abce796492fce0655b33c3153aa148c71
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV1
|
18
18
|
# Version of the google-apis-osconfig_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.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 = "20211002"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -752,6 +752,46 @@ module Google
|
|
752
752
|
execute_or_queue_command(command, &block)
|
753
753
|
end
|
754
754
|
|
755
|
+
# Update an OS Config patch deployment.
|
756
|
+
# @param [String] name
|
757
|
+
# Unique name for the patch deployment resource in a project. The patch
|
758
|
+
# deployment name is in the form: `projects/`project_id`/patchDeployments/`
|
759
|
+
# patch_deployment_id``. This field is ignored when you create a new patch
|
760
|
+
# deployment.
|
761
|
+
# @param [Google::Apis::OsconfigV1::PatchDeployment] patch_deployment_object
|
762
|
+
# @param [String] update_mask
|
763
|
+
# Optional. Field mask that controls which fields of the patch deployment should
|
764
|
+
# be updated.
|
765
|
+
# @param [String] fields
|
766
|
+
# Selector specifying which fields to include in a partial response.
|
767
|
+
# @param [String] quota_user
|
768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
770
|
+
# @param [Google::Apis::RequestOptions] options
|
771
|
+
# Request-specific options
|
772
|
+
#
|
773
|
+
# @yield [result, err] Result & error if block supplied
|
774
|
+
# @yieldparam result [Google::Apis::OsconfigV1::PatchDeployment] parsed result object
|
775
|
+
# @yieldparam err [StandardError] error object if request failed
|
776
|
+
#
|
777
|
+
# @return [Google::Apis::OsconfigV1::PatchDeployment]
|
778
|
+
#
|
779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
782
|
+
def patch_project_patch_deployment(name, patch_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
783
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
784
|
+
command.request_representation = Google::Apis::OsconfigV1::PatchDeployment::Representation
|
785
|
+
command.request_object = patch_deployment_object
|
786
|
+
command.response_representation = Google::Apis::OsconfigV1::PatchDeployment::Representation
|
787
|
+
command.response_class = Google::Apis::OsconfigV1::PatchDeployment
|
788
|
+
command.params['name'] = name unless name.nil?
|
789
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
790
|
+
command.query['fields'] = fields unless fields.nil?
|
791
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
792
|
+
execute_or_queue_command(command, &block)
|
793
|
+
end
|
794
|
+
|
755
795
|
# Cancel a patch job. The patch job must be active. Canceled patch jobs cannot
|
756
796
|
# be restarted.
|
757
797
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.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-10-
|
11
|
+
date: 2021-10-11 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/master/generated/google-apis-osconfig_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|