google-apis-osconfig_v1alpha 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60fdc3c879c41817fe47ad085a4e6f356588fcaf47828964403dc05258bcf7a4
|
4
|
+
data.tar.gz: 0f34ec7c5ce0db4011f98fa3dca2eea2b80cc5a12ae67af0bafb5489aff5b3a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c6ab0d9ca88eaa8eafd273305f7a9b3ec2d4986e826c127d0d7de74ce3f131de59e7585b9b9dfa8cdc4c9b587155eb55128d07af10f8c787db55fa1fe46f84b
|
7
|
+
data.tar.gz: 5db458ce1c98b0cfb5bf19a249f0f6683c130fd4d94a0e7ff266ea582d5db0e4f4db49d24c69a29e269fc2f43e76ad4348fa448c48f40ee88f773ab264aad890
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1alpha
|
2
2
|
|
3
|
+
### v0.30.0 (2024-06-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240602
|
6
|
+
|
7
|
+
### v0.29.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240512
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.28.0 (2024-02-24)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.14.0
|
@@ -1427,7 +1427,9 @@ module Google
|
|
1427
1427
|
# agent unexpectedly started working on a different task. This mostly happens
|
1428
1428
|
# when the agent or VM unexpectedly restarts while applying OS policies. * `
|
1429
1429
|
# internal-service-errors`: Internal service errors were encountered while
|
1430
|
-
# attempting to apply the policy.
|
1430
|
+
# attempting to apply the policy. * `os-policy-execution-pending`: OS policy was
|
1431
|
+
# assigned to the given VM, but was not executed yet. Typically this is a
|
1432
|
+
# transient condition that will go away after the next policy execution cycle.
|
1431
1433
|
# Corresponds to the JSON property `complianceStateReason`
|
1432
1434
|
# @return [String]
|
1433
1435
|
attr_accessor :compliance_state_reason
|
@@ -1472,7 +1474,9 @@ module Google
|
|
1472
1474
|
# execution was skipped by the agent because errors were encountered while
|
1473
1475
|
# executing prior resources in the OS policy. * `os-policy-execution-attempt-
|
1474
1476
|
# failed`: The execution of the OS policy containing this resource failed and
|
1475
|
-
# the compliance state couldn't be determined.
|
1477
|
+
# the compliance state couldn't be determined. * `os-policy-execution-pending`:
|
1478
|
+
# OS policy that owns this resource was assigned to the given VM, but was not
|
1479
|
+
# executed yet.
|
1476
1480
|
# Corresponds to the JSON property `complianceStateReason`
|
1477
1481
|
# @return [String]
|
1478
1482
|
attr_accessor :compliance_state_reason
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV1alpha
|
18
18
|
# Version of the google-apis-osconfig_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240602"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -412,6 +412,10 @@ module Google
|
|
412
412
|
# following restrictions: * Must contain only lowercase letters, numbers, and
|
413
413
|
# hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
|
414
414
|
# end with a number or a letter. * Must be unique within the project.
|
415
|
+
# @param [String] request_id
|
416
|
+
# Optional. A unique identifier for this request. Restricted to 36 ASCII
|
417
|
+
# characters. A random UUID is recommended. This request is only idempotent if a
|
418
|
+
# `request_id` is provided.
|
415
419
|
# @param [String] fields
|
416
420
|
# Selector specifying which fields to include in a partial response.
|
417
421
|
# @param [String] quota_user
|
@@ -429,7 +433,7 @@ module Google
|
|
429
433
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
430
434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
431
435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
432
|
-
def create_project_location_os_policy_assignment(parent, os_policy_assignment_object = nil, os_policy_assignment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
436
|
+
def create_project_location_os_policy_assignment(parent, os_policy_assignment_object = nil, os_policy_assignment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
433
437
|
command = make_simple_command(:post, 'v1alpha/{+parent}/osPolicyAssignments', options)
|
434
438
|
command.request_representation = Google::Apis::OsconfigV1alpha::OsPolicyAssignment::Representation
|
435
439
|
command.request_object = os_policy_assignment_object
|
@@ -437,6 +441,7 @@ module Google
|
|
437
441
|
command.response_class = Google::Apis::OsconfigV1alpha::Operation
|
438
442
|
command.params['parent'] = parent unless parent.nil?
|
439
443
|
command.query['osPolicyAssignmentId'] = os_policy_assignment_id unless os_policy_assignment_id.nil?
|
444
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
440
445
|
command.query['fields'] = fields unless fields.nil?
|
441
446
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
442
447
|
execute_or_queue_command(command, &block)
|
@@ -452,6 +457,10 @@ module Google
|
|
452
457
|
# operations/cancel).
|
453
458
|
# @param [String] name
|
454
459
|
# Required. The name of the OS policy assignment to be deleted
|
460
|
+
# @param [String] request_id
|
461
|
+
# Optional. A unique identifier for this request. Restricted to 36 ASCII
|
462
|
+
# characters. A random UUID is recommended. This request is only idempotent if a
|
463
|
+
# `request_id` is provided.
|
455
464
|
# @param [String] fields
|
456
465
|
# Selector specifying which fields to include in a partial response.
|
457
466
|
# @param [String] quota_user
|
@@ -469,11 +478,12 @@ module Google
|
|
469
478
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
470
479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
471
480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
472
|
-
def delete_project_location_os_policy_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
|
481
|
+
def delete_project_location_os_policy_assignment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
473
482
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
474
483
|
command.response_representation = Google::Apis::OsconfigV1alpha::Operation::Representation
|
475
484
|
command.response_class = Google::Apis::OsconfigV1alpha::Operation
|
476
485
|
command.params['name'] = name unless name.nil?
|
486
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
477
487
|
command.query['fields'] = fields unless fields.nil?
|
478
488
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
489
|
execute_or_queue_command(command, &block)
|
@@ -601,6 +611,13 @@ module Google
|
|
601
611
|
# osPolicyAssignments/`os_policy_assignment_id`` This field is ignored when you
|
602
612
|
# create an OS policy assignment.
|
603
613
|
# @param [Google::Apis::OsconfigV1alpha::OsPolicyAssignment] os_policy_assignment_object
|
614
|
+
# @param [Boolean] allow_missing
|
615
|
+
# Optional. If set to true, and the OS policy assignment is not found, a new OS
|
616
|
+
# policy assignment will be created. In this situation, `update_mask` is ignored.
|
617
|
+
# @param [String] request_id
|
618
|
+
# Optional. A unique identifier for this request. Restricted to 36 ASCII
|
619
|
+
# characters. A random UUID is recommended. This request is only idempotent if a
|
620
|
+
# `request_id` is provided.
|
604
621
|
# @param [String] update_mask
|
605
622
|
# Optional. Field mask that controls which fields of the assignment should be
|
606
623
|
# updated.
|
@@ -621,13 +638,15 @@ module Google
|
|
621
638
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
622
639
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
623
640
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
624
|
-
def patch_project_location_os_policy_assignment(name, os_policy_assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
641
|
+
def patch_project_location_os_policy_assignment(name, os_policy_assignment_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
625
642
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
626
643
|
command.request_representation = Google::Apis::OsconfigV1alpha::OsPolicyAssignment::Representation
|
627
644
|
command.request_object = os_policy_assignment_object
|
628
645
|
command.response_representation = Google::Apis::OsconfigV1alpha::Operation::Representation
|
629
646
|
command.response_class = Google::Apis::OsconfigV1alpha::Operation
|
630
647
|
command.params['name'] = name unless name.nil?
|
648
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
649
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
631
650
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
632
651
|
command.query['fields'] = fields unless fields.nil?
|
633
652
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.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: 2024-
|
11
|
+
date: 2024-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|