google-apis-osconfig_v1 0.39.0 → 0.40.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: b378b485c4f3882930016d9c09bc708edd8d036e04dd06c075bc244b45fafaf5
4
- data.tar.gz: a3e24164862206dbd127347b6e438b626021cad14e06fe0b3c3c261e41f4295d
3
+ metadata.gz: 826ebfe2fa667acb0745fa19920d76dd0e39958ac88810b562a21743d3e4f126
4
+ data.tar.gz: 7ced7b0eea21dff579e31ff5df7a8e8116879fdbbe2bcba6e1aa30722ba223a1
5
5
  SHA512:
6
- metadata.gz: a78d145bff6c9e68b4234af63f93523faf552609d8245f731c57e337a0b97e6d2e5fec46ec57082fc7dd7ee69de2e0de68b6ef9d925d572e9b32f069bcdec242
7
- data.tar.gz: dfc2d0ec56112168386f25a0e87950054290295a5ae3bf3e5bd3d8c78056729b579d121ef9b43ee9214934e55d80742aa7df36a30381c9bb73e1b2d436531967
6
+ metadata.gz: 4127d0f8d4d92c0d3d66ae391b7f7ac3b3fea8d20c712ce2610f39c0e2f12b43a349de6722db379d56de5ab67be3fcef5c6934dc5f3ffe187d938a3c8cae8d41
7
+ data.tar.gz: d762a2bda86857e2224d218e3d7cfa762428e866a4d90b37e5138f24dd197168398bc11d4a49427220c52152687a2f5e8bb3de125c665cfede0b9708afc4357d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-osconfig_v1
2
2
 
3
+ ### v0.40.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240512
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.39.0 (2024-04-14)
4
9
 
5
10
  * Regenerated from discovery document revision 20240407
@@ -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.39.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240407"
25
+ REVISION = "20240512"
26
26
  end
27
27
  end
28
28
  end
@@ -402,6 +402,10 @@ module Google
402
402
  # following restrictions: * Must contain only lowercase letters, numbers, and
403
403
  # hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
404
404
  # end with a number or a letter. * Must be unique within the project.
405
+ # @param [String] request_id
406
+ # Optional. A unique identifier for this request. Restricted to 36 ASCII
407
+ # characters. A random UUID is recommended. This request is only idempotent if a
408
+ # `request_id` is provided.
405
409
  # @param [String] fields
406
410
  # Selector specifying which fields to include in a partial response.
407
411
  # @param [String] quota_user
@@ -419,7 +423,7 @@ module Google
419
423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
420
424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
421
425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
422
- 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)
426
+ 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)
423
427
  command = make_simple_command(:post, 'v1/{+parent}/osPolicyAssignments', options)
424
428
  command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
425
429
  command.request_object = os_policy_assignment_object
@@ -427,6 +431,7 @@ module Google
427
431
  command.response_class = Google::Apis::OsconfigV1::Operation
428
432
  command.params['parent'] = parent unless parent.nil?
429
433
  command.query['osPolicyAssignmentId'] = os_policy_assignment_id unless os_policy_assignment_id.nil?
434
+ command.query['requestId'] = request_id unless request_id.nil?
430
435
  command.query['fields'] = fields unless fields.nil?
431
436
  command.query['quotaUser'] = quota_user unless quota_user.nil?
432
437
  execute_or_queue_command(command, &block)
@@ -442,6 +447,10 @@ module Google
442
447
  # operations/cancel).
443
448
  # @param [String] name
444
449
  # Required. The name of the OS policy assignment to be deleted
450
+ # @param [String] request_id
451
+ # Optional. A unique identifier for this request. Restricted to 36 ASCII
452
+ # characters. A random UUID is recommended. This request is only idempotent if a
453
+ # `request_id` is provided.
445
454
  # @param [String] fields
446
455
  # Selector specifying which fields to include in a partial response.
447
456
  # @param [String] quota_user
@@ -459,11 +468,12 @@ module Google
459
468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
462
- def delete_project_location_os_policy_assignment(name, fields: nil, quota_user: nil, options: nil, &block)
471
+ def delete_project_location_os_policy_assignment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
463
472
  command = make_simple_command(:delete, 'v1/{+name}', options)
464
473
  command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
465
474
  command.response_class = Google::Apis::OsconfigV1::Operation
466
475
  command.params['name'] = name unless name.nil?
476
+ command.query['requestId'] = request_id unless request_id.nil?
467
477
  command.query['fields'] = fields unless fields.nil?
468
478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
469
479
  execute_or_queue_command(command, &block)
@@ -590,6 +600,13 @@ module Google
590
600
  # osPolicyAssignments/`os_policy_assignment_id`` This field is ignored when you
591
601
  # create an OS policy assignment.
592
602
  # @param [Google::Apis::OsconfigV1::OsPolicyAssignment] os_policy_assignment_object
603
+ # @param [Boolean] allow_missing
604
+ # Optional. If set to true, and the OS policy assignment is not found, a new OS
605
+ # policy assignment will be created. In this situation, `update_mask` is ignored.
606
+ # @param [String] request_id
607
+ # Optional. A unique identifier for this request. Restricted to 36 ASCII
608
+ # characters. A random UUID is recommended. This request is only idempotent if a
609
+ # `request_id` is provided.
593
610
  # @param [String] update_mask
594
611
  # Optional. Field mask that controls which fields of the assignment should be
595
612
  # updated.
@@ -610,13 +627,15 @@ module Google
610
627
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
611
628
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
612
629
  # @raise [Google::Apis::AuthorizationError] Authorization is required
613
- def patch_project_location_os_policy_assignment(name, os_policy_assignment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
630
+ 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)
614
631
  command = make_simple_command(:patch, 'v1/{+name}', options)
615
632
  command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
616
633
  command.request_object = os_policy_assignment_object
617
634
  command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
618
635
  command.response_class = Google::Apis::OsconfigV1::Operation
619
636
  command.params['name'] = name unless name.nil?
637
+ command.query['allowMissing'] = allow_missing unless allow_missing.nil?
638
+ command.query['requestId'] = request_id unless request_id.nil?
620
639
  command.query['updateMask'] = update_mask unless update_mask.nil?
621
640
  command.query['fields'] = fields unless fields.nil?
622
641
  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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.40.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-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-19 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.14.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.14.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1
63
63
  post_install_message:
64
64
  rdoc_options: []