google-apis-osconfig_v1beta 0.10.0 → 0.11.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: 2dd7c7235b6aaae09c7e771086bfbad6ac580a019327ee2bf4d5d42b2574ca5b
|
4
|
+
data.tar.gz: e86a376a51e685483cb9ceafcc5f3e997bf803153e2b3a89de3cbe770293758d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f933fa962f60e7f0421b6502895774a8f780cf542dfbf8c00645e271645299b6130dd4b5e5e61574485b39f94276949f0661b143d583082c0d678d4b19223ab
|
7
|
+
data.tar.gz: 2f42b7c4362a37ec342f89181a7f763f48a4a9d359d4580b7a5e555ca82a2828b1f8ec0ea5fe1df29a44be2a6c334287084ee67290129d707abd35840d401a37
|
data/CHANGELOG.md
CHANGED
@@ -598,6 +598,52 @@ module Google
|
|
598
598
|
end
|
599
599
|
end
|
600
600
|
|
601
|
+
# OS policy assignment operation metadata provided by OS policy assignment API
|
602
|
+
# methods that return long running operations.
|
603
|
+
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
604
|
+
include Google::Apis::Core::Hashable
|
605
|
+
|
606
|
+
# The OS policy assignment API method.
|
607
|
+
# Corresponds to the JSON property `apiMethod`
|
608
|
+
# @return [String]
|
609
|
+
attr_accessor :api_method
|
610
|
+
|
611
|
+
# Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
|
612
|
+
# project_number`/locations/`location`/osPolicyAssignments/`
|
613
|
+
# os_policy_assignment_id@revision_id``
|
614
|
+
# Corresponds to the JSON property `osPolicyAssignment`
|
615
|
+
# @return [String]
|
616
|
+
attr_accessor :os_policy_assignment
|
617
|
+
|
618
|
+
# Rollout start time
|
619
|
+
# Corresponds to the JSON property `rolloutStartTime`
|
620
|
+
# @return [String]
|
621
|
+
attr_accessor :rollout_start_time
|
622
|
+
|
623
|
+
# State of the rollout
|
624
|
+
# Corresponds to the JSON property `rolloutState`
|
625
|
+
# @return [String]
|
626
|
+
attr_accessor :rollout_state
|
627
|
+
|
628
|
+
# Rollout update time
|
629
|
+
# Corresponds to the JSON property `rolloutUpdateTime`
|
630
|
+
# @return [String]
|
631
|
+
attr_accessor :rollout_update_time
|
632
|
+
|
633
|
+
def initialize(**args)
|
634
|
+
update!(**args)
|
635
|
+
end
|
636
|
+
|
637
|
+
# Update properties of this object
|
638
|
+
def update!(**args)
|
639
|
+
@api_method = args[:api_method] if args.key?(:api_method)
|
640
|
+
@os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
|
641
|
+
@rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
|
642
|
+
@rollout_state = args[:rollout_state] if args.key?(:rollout_state)
|
643
|
+
@rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
601
647
|
# An OS Config resource representing a guest configuration policy. These
|
602
648
|
# policies represent the desired state for VM instance guest environments
|
603
649
|
# including packages to install or remove, package repository configurations,
|
@@ -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.11.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 = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class GuestPolicy
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -544,6 +550,17 @@ module Google
|
|
544
550
|
end
|
545
551
|
end
|
546
552
|
|
553
|
+
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
554
|
+
# @private
|
555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
556
|
+
property :api_method, as: 'apiMethod'
|
557
|
+
property :os_policy_assignment, as: 'osPolicyAssignment'
|
558
|
+
property :rollout_start_time, as: 'rolloutStartTime'
|
559
|
+
property :rollout_state, as: 'rolloutState'
|
560
|
+
property :rollout_update_time, as: 'rolloutUpdateTime'
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
547
564
|
class GuestPolicy
|
548
565
|
# @private
|
549
566
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -366,6 +366,46 @@ module Google
|
|
366
366
|
execute_or_queue_command(command, &block)
|
367
367
|
end
|
368
368
|
|
369
|
+
# Update an OS Config patch deployment.
|
370
|
+
# @param [String] name
|
371
|
+
# Unique name for the patch deployment resource in a project. The patch
|
372
|
+
# deployment name is in the form: `projects/`project_id`/patchDeployments/`
|
373
|
+
# patch_deployment_id``. This field is ignored when you create a new patch
|
374
|
+
# deployment.
|
375
|
+
# @param [Google::Apis::OsconfigV1beta::PatchDeployment] patch_deployment_object
|
376
|
+
# @param [String] update_mask
|
377
|
+
# Optional. Field mask that controls which fields of the patch deployment should
|
378
|
+
# be updated.
|
379
|
+
# @param [String] fields
|
380
|
+
# Selector specifying which fields to include in a partial response.
|
381
|
+
# @param [String] quota_user
|
382
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
383
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
384
|
+
# @param [Google::Apis::RequestOptions] options
|
385
|
+
# Request-specific options
|
386
|
+
#
|
387
|
+
# @yield [result, err] Result & error if block supplied
|
388
|
+
# @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
|
389
|
+
# @yieldparam err [StandardError] error object if request failed
|
390
|
+
#
|
391
|
+
# @return [Google::Apis::OsconfigV1beta::PatchDeployment]
|
392
|
+
#
|
393
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
394
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
|
+
def patch_project_patch_deployment(name, patch_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
397
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
398
|
+
command.request_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
|
399
|
+
command.request_object = patch_deployment_object
|
400
|
+
command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
|
401
|
+
command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
|
402
|
+
command.params['name'] = name unless name.nil?
|
403
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
404
|
+
command.query['fields'] = fields unless fields.nil?
|
405
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
406
|
+
execute_or_queue_command(command, &block)
|
407
|
+
end
|
408
|
+
|
369
409
|
# Cancel a patch job. The patch job must be active. Canceled patch jobs cannot
|
370
410
|
# be restarted.
|
371
411
|
# @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.11.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-
|
11
|
+
date: 2021-11-08 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.11.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: []
|