google-apis-osconfig_v1alpha 0.27.0 → 0.29.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/osconfig_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1alpha/service.rb +22 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 456d6f883d3b35f68337aa529acea956780efbd90584fbbeae626faec6ce3f8b
|
4
|
+
data.tar.gz: 95e9dc7ff921d15e94984505c4e64670f6c59ac43a5a10f3da2d38b8af99456f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12031e3cf8979f291760514055f2273bd6e6c01ee1897d8bf6128e62028a0b0c17f2c1f714dc39fb936310cbbb8c5d02e1772652ed646b8b8406c53a7318fff2
|
7
|
+
data.tar.gz: 5e1a3f3876255d45c21b7d7e3bd389b609b6ec62b90bd1ada3d67fb248b03704fddb40aac437dd26f69aecc7cafe2292a2916ecceba2b745327b46b101fbcba1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1alpha
|
2
2
|
|
3
|
+
### v0.29.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240512
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.28.0 (2024-02-24)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.14.0
|
11
|
+
|
3
12
|
### v0.27.0 (2024-01-23)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.13.0
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/compute/docs/osconfig/rest)
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -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.29.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 = "20240512"
|
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.29.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-05-26 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.29.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for OS Config API V1alpha
|