google-apis-osconfig_v1 0.37.0 → 0.39.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b378b485c4f3882930016d9c09bc708edd8d036e04dd06c075bc244b45fafaf5
|
4
|
+
data.tar.gz: a3e24164862206dbd127347b6e438b626021cad14e06fe0b3c3c261e41f4295d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a78d145bff6c9e68b4234af63f93523faf552609d8245f731c57e337a0b97e6d2e5fec46ec57082fc7dd7ee69de2e0de68b6ef9d925d572e9b32f069bcdec242
|
7
|
+
data.tar.gz: dfc2d0ec56112168386f25a0e87950054290295a5ae3bf3e5bd3d8c78056729b579d121ef9b43ee9214934e55d80742aa7df36a30381c9bb73e1b2d436531967
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2024-04-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240407
|
6
|
+
|
7
|
+
### v0.38.0 (2024-03-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240314
|
10
|
+
|
3
11
|
### v0.37.0 (2024-02-24)
|
4
12
|
|
5
13
|
* 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 VM Manager feature settings in a project.
|
3200
|
+
# For more information, see Enable full VM Manager functionality.
|
3201
|
+
class ProjectFeatureSettings
|
3202
|
+
include Google::Apis::Core::Hashable
|
3203
|
+
|
3204
|
+
# Required. Immutable. Name specifies the URL for the ProjectFeatureSettings
|
3205
|
+
# resource: projects/project_id/locations/global/projectFeatureSettings.
|
3206
|
+
# Corresponds to the JSON property `name`
|
3207
|
+
# @return [String]
|
3208
|
+
attr_accessor :name
|
3209
|
+
|
3210
|
+
# Set PatchAndConfigFeatureSet for the project.
|
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.
|
19
|
+
GEM_VERSION = "0.39.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 = "
|
25
|
+
REVISION = "20240407"
|
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,76 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# GetProjectFeatureSettings returns the VM Manager feature settings for a
|
56
|
+
# project.
|
57
|
+
# @param [String] name
|
58
|
+
# Required. Name specifies the URL for the ProjectFeatureSettings resource:
|
59
|
+
# projects/project_id/locations/global/projectFeatureSettings.
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::OsconfigV1::ProjectFeatureSettings] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::OsconfigV1::ProjectFeatureSettings]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def get_project_location_global_project_feature_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
79
|
+
command.response_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
|
80
|
+
command.response_class = Google::Apis::OsconfigV1::ProjectFeatureSettings
|
81
|
+
command.params['name'] = name unless name.nil?
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
87
|
+
# UpdateProjectFeatureSettings sets the VM Manager features for a project.
|
88
|
+
# @param [String] name
|
89
|
+
# Required. Immutable. Name specifies the URL for the ProjectFeatureSettings
|
90
|
+
# resource: projects/project_id/locations/global/projectFeatureSettings.
|
91
|
+
# @param [Google::Apis::OsconfigV1::ProjectFeatureSettings] project_feature_settings_object
|
92
|
+
# @param [String] update_mask
|
93
|
+
# Optional. Field mask that controls which fields of the ProjectFeatureSettings
|
94
|
+
# should be updated.
|
95
|
+
# @param [String] fields
|
96
|
+
# Selector specifying which fields to include in a partial response.
|
97
|
+
# @param [String] quota_user
|
98
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
99
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
100
|
+
# @param [Google::Apis::RequestOptions] options
|
101
|
+
# Request-specific options
|
102
|
+
#
|
103
|
+
# @yield [result, err] Result & error if block supplied
|
104
|
+
# @yieldparam result [Google::Apis::OsconfigV1::ProjectFeatureSettings] parsed result object
|
105
|
+
# @yieldparam err [StandardError] error object if request failed
|
106
|
+
#
|
107
|
+
# @return [Google::Apis::OsconfigV1::ProjectFeatureSettings]
|
108
|
+
#
|
109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
|
+
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)
|
113
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
114
|
+
command.request_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
|
115
|
+
command.request_object = project_feature_settings_object
|
116
|
+
command.response_representation = Google::Apis::OsconfigV1::ProjectFeatureSettings::Representation
|
117
|
+
command.response_class = Google::Apis::OsconfigV1::ProjectFeatureSettings
|
118
|
+
command.params['name'] = name unless name.nil?
|
119
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
120
|
+
command.query['fields'] = fields unless fields.nil?
|
121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
122
|
+
execute_or_queue_command(command, &block)
|
123
|
+
end
|
124
|
+
|
55
125
|
# Get inventory data for the specified VM instance. If the VM has no associated
|
56
126
|
# inventory, the message `NOT_FOUND` is returned.
|
57
127
|
# @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.
|
4
|
+
version: 0.39.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-04-21 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.39.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: []
|