google-apis-osconfig_v1 0.36.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: bfca9ffca1801b126936370b424f781311f3c9c1d6e9c873d3a108213fab873c
4
- data.tar.gz: 765391bf8525e598953f70df1a393b0e7411951ee46dd57b122c23e7296d1bb7
3
+ metadata.gz: 55f73b0091fd8f5cc3f6dc514efdebd9b2ac5b20cab4a5b920b0054cb97986e7
4
+ data.tar.gz: 7a12ee31ea2d39dfba88b69e732d9fe2cf489d54e34b665be1825be7a48e9d0a
5
5
  SHA512:
6
- metadata.gz: ae5bf4691f994f2520abe723fb47ea78f91d230459e315f973ffd7aa474a4719f35547828f0108dcd4cf2270f5aedbdea35b63def5f8196dd58416a0126de0a4
7
- data.tar.gz: fc1b094760d24697247835f1958b143bd9c8b4026c07eb1f139eab1923907a3d657700abeaf805926e506c989c96ebf93c9e2362d77cb45cd7fa79e83f1668d5
6
+ metadata.gz: c6e91e4fffe1e5cba263bb7862425a49396bd23243bc7d015a2d98e58787f0ec58ddf983371b8339753a518cf7253efc1e0285dbfe5ab2b9fb55ff7081d6f9dd
7
+ data.tar.gz: a02d6151a5d63efa5602304571655f2038900147d691b024a6097bb418672403242d2b5ab7d78341fa886a46bf0f20d3be9e4ef993c368cc62e481acc06a3c61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.37.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.36.0 (2024-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20240121
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.5+.
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. Currently, this means Ruby 2.5 and later. 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.
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
 
@@ -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.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
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.36.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-01-23 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.36.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: []
@@ -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.5'
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.3
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 V1