google-apis-osconfig_v1 0.38.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: 55f73b0091fd8f5cc3f6dc514efdebd9b2ac5b20cab4a5b920b0054cb97986e7
4
- data.tar.gz: 7a12ee31ea2d39dfba88b69e732d9fe2cf489d54e34b665be1825be7a48e9d0a
3
+ metadata.gz: 826ebfe2fa667acb0745fa19920d76dd0e39958ac88810b562a21743d3e4f126
4
+ data.tar.gz: 7ced7b0eea21dff579e31ff5df7a8e8116879fdbbe2bcba6e1aa30722ba223a1
5
5
  SHA512:
6
- metadata.gz: c6e91e4fffe1e5cba263bb7862425a49396bd23243bc7d015a2d98e58787f0ec58ddf983371b8339753a518cf7253efc1e0285dbfe5ab2b9fb55ff7081d6f9dd
7
- data.tar.gz: a02d6151a5d63efa5602304571655f2038900147d691b024a6097bb418672403242d2b5ab7d78341fa886a46bf0f20d3be9e4ef993c368cc62e481acc06a3c61
6
+ metadata.gz: 4127d0f8d4d92c0d3d66ae391b7f7ac3b3fea8d20c712ce2610f39c0e2f12b43a349de6722db379d56de5ab67be3fcef5c6934dc5f3ffe187d938a3c8cae8d41
7
+ data.tar.gz: d762a2bda86857e2224d218e3d7cfa762428e866a4d90b37e5138f24dd197168398bc11d4a49427220c52152687a2f5e8bb3de125c665cfede0b9708afc4357d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.39.0 (2024-04-14)
9
+
10
+ * Regenerated from discovery document revision 20240407
11
+
3
12
  ### v0.38.0 (2024-03-17)
4
13
 
5
14
  * Regenerated from discovery document revision 20240314
@@ -3196,18 +3196,18 @@ module Google
3196
3196
  end
3197
3197
  end
3198
3198
 
3199
- # ProjectFeatureSettings represents the features settings for the VM Manager.
3200
- # The project features settings can be set for a project.
3199
+ # ProjectFeatureSettings represents the VM Manager feature settings in a project.
3200
+ # For more information, see Enable full VM Manager functionality.
3201
3201
  class ProjectFeatureSettings
3202
3202
  include Google::Apis::Core::Hashable
3203
3203
 
3204
- # Required. Immutable. Name of the config, e.g. projects/12345/locations/global/
3205
- # projectFeatureSettings
3204
+ # Required. Immutable. Name specifies the URL for the ProjectFeatureSettings
3205
+ # resource: projects/project_id/locations/global/projectFeatureSettings.
3206
3206
  # Corresponds to the JSON property `name`
3207
3207
  # @return [String]
3208
3208
  attr_accessor :name
3209
3209
 
3210
- # Currently set PatchAndConfigFeatureSet for name.
3210
+ # Set PatchAndConfigFeatureSet for the project.
3211
3211
  # Corresponds to the JSON property `patchAndConfigFeatureSet`
3212
3212
  # @return [String]
3213
3213
  attr_accessor :patch_and_config_feature_set
@@ -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.38.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 = "20240314"
25
+ REVISION = "20240512"
26
26
  end
27
27
  end
28
28
  end
@@ -52,10 +52,11 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
- # GetProjectFeatureSettings returns the feature settings for a project
55
+ # GetProjectFeatureSettings returns the VM Manager feature settings for a
56
+ # project.
56
57
  # @param [String] name
57
- # Required. Name of the billing config. "projects//locations/global/
58
- # projectFeatureSettings"
58
+ # Required. Name specifies the URL for the ProjectFeatureSettings resource:
59
+ # projects/project_id/locations/global/projectFeatureSettings.
59
60
  # @param [String] fields
60
61
  # Selector specifying which fields to include in a partial response.
61
62
  # @param [String] quota_user
@@ -83,10 +84,10 @@ module Google
83
84
  execute_or_queue_command(command, &block)
84
85
  end
85
86
 
86
- # UpdateProjectFeatureSettings sets the feature settings for a project.
87
+ # UpdateProjectFeatureSettings sets the VM Manager features for a project.
87
88
  # @param [String] name
88
- # Required. Immutable. Name of the config, e.g. projects/12345/locations/global/
89
- # projectFeatureSettings
89
+ # Required. Immutable. Name specifies the URL for the ProjectFeatureSettings
90
+ # resource: projects/project_id/locations/global/projectFeatureSettings.
90
91
  # @param [Google::Apis::OsconfigV1::ProjectFeatureSettings] project_feature_settings_object
91
92
  # @param [String] update_mask
92
93
  # Optional. Field mask that controls which fields of the ProjectFeatureSettings
@@ -401,6 +402,10 @@ module Google
401
402
  # following restrictions: * Must contain only lowercase letters, numbers, and
402
403
  # hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must
403
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.
404
409
  # @param [String] fields
405
410
  # Selector specifying which fields to include in a partial response.
406
411
  # @param [String] quota_user
@@ -418,7 +423,7 @@ module Google
418
423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
419
424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
420
425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
421
- 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)
422
427
  command = make_simple_command(:post, 'v1/{+parent}/osPolicyAssignments', options)
423
428
  command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
424
429
  command.request_object = os_policy_assignment_object
@@ -426,6 +431,7 @@ module Google
426
431
  command.response_class = Google::Apis::OsconfigV1::Operation
427
432
  command.params['parent'] = parent unless parent.nil?
428
433
  command.query['osPolicyAssignmentId'] = os_policy_assignment_id unless os_policy_assignment_id.nil?
434
+ command.query['requestId'] = request_id unless request_id.nil?
429
435
  command.query['fields'] = fields unless fields.nil?
430
436
  command.query['quotaUser'] = quota_user unless quota_user.nil?
431
437
  execute_or_queue_command(command, &block)
@@ -441,6 +447,10 @@ module Google
441
447
  # operations/cancel).
442
448
  # @param [String] name
443
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.
444
454
  # @param [String] fields
445
455
  # Selector specifying which fields to include in a partial response.
446
456
  # @param [String] quota_user
@@ -458,11 +468,12 @@ module Google
458
468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
461
- 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)
462
472
  command = make_simple_command(:delete, 'v1/{+name}', options)
463
473
  command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
464
474
  command.response_class = Google::Apis::OsconfigV1::Operation
465
475
  command.params['name'] = name unless name.nil?
476
+ command.query['requestId'] = request_id unless request_id.nil?
466
477
  command.query['fields'] = fields unless fields.nil?
467
478
  command.query['quotaUser'] = quota_user unless quota_user.nil?
468
479
  execute_or_queue_command(command, &block)
@@ -589,6 +600,13 @@ module Google
589
600
  # osPolicyAssignments/`os_policy_assignment_id`` This field is ignored when you
590
601
  # create an OS policy assignment.
591
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.
592
610
  # @param [String] update_mask
593
611
  # Optional. Field mask that controls which fields of the assignment should be
594
612
  # updated.
@@ -609,13 +627,15 @@ module Google
609
627
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
610
628
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
611
629
  # @raise [Google::Apis::AuthorizationError] Authorization is required
612
- 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)
613
631
  command = make_simple_command(:patch, 'v1/{+name}', options)
614
632
  command.request_representation = Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
615
633
  command.request_object = os_policy_assignment_object
616
634
  command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
617
635
  command.response_class = Google::Apis::OsconfigV1::Operation
618
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?
619
639
  command.query['updateMask'] = update_mask unless update_mask.nil?
620
640
  command.query['fields'] = fields unless fields.nil?
621
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.38.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-03-17 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.38.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: []