google-apis-osconfig_v1 0.46.0 → 0.48.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/osconfig_v1/classes.rb +138 -0
- data/lib/google/apis/osconfig_v1/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1/representations.rb +49 -0
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 032fc255439b2e3494798c9179059d38aa2957dd041bcad519f4f262214ddd90
|
4
|
+
data.tar.gz: f40be46d752e28643bfea06099b51ee886dce05ad9717187fb99e7edfabaac76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9692ac3f0f707bade9523b068afce39202763b13873505e2cbd21cbd7605ed7de49ed06c30e885c95b0722a1444e8e35905123c4b782a6dc38d5e7db3309031d
|
7
|
+
data.tar.gz: 06cd6374611e1fb382bac349ebfa9e8584d38f54097b569708eb5fc1eba03b17ca1f2deffe3eb04adb407ea9b434fad142a798582f5fe8753899241c2397b47c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1
|
2
2
|
|
3
|
+
### v0.48.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250511
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
8
|
+
### v0.47.0 (2025-03-30)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250323
|
11
|
+
* Regenerated using generator version 0.16.0
|
12
|
+
|
3
13
|
### v0.46.0 (2024-12-08)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20241201
|
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
|
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
|
|
@@ -477,6 +477,65 @@ module Google
|
|
477
477
|
end
|
478
478
|
end
|
479
479
|
|
480
|
+
# Represents the metadata of the long-running operation.
|
481
|
+
class GoogleCloudOsconfigV2OperationMetadata
|
482
|
+
include Google::Apis::Core::Hashable
|
483
|
+
|
484
|
+
# Output only. API version used to start the operation.
|
485
|
+
# Corresponds to the JSON property `apiVersion`
|
486
|
+
# @return [String]
|
487
|
+
attr_accessor :api_version
|
488
|
+
|
489
|
+
# Output only. The time the operation was created.
|
490
|
+
# Corresponds to the JSON property `createTime`
|
491
|
+
# @return [String]
|
492
|
+
attr_accessor :create_time
|
493
|
+
|
494
|
+
# Output only. The time the operation finished running.
|
495
|
+
# Corresponds to the JSON property `endTime`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :end_time
|
498
|
+
|
499
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
500
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
501
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
502
|
+
# CANCELLED`.
|
503
|
+
# Corresponds to the JSON property `requestedCancellation`
|
504
|
+
# @return [Boolean]
|
505
|
+
attr_accessor :requested_cancellation
|
506
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
507
|
+
|
508
|
+
# Output only. Human-readable status of the operation, if any.
|
509
|
+
# Corresponds to the JSON property `statusMessage`
|
510
|
+
# @return [String]
|
511
|
+
attr_accessor :status_message
|
512
|
+
|
513
|
+
# Output only. Server-defined resource path for the target of the operation.
|
514
|
+
# Corresponds to the JSON property `target`
|
515
|
+
# @return [String]
|
516
|
+
attr_accessor :target
|
517
|
+
|
518
|
+
# Output only. Name of the verb executed by the operation.
|
519
|
+
# Corresponds to the JSON property `verb`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :verb
|
522
|
+
|
523
|
+
def initialize(**args)
|
524
|
+
update!(**args)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Update properties of this object
|
528
|
+
def update!(**args)
|
529
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
530
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
531
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
532
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
533
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
534
|
+
@target = args[:target] if args.key?(:target)
|
535
|
+
@verb = args[:verb] if args.key?(:verb)
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
480
539
|
# Represents the metadata of the long-running operation.
|
481
540
|
class GoogleCloudOsconfigV2betaOperationMetadata
|
482
541
|
include Google::Apis::Core::Hashable
|
@@ -1237,6 +1296,27 @@ module Google
|
|
1237
1296
|
end
|
1238
1297
|
end
|
1239
1298
|
|
1299
|
+
# This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
|
1300
|
+
# If you are using editions or proto2, please make your own extendable messages
|
1301
|
+
# for your use case. If you are using proto3, please use `Any` instead.
|
1302
|
+
# MessageSet was the implementation of extensions for proto1. When proto2 was
|
1303
|
+
# introduced, extensions were implemented as a first-class feature. This schema
|
1304
|
+
# for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
|
1305
|
+
# bearing messages from proto1 to proto2. This schema has been open-sourced only
|
1306
|
+
# to facilitate the migration of Google products with MessageSet-bearing
|
1307
|
+
# messages to open-source environments.
|
1308
|
+
class MessageSet
|
1309
|
+
include Google::Apis::Core::Hashable
|
1310
|
+
|
1311
|
+
def initialize(**args)
|
1312
|
+
update!(**args)
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# Update properties of this object
|
1316
|
+
def update!(**args)
|
1317
|
+
end
|
1318
|
+
end
|
1319
|
+
|
1240
1320
|
# Represents a monthly schedule. An example of a valid monthly schedule is "on
|
1241
1321
|
# the third Tuesday of the month" or "on the 15th of the month".
|
1242
1322
|
class MonthlySchedule
|
@@ -3411,6 +3491,64 @@ module Google
|
|
3411
3491
|
end
|
3412
3492
|
end
|
3413
3493
|
|
3494
|
+
# Wire-format for a Status object
|
3495
|
+
class StatusProto
|
3496
|
+
include Google::Apis::Core::Hashable
|
3497
|
+
|
3498
|
+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
|
3499
|
+
# int32 canonical_code = 6;
|
3500
|
+
# Corresponds to the JSON property `canonicalCode`
|
3501
|
+
# @return [Fixnum]
|
3502
|
+
attr_accessor :canonical_code
|
3503
|
+
|
3504
|
+
# Numeric code drawn from the space specified below. Often, this is the
|
3505
|
+
# canonical error space, and code is drawn from google3/util/task/codes.proto
|
3506
|
+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
|
3507
|
+
# int32 code = 1;
|
3508
|
+
# Corresponds to the JSON property `code`
|
3509
|
+
# @return [Fixnum]
|
3510
|
+
attr_accessor :code
|
3511
|
+
|
3512
|
+
# Detail message copybara:strip_begin(b/383363683) copybara:
|
3513
|
+
# strip_end_and_replace optional string message = 3;
|
3514
|
+
# Corresponds to the JSON property `message`
|
3515
|
+
# @return [String]
|
3516
|
+
attr_accessor :message
|
3517
|
+
|
3518
|
+
# This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
|
3519
|
+
# If you are using editions or proto2, please make your own extendable messages
|
3520
|
+
# for your use case. If you are using proto3, please use `Any` instead.
|
3521
|
+
# MessageSet was the implementation of extensions for proto1. When proto2 was
|
3522
|
+
# introduced, extensions were implemented as a first-class feature. This schema
|
3523
|
+
# for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
|
3524
|
+
# bearing messages from proto1 to proto2. This schema has been open-sourced only
|
3525
|
+
# to facilitate the migration of Google products with MessageSet-bearing
|
3526
|
+
# messages to open-source environments.
|
3527
|
+
# Corresponds to the JSON property `messageSet`
|
3528
|
+
# @return [Google::Apis::OsconfigV1::MessageSet]
|
3529
|
+
attr_accessor :message_set
|
3530
|
+
|
3531
|
+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
|
3532
|
+
# strip_end_and_replace optional string space = 2; // Space to which this status
|
3533
|
+
# belongs
|
3534
|
+
# Corresponds to the JSON property `space`
|
3535
|
+
# @return [String]
|
3536
|
+
attr_accessor :space
|
3537
|
+
|
3538
|
+
def initialize(**args)
|
3539
|
+
update!(**args)
|
3540
|
+
end
|
3541
|
+
|
3542
|
+
# Update properties of this object
|
3543
|
+
def update!(**args)
|
3544
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
3545
|
+
@code = args[:code] if args.key?(:code)
|
3546
|
+
@message = args[:message] if args.key?(:message)
|
3547
|
+
@message_set = args[:message_set] if args.key?(:message_set)
|
3548
|
+
@space = args[:space] if args.key?(:space)
|
3549
|
+
end
|
3550
|
+
end
|
3551
|
+
|
3414
3552
|
# Represents a time of day. The date and time zone are either not significant or
|
3415
3553
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
3416
3554
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -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.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudOsconfigV2OperationMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleCloudOsconfigV2betaOperationMetadata
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -214,6 +220,12 @@ module Google
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
215
221
|
end
|
216
222
|
|
223
|
+
class MessageSet
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
217
229
|
class MonthlySchedule
|
218
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
231
|
|
@@ -514,6 +526,12 @@ module Google
|
|
514
526
|
include Google::Apis::Core::JsonObjectSupport
|
515
527
|
end
|
516
528
|
|
529
|
+
class StatusProto
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
517
535
|
class TimeOfDay
|
518
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
537
|
|
@@ -710,6 +728,19 @@ module Google
|
|
710
728
|
end
|
711
729
|
end
|
712
730
|
|
731
|
+
class GoogleCloudOsconfigV2OperationMetadata
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
property :api_version, as: 'apiVersion'
|
735
|
+
property :create_time, as: 'createTime'
|
736
|
+
property :end_time, as: 'endTime'
|
737
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
738
|
+
property :status_message, as: 'statusMessage'
|
739
|
+
property :target, as: 'target'
|
740
|
+
property :verb, as: 'verb'
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
713
744
|
class GoogleCloudOsconfigV2betaOperationMetadata
|
714
745
|
# @private
|
715
746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -925,6 +956,12 @@ module Google
|
|
925
956
|
end
|
926
957
|
end
|
927
958
|
|
959
|
+
class MessageSet
|
960
|
+
# @private
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
928
965
|
class MonthlySchedule
|
929
966
|
# @private
|
930
967
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1490,6 +1527,18 @@ module Google
|
|
1490
1527
|
end
|
1491
1528
|
end
|
1492
1529
|
|
1530
|
+
class StatusProto
|
1531
|
+
# @private
|
1532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1533
|
+
property :canonical_code, as: 'canonicalCode'
|
1534
|
+
property :code, as: 'code'
|
1535
|
+
property :message, as: 'message'
|
1536
|
+
property :message_set, as: 'messageSet', class: Google::Apis::OsconfigV1::MessageSet, decorator: Google::Apis::OsconfigV1::MessageSet::Representation
|
1537
|
+
|
1538
|
+
property :space, as: 'space'
|
1539
|
+
end
|
1540
|
+
end
|
1541
|
+
|
1493
1542
|
class TimeOfDay
|
1494
1543
|
# @private
|
1495
1544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.48.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1
|
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: '
|
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.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.8
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for OS Config API V1
|
82
79
|
test_files: []
|