google-apis-osconfig_v1alpha 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c41c4a8bd0dfe530f9f22e3ba8b20338aafd12f04ea34094511bd3b019167a3
4
- data.tar.gz: c4234f852b1ff7fa9547f2e5d12f1e91654ffe1aa3a1905a689e627fcb994865
3
+ metadata.gz: 3e7b42b550009dbefcdd4dad4bd4f6d964b8754383acf4db512cfdaf6898681e
4
+ data.tar.gz: 6483be48fdd6b672a4685b11a89f5b967ad58ee5d2247232d5de4f452c094dcb
5
5
  SHA512:
6
- metadata.gz: 18a05bcaf2c000a20cb71fbbb0542d0a1baef3307b5005b5fe4c5da8aec4952ac9e0080de9720aedcdcffec5bc8741e73a946bffd6170f86b0eaa195c94ddccb
7
- data.tar.gz: 1da3c7c8e77769d82ab7cb18e61ad735e27d184435b287827fe489c7b00ee88288188eed6ead9e3dcdff75e2a254b5e55280ea54e4062d82734aca2606a05785
6
+ metadata.gz: 88c674f040ca5c75ceca01d871d1a459ebf7fa9ffec509e37c9f7236706287a8d47ca2b90fa50ec256271cdade089bf58369c28b5e95af1c3355c50d2103d318
7
+ data.tar.gz: 209412ef7f606f52b4c54f377d168d5dd58c0ec14a56630e8d388b5acf240200635c3a17a1b0c00ccaf3ae3bf157c6e4671fa21c6ad9048e101935402ad7427b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-osconfig_v1alpha
2
2
 
3
+ ### v0.33.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250511
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.32.0 (2025-03-30)
9
+
10
+ * Regenerated from discovery document revision 20250323
11
+ * Regenerated using generator version 0.16.0
12
+
3
13
  ### v0.31.0 (2024-12-02)
4
14
 
5
15
  * Regenerated from discovery document revision 20241117
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ 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.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
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
 
@@ -257,6 +257,65 @@ module Google
257
257
  end
258
258
  end
259
259
 
260
+ # Represents the metadata of the long-running operation.
261
+ class GoogleCloudOsconfigV2OperationMetadata
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # Output only. API version used to start the operation.
265
+ # Corresponds to the JSON property `apiVersion`
266
+ # @return [String]
267
+ attr_accessor :api_version
268
+
269
+ # Output only. The time the operation was created.
270
+ # Corresponds to the JSON property `createTime`
271
+ # @return [String]
272
+ attr_accessor :create_time
273
+
274
+ # Output only. The time the operation finished running.
275
+ # Corresponds to the JSON property `endTime`
276
+ # @return [String]
277
+ attr_accessor :end_time
278
+
279
+ # Output only. Identifies whether the user has requested cancellation of the
280
+ # operation. Operations that have been cancelled successfully have Operation.
281
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
282
+ # CANCELLED`.
283
+ # Corresponds to the JSON property `requestedCancellation`
284
+ # @return [Boolean]
285
+ attr_accessor :requested_cancellation
286
+ alias_method :requested_cancellation?, :requested_cancellation
287
+
288
+ # Output only. Human-readable status of the operation, if any.
289
+ # Corresponds to the JSON property `statusMessage`
290
+ # @return [String]
291
+ attr_accessor :status_message
292
+
293
+ # Output only. Server-defined resource path for the target of the operation.
294
+ # Corresponds to the JSON property `target`
295
+ # @return [String]
296
+ attr_accessor :target
297
+
298
+ # Output only. Name of the verb executed by the operation.
299
+ # Corresponds to the JSON property `verb`
300
+ # @return [String]
301
+ attr_accessor :verb
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @api_version = args[:api_version] if args.key?(:api_version)
310
+ @create_time = args[:create_time] if args.key?(:create_time)
311
+ @end_time = args[:end_time] if args.key?(:end_time)
312
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
313
+ @status_message = args[:status_message] if args.key?(:status_message)
314
+ @target = args[:target] if args.key?(:target)
315
+ @verb = args[:verb] if args.key?(:verb)
316
+ end
317
+ end
318
+
260
319
  # Represents the metadata of the long-running operation.
261
320
  class GoogleCloudOsconfigV2betaOperationMetadata
262
321
  include Google::Apis::Core::Hashable
@@ -1089,6 +1148,27 @@ module Google
1089
1148
  end
1090
1149
  end
1091
1150
 
1151
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
1152
+ # If you are using editions or proto2, please make your own extendable messages
1153
+ # for your use case. If you are using proto3, please use `Any` instead.
1154
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
1155
+ # introduced, extensions were implemented as a first-class feature. This schema
1156
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
1157
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
1158
+ # to facilitate the migration of Google products with MessageSet-bearing
1159
+ # messages to open-source environments.
1160
+ class MessageSet
1161
+ include Google::Apis::Core::Hashable
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ end
1170
+ end
1171
+
1092
1172
  # An OS policy defines the desired state configuration for a VM.
1093
1173
  class OsPolicy
1094
1174
  include Google::Apis::Core::Hashable
@@ -2667,6 +2747,64 @@ module Google
2667
2747
  end
2668
2748
  end
2669
2749
 
2750
+ # Wire-format for a Status object
2751
+ class StatusProto
2752
+ include Google::Apis::Core::Hashable
2753
+
2754
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2755
+ # int32 canonical_code = 6;
2756
+ # Corresponds to the JSON property `canonicalCode`
2757
+ # @return [Fixnum]
2758
+ attr_accessor :canonical_code
2759
+
2760
+ # Numeric code drawn from the space specified below. Often, this is the
2761
+ # canonical error space, and code is drawn from google3/util/task/codes.proto
2762
+ # copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
2763
+ # int32 code = 1;
2764
+ # Corresponds to the JSON property `code`
2765
+ # @return [Fixnum]
2766
+ attr_accessor :code
2767
+
2768
+ # Detail message copybara:strip_begin(b/383363683) copybara:
2769
+ # strip_end_and_replace optional string message = 3;
2770
+ # Corresponds to the JSON property `message`
2771
+ # @return [String]
2772
+ attr_accessor :message
2773
+
2774
+ # This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
2775
+ # If you are using editions or proto2, please make your own extendable messages
2776
+ # for your use case. If you are using proto3, please use `Any` instead.
2777
+ # MessageSet was the implementation of extensions for proto1. When proto2 was
2778
+ # introduced, extensions were implemented as a first-class feature. This schema
2779
+ # for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
2780
+ # bearing messages from proto1 to proto2. This schema has been open-sourced only
2781
+ # to facilitate the migration of Google products with MessageSet-bearing
2782
+ # messages to open-source environments.
2783
+ # Corresponds to the JSON property `messageSet`
2784
+ # @return [Google::Apis::OsconfigV1alpha::MessageSet]
2785
+ attr_accessor :message_set
2786
+
2787
+ # copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
2788
+ # strip_end_and_replace optional string space = 2; // Space to which this status
2789
+ # belongs
2790
+ # Corresponds to the JSON property `space`
2791
+ # @return [String]
2792
+ attr_accessor :space
2793
+
2794
+ def initialize(**args)
2795
+ update!(**args)
2796
+ end
2797
+
2798
+ # Update properties of this object
2799
+ def update!(**args)
2800
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
2801
+ @code = args[:code] if args.key?(:code)
2802
+ @message = args[:message] if args.key?(:message)
2803
+ @message_set = args[:message_set] if args.key?(:message_set)
2804
+ @space = args[:space] if args.key?(:space)
2805
+ end
2806
+ end
2807
+
2670
2808
  # This API resource represents the vulnerability report for a specified Compute
2671
2809
  # Engine virtual machine (VM) instance at a given point in time. For more
2672
2810
  # information, see [Vulnerability reports](https://cloud.google.com/compute/docs/
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1alpha
18
18
  # Version of the google-apis-osconfig_v1alpha gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241117"
25
+ REVISION = "20250511"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleCloudOsconfigV2OperationMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleCloudOsconfigV2betaOperationMetadata
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -172,6 +178,12 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class MessageSet
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class OsPolicy
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -412,6 +424,12 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class StatusProto
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
415
433
  class VulnerabilityReport
416
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
435
 
@@ -499,6 +517,19 @@ module Google
499
517
  end
500
518
  end
501
519
 
520
+ class GoogleCloudOsconfigV2OperationMetadata
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :api_version, as: 'apiVersion'
524
+ property :create_time, as: 'createTime'
525
+ property :end_time, as: 'endTime'
526
+ property :requested_cancellation, as: 'requestedCancellation'
527
+ property :status_message, as: 'statusMessage'
528
+ property :target, as: 'target'
529
+ property :verb, as: 'verb'
530
+ end
531
+ end
532
+
502
533
  class GoogleCloudOsconfigV2betaOperationMetadata
503
534
  # @private
504
535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -722,6 +753,12 @@ module Google
722
753
  end
723
754
  end
724
755
 
756
+ class MessageSet
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ end
760
+ end
761
+
725
762
  class OsPolicy
726
763
  # @private
727
764
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1141,6 +1178,18 @@ module Google
1141
1178
  end
1142
1179
  end
1143
1180
 
1181
+ class StatusProto
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :canonical_code, as: 'canonicalCode'
1185
+ property :code, as: 'code'
1186
+ property :message, as: 'message'
1187
+ property :message_set, as: 'messageSet', class: Google::Apis::OsconfigV1alpha::MessageSet, decorator: Google::Apis::OsconfigV1alpha::MessageSet::Representation
1188
+
1189
+ property :space, as: 'space'
1190
+ end
1191
+ end
1192
+
1144
1193
  class VulnerabilityReport
1145
1194
  # @private
1146
1195
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-osconfig_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.33.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.7'
69
+ version: '3.1'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.8
80
77
  specification_version: 4
81
78
  summary: Simple REST client for OS Config API V1alpha
82
79
  test_files: []