google-apis-osconfig_v1 0.37.0 → 0.38.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: 85fd254b3011e5ddcaf656856b6bb86c34d8539f142b0e2d0ff6f7f9133e4212
4
- data.tar.gz: 1f5ac0bc6f66ee69b74a93fff07e37f9be55b3e7d123a478bf6b83aaf6f4b907
3
+ metadata.gz: 55f73b0091fd8f5cc3f6dc514efdebd9b2ac5b20cab4a5b920b0054cb97986e7
4
+ data.tar.gz: 7a12ee31ea2d39dfba88b69e732d9fe2cf489d54e34b665be1825be7a48e9d0a
5
5
  SHA512:
6
- metadata.gz: e19f838f4fc79c820d843902c5b34a36e93b021968612fb85c6f5ddd26ecd8f48966a94f870645dcf871fb099d66f4233982621f179f72e0f1d321ab9f2d7bb8
7
- data.tar.gz: c7a41afae0dcff520fd547906e388b4088d075e27305b8db345ce44419b724e7d7535bd73f81136a1e52760de99ac5f1e9a2bc788238ca575ce1bb8f9aaada4a
6
+ metadata.gz: c6e91e4fffe1e5cba263bb7862425a49396bd23243bc7d015a2d98e58787f0ec58ddf983371b8339753a518cf7253efc1e0285dbfe5ab2b9fb55ff7081d6f9dd
7
+ data.tar.gz: a02d6151a5d63efa5602304571655f2038900147d691b024a6097bb418672403242d2b5ab7d78341fa886a46bf0f20d3be9e4ef993c368cc62e481acc06a3c61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-osconfig_v1
2
2
 
3
+ ### v0.38.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240314
6
+
3
7
  ### v0.37.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -3196,6 +3196,33 @@ 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.
3201
+ class ProjectFeatureSettings
3202
+ include Google::Apis::Core::Hashable
3203
+
3204
+ # Required. Immutable. Name of the config, e.g. projects/12345/locations/global/
3205
+ # projectFeatureSettings
3206
+ # Corresponds to the JSON property `name`
3207
+ # @return [String]
3208
+ attr_accessor :name
3209
+
3210
+ # Currently set PatchAndConfigFeatureSet for name.
3211
+ # Corresponds to the JSON property `patchAndConfigFeatureSet`
3212
+ # @return [String]
3213
+ attr_accessor :patch_and_config_feature_set
3214
+
3215
+ def initialize(**args)
3216
+ update!(**args)
3217
+ end
3218
+
3219
+ # Update properties of this object
3220
+ def update!(**args)
3221
+ @name = args[:name] if args.key?(:name)
3222
+ @patch_and_config_feature_set = args[:patch_and_config_feature_set] if args.key?(:patch_and_config_feature_set)
3223
+ end
3224
+ end
3225
+
3199
3226
  # Sets the time for recurring patch deployments.
3200
3227
  class RecurringSchedule
3201
3228
  include Google::Apis::Core::Hashable
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240121"
25
+ REVISION = "20240314"
26
26
  end
27
27
  end
28
28
  end
@@ -484,6 +484,12 @@ module Google
484
484
  include Google::Apis::Core::JsonObjectSupport
485
485
  end
486
486
 
487
+ class ProjectFeatureSettings
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
487
493
  class RecurringSchedule
488
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
495
 
@@ -1423,6 +1429,14 @@ module Google
1423
1429
  end
1424
1430
  end
1425
1431
 
1432
+ class ProjectFeatureSettings
1433
+ # @private
1434
+ class Representation < Google::Apis::Core::JsonRepresentation
1435
+ property :name, as: 'name'
1436
+ property :patch_and_config_feature_set, as: 'patchAndConfigFeatureSet'
1437
+ end
1438
+ end
1439
+
1426
1440
  class RecurringSchedule
1427
1441
  # @private
1428
1442
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,75 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # GetProjectFeatureSettings returns the feature settings for a project
56
+ # @param [String] name
57
+ # Required. Name of the billing config. "projects//locations/global/
58
+ # projectFeatureSettings"
59
+ # @param [String] fields
60
+ # Selector specifying which fields to include in a partial response.
61
+ # @param [String] quota_user
62
+ # Available to use for quota purposes for server-side applications. Can be any
63
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
+ # @param [Google::Apis::RequestOptions] options
65
+ # Request-specific options
66
+ #
67
+ # @yield [result, err] Result & error if block supplied
68
+ # @yieldparam result [Google::Apis::OsconfigV1::ProjectFeatureSettings] parsed result object
69
+ # @yieldparam err [StandardError] error object if request failed
70
+ #
71
+ # @return [Google::Apis::OsconfigV1::ProjectFeatureSettings]
72
+ #
73
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
76
+ def get_project_location_global_project_feature_settings(name, fields: nil, quota_user: nil, options: nil, &block)
77
+ command = make_simple_command(:get, 'v1/{+name}', options)
78
+ command.response_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
79
+ command.response_class = Google::Apis::OsconfigV1::ProjectFeatureSettings
80
+ command.params['name'] = name unless name.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
86
+ # UpdateProjectFeatureSettings sets the feature settings for a project.
87
+ # @param [String] name
88
+ # Required. Immutable. Name of the config, e.g. projects/12345/locations/global/
89
+ # projectFeatureSettings
90
+ # @param [Google::Apis::OsconfigV1::ProjectFeatureSettings] project_feature_settings_object
91
+ # @param [String] update_mask
92
+ # Optional. Field mask that controls which fields of the ProjectFeatureSettings
93
+ # should be updated.
94
+ # @param [String] fields
95
+ # Selector specifying which fields to include in a partial response.
96
+ # @param [String] quota_user
97
+ # Available to use for quota purposes for server-side applications. Can be any
98
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
99
+ # @param [Google::Apis::RequestOptions] options
100
+ # Request-specific options
101
+ #
102
+ # @yield [result, err] Result & error if block supplied
103
+ # @yieldparam result [Google::Apis::OsconfigV1::ProjectFeatureSettings] parsed result object
104
+ # @yieldparam err [StandardError] error object if request failed
105
+ #
106
+ # @return [Google::Apis::OsconfigV1::ProjectFeatureSettings]
107
+ #
108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
111
+ def update_project_location_global_project_feature_settings(name, project_feature_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
112
+ command = make_simple_command(:patch, 'v1/{+name}', options)
113
+ command.request_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
114
+ command.request_object = project_feature_settings_object
115
+ command.response_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
116
+ command.response_class = Google::Apis::OsconfigV1::ProjectFeatureSettings
117
+ command.params['name'] = name unless name.nil?
118
+ command.query['updateMask'] = update_mask unless update_mask.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
123
+
55
124
  # Get inventory data for the specified VM instance. If the VM has no associated
56
125
  # inventory, the message `NOT_FOUND` is returned.
57
126
  # @param [String] name
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.37.0
4
+ version: 0.38.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.38.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: []