google-apis-osconfig_v2 0.2.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ed72cc31763f35ddb67a4671d1327ba9b67318f4d5403e76c630266bb32618a
|
4
|
+
data.tar.gz: 6312478e9cab8e8f3f7b98feb46ccba2cf2a5aaa4263ae171d80add9e33afd61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8a40a7d8871ce4667ed3578acc11e9690a244d92a1ed3b7b96de4598bd10c37e3fc1898a17979f9f37bb322cd4cca1934b951b32f5c2d79f33a7e7175b07a03
|
7
|
+
data.tar.gz: 71f21963209ea12fa3b1dbc3204288011b4a4215aebe361eeb3009befc189769ead601c228407ed950b645c29f15c8d0dc9670706ab19d40387a83b887779174
|
data/CHANGELOG.md
CHANGED
@@ -635,6 +635,27 @@ module Google
|
|
635
635
|
end
|
636
636
|
end
|
637
637
|
|
638
|
+
# This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
|
639
|
+
# If you are using editions or proto2, please make your own extendable messages
|
640
|
+
# for your use case. If you are using proto3, please use `Any` instead.
|
641
|
+
# MessageSet was the implementation of extensions for proto1. When proto2 was
|
642
|
+
# introduced, extensions were implemented as a first-class feature. This schema
|
643
|
+
# for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
|
644
|
+
# bearing messages from proto1 to proto2. This schema has been open-sourced only
|
645
|
+
# to facilitate the migration of Google products with MessageSet-bearing
|
646
|
+
# messages to open-source environments.
|
647
|
+
class MessageSet
|
648
|
+
include Google::Apis::Core::Hashable
|
649
|
+
|
650
|
+
def initialize(**args)
|
651
|
+
update!(**args)
|
652
|
+
end
|
653
|
+
|
654
|
+
# Update properties of this object
|
655
|
+
def update!(**args)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
638
659
|
# An OS policy defines the desired state configuration for a VM.
|
639
660
|
class OsPolicy
|
640
661
|
include Google::Apis::Core::Hashable
|
@@ -1867,6 +1888,64 @@ module Google
|
|
1867
1888
|
@message = args[:message] if args.key?(:message)
|
1868
1889
|
end
|
1869
1890
|
end
|
1891
|
+
|
1892
|
+
# Wire-format for a Status object
|
1893
|
+
class StatusProto
|
1894
|
+
include Google::Apis::Core::Hashable
|
1895
|
+
|
1896
|
+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
|
1897
|
+
# int32 canonical_code = 6;
|
1898
|
+
# Corresponds to the JSON property `canonicalCode`
|
1899
|
+
# @return [Fixnum]
|
1900
|
+
attr_accessor :canonical_code
|
1901
|
+
|
1902
|
+
# Numeric code drawn from the space specified below. Often, this is the
|
1903
|
+
# canonical error space, and code is drawn from google3/util/task/codes.proto
|
1904
|
+
# copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional
|
1905
|
+
# int32 code = 1;
|
1906
|
+
# Corresponds to the JSON property `code`
|
1907
|
+
# @return [Fixnum]
|
1908
|
+
attr_accessor :code
|
1909
|
+
|
1910
|
+
# Detail message copybara:strip_begin(b/383363683) copybara:
|
1911
|
+
# strip_end_and_replace optional string message = 3;
|
1912
|
+
# Corresponds to the JSON property `message`
|
1913
|
+
# @return [String]
|
1914
|
+
attr_accessor :message
|
1915
|
+
|
1916
|
+
# This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS.
|
1917
|
+
# If you are using editions or proto2, please make your own extendable messages
|
1918
|
+
# for your use case. If you are using proto3, please use `Any` instead.
|
1919
|
+
# MessageSet was the implementation of extensions for proto1. When proto2 was
|
1920
|
+
# introduced, extensions were implemented as a first-class feature. This schema
|
1921
|
+
# for MessageSet was meant to be a "bridge" solution to migrate MessageSet-
|
1922
|
+
# bearing messages from proto1 to proto2. This schema has been open-sourced only
|
1923
|
+
# to facilitate the migration of Google products with MessageSet-bearing
|
1924
|
+
# messages to open-source environments.
|
1925
|
+
# Corresponds to the JSON property `messageSet`
|
1926
|
+
# @return [Google::Apis::OsconfigV2::MessageSet]
|
1927
|
+
attr_accessor :message_set
|
1928
|
+
|
1929
|
+
# copybara:strip_begin(b/383363683) Space to which this status belongs copybara:
|
1930
|
+
# strip_end_and_replace optional string space = 2; // Space to which this status
|
1931
|
+
# belongs
|
1932
|
+
# Corresponds to the JSON property `space`
|
1933
|
+
# @return [String]
|
1934
|
+
attr_accessor :space
|
1935
|
+
|
1936
|
+
def initialize(**args)
|
1937
|
+
update!(**args)
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# Update properties of this object
|
1941
|
+
def update!(**args)
|
1942
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
1943
|
+
@code = args[:code] if args.key?(:code)
|
1944
|
+
@message = args[:message] if args.key?(:message)
|
1945
|
+
@message_set = args[:message_set] if args.key?(:message_set)
|
1946
|
+
@space = args[:space] if args.key?(:space)
|
1947
|
+
end
|
1948
|
+
end
|
1870
1949
|
end
|
1871
1950
|
end
|
1872
1951
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV2
|
18
18
|
# Version of the google-apis-osconfig_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
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
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class MessageSet
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class OsPolicy
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -304,6 +310,12 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class StatusProto
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
307
319
|
class CancelOperationRequest
|
308
320
|
# @private
|
309
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -468,6 +480,12 @@ module Google
|
|
468
480
|
end
|
469
481
|
end
|
470
482
|
|
483
|
+
class MessageSet
|
484
|
+
# @private
|
485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
471
489
|
class OsPolicy
|
472
490
|
# @private
|
473
491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -795,6 +813,18 @@ module Google
|
|
795
813
|
property :message, as: 'message'
|
796
814
|
end
|
797
815
|
end
|
816
|
+
|
817
|
+
class StatusProto
|
818
|
+
# @private
|
819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
820
|
+
property :canonical_code, as: 'canonicalCode'
|
821
|
+
property :code, as: 'code'
|
822
|
+
property :message, as: 'message'
|
823
|
+
property :message_set, as: 'messageSet', class: Google::Apis::OsconfigV2::MessageSet, decorator: Google::Apis::OsconfigV2::MessageSet::Representation
|
824
|
+
|
825
|
+
property :space, as: 'space'
|
826
|
+
end
|
827
|
+
end
|
798
828
|
end
|
799
829
|
end
|
800
830
|
end
|
@@ -244,12 +244,12 @@ module Google
|
|
244
244
|
# repeated fields are replaced, * map fields are merged key by key, * message
|
245
245
|
# fields are cleared if not set in the request, otherwise they are merged
|
246
246
|
# recursively (in particular - message fields set to an empty message has no
|
247
|
-
# side effects) If field mask is not specified, it is
|
248
|
-
# from the request using following rules: * primitive
|
249
|
-
# to a non-default value (as there is no way to
|
250
|
-
# unset value), * map and repeated fields are
|
251
|
-
# fields are listed, * other message fields are
|
252
|
-
# implicit mask does not allow clearing fields.
|
247
|
+
# side effects) If field mask (or its paths) is not specified, it is
|
248
|
+
# automatically inferred from the request using following rules: * primitive
|
249
|
+
# fields are listed, if set to a non-default value (as there is no way to
|
250
|
+
# distinguish between default and unset value), * map and repeated fields are
|
251
|
+
# listed, * `google.protobuf.Any` fields are listed, * other message fields are
|
252
|
+
# traversed recursively. Note: implicit mask does not allow clearing fields.
|
253
253
|
# @param [String] fields
|
254
254
|
# Selector specifying which fields to include in a partial response.
|
255
255
|
# @param [String] quota_user
|
@@ -616,12 +616,12 @@ module Google
|
|
616
616
|
# repeated fields are replaced, * map fields are merged key by key, * message
|
617
617
|
# fields are cleared if not set in the request, otherwise they are merged
|
618
618
|
# recursively (in particular - message fields set to an empty message has no
|
619
|
-
# side effects) If field mask is not specified, it is
|
620
|
-
# from the request using following rules: * primitive
|
621
|
-
# to a non-default value (as there is no way to
|
622
|
-
# unset value), * map and repeated fields are
|
623
|
-
# fields are listed, * other message fields are
|
624
|
-
# implicit mask does not allow clearing fields.
|
619
|
+
# side effects) If field mask (or its paths) is not specified, it is
|
620
|
+
# automatically inferred from the request using following rules: * primitive
|
621
|
+
# fields are listed, if set to a non-default value (as there is no way to
|
622
|
+
# distinguish between default and unset value), * map and repeated fields are
|
623
|
+
# listed, * `google.protobuf.Any` fields are listed, * other message fields are
|
624
|
+
# traversed recursively. Note: implicit mask does not allow clearing fields.
|
625
625
|
# @param [String] fields
|
626
626
|
# Selector specifying which fields to include in a partial response.
|
627
627
|
# @param [String] quota_user
|
@@ -988,12 +988,12 @@ module Google
|
|
988
988
|
# repeated fields are replaced, * map fields are merged key by key, * message
|
989
989
|
# fields are cleared if not set in the request, otherwise they are merged
|
990
990
|
# recursively (in particular - message fields set to an empty message has no
|
991
|
-
# side effects) If field mask is not specified, it is
|
992
|
-
# from the request using following rules: * primitive
|
993
|
-
# to a non-default value (as there is no way to
|
994
|
-
# unset value), * map and repeated fields are
|
995
|
-
# fields are listed, * other message fields are
|
996
|
-
# implicit mask does not allow clearing fields.
|
991
|
+
# side effects) If field mask (or its paths) is not specified, it is
|
992
|
+
# automatically inferred from the request using following rules: * primitive
|
993
|
+
# fields are listed, if set to a non-default value (as there is no way to
|
994
|
+
# distinguish between default and unset value), * map and repeated fields are
|
995
|
+
# listed, * `google.protobuf.Any` fields are listed, * other message fields are
|
996
|
+
# traversed recursively. Note: implicit mask does not allow clearing fields.
|
997
997
|
# @param [String] fields
|
998
998
|
# Selector specifying which fields to include in a partial response.
|
999
999
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v2/v0.3.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|