google-cloud-os_config-v1 1.0.1 → 1.2.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/README.md +31 -21
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +37 -13
- data/lib/google/cloud/os_config/v1/os_config_service/rest/client.rb +37 -13
- data/lib/google/cloud/os_config/v1/os_config_service/rest/service_stub.rb +110 -74
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +42 -13
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +19 -15
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/client.rb +42 -13
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/operations.rb +50 -38
- data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/service_stub.rb +110 -74
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +22 -0
- data/proto_docs/google/cloud/osconfig/v1/os_policy.rb +44 -0
- data/proto_docs/google/cloud/osconfig/v1/osconfig_common.rb +4 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_deployments.rb +12 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_jobs.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- data/proto_docs/google/type/datetime.rb +4 -0
- metadata +6 -9
@@ -49,9 +49,13 @@ module Google
|
|
49
49
|
# @!attribute [rw] one_time_schedule
|
50
50
|
# @return [::Google::Cloud::OsConfig::V1::OneTimeSchedule]
|
51
51
|
# Required. Schedule a one-time execution.
|
52
|
+
#
|
53
|
+
# Note: The following fields are mutually exclusive: `one_time_schedule`, `recurring_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
54
|
# @!attribute [rw] recurring_schedule
|
53
55
|
# @return [::Google::Cloud::OsConfig::V1::RecurringSchedule]
|
54
56
|
# Required. Schedule recurring executions.
|
57
|
+
#
|
58
|
+
# Note: The following fields are mutually exclusive: `recurring_schedule`, `one_time_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
55
59
|
# @!attribute [r] create_time
|
56
60
|
# @return [::Google::Protobuf::Timestamp]
|
57
61
|
# Output only. Time the patch deployment was created. Timestamp is in
|
@@ -121,9 +125,13 @@ module Google
|
|
121
125
|
# @!attribute [rw] weekly
|
122
126
|
# @return [::Google::Cloud::OsConfig::V1::WeeklySchedule]
|
123
127
|
# Required. Schedule with weekly executions.
|
128
|
+
#
|
129
|
+
# Note: The following fields are mutually exclusive: `weekly`, `monthly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
124
130
|
# @!attribute [rw] monthly
|
125
131
|
# @return [::Google::Cloud::OsConfig::V1::MonthlySchedule]
|
126
132
|
# Required. Schedule with monthly executions.
|
133
|
+
#
|
134
|
+
# Note: The following fields are mutually exclusive: `monthly`, `weekly`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
127
135
|
# @!attribute [r] last_execute_time
|
128
136
|
# @return [::Google::Protobuf::Timestamp]
|
129
137
|
# Output only. The time the last patch job ran successfully.
|
@@ -167,12 +175,16 @@ module Google
|
|
167
175
|
# @!attribute [rw] week_day_of_month
|
168
176
|
# @return [::Google::Cloud::OsConfig::V1::WeekDayOfMonth]
|
169
177
|
# Required. Week day in a month.
|
178
|
+
#
|
179
|
+
# Note: The following fields are mutually exclusive: `week_day_of_month`, `month_day`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
170
180
|
# @!attribute [rw] month_day
|
171
181
|
# @return [::Integer]
|
172
182
|
# Required. One day of the month. 1-31 indicates the 1st to the 31st day.
|
173
183
|
# -1 indicates the last day of the month. Months without the target day
|
174
184
|
# will be skipped. For example, a schedule to run "every month on the 31st"
|
175
185
|
# will not run in February, April, June, etc.
|
186
|
+
#
|
187
|
+
# Note: The following fields are mutually exclusive: `month_day`, `week_day_of_month`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
176
188
|
class MonthlySchedule
|
177
189
|
include ::Google::Protobuf::MessageExts
|
178
190
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -610,9 +610,13 @@ module Google
|
|
610
610
|
# @!attribute [rw] local_path
|
611
611
|
# @return [::String]
|
612
612
|
# An absolute path to the executable on the VM.
|
613
|
+
#
|
614
|
+
# Note: The following fields are mutually exclusive: `local_path`, `gcs_object`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
613
615
|
# @!attribute [rw] gcs_object
|
614
616
|
# @return [::Google::Cloud::OsConfig::V1::GcsObject]
|
615
617
|
# A Cloud Storage object containing the executable.
|
618
|
+
#
|
619
|
+
# Note: The following fields are mutually exclusive: `gcs_object`, `local_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
616
620
|
# @!attribute [rw] allowed_success_codes
|
617
621
|
# @return [::Array<::Integer>]
|
618
622
|
# Defaults to [0]. A list of possible return values that the
|
@@ -40,9 +40,11 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
47
|
+
# The normal, successful response of the operation. If the original
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -50,12 +52,15 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
60
|
end
|
57
61
|
|
58
|
-
# The request message for
|
62
|
+
# The request message for
|
63
|
+
# Operations.GetOperation.
|
59
64
|
# @!attribute [rw] name
|
60
65
|
# @return [::String]
|
61
66
|
# The name of the operation resource.
|
@@ -64,7 +69,8 @@ module Google
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
70
|
end
|
66
71
|
|
67
|
-
# The request message for
|
72
|
+
# The request message for
|
73
|
+
# Operations.ListOperations.
|
68
74
|
# @!attribute [rw] name
|
69
75
|
# @return [::String]
|
70
76
|
# The name of the operation's parent resource.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
@@ -75,9 +75,13 @@ module Google
|
|
75
75
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
76
|
# For example, a UTC offset of -4:00 would be represented as
|
77
77
|
# { seconds: -14400 }.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
80
|
# @!attribute [rw] time_zone
|
79
81
|
# @return [::Google::Type::TimeZone]
|
80
82
|
# Time zone.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
85
|
class DateTime
|
82
86
|
include ::Google::Protobuf::MessageExts
|
83
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-os_config-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.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: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -118,7 +117,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
118
117
|
licenses:
|
119
118
|
- Apache-2.0
|
120
119
|
metadata: {}
|
121
|
-
post_install_message:
|
122
120
|
rdoc_options: []
|
123
121
|
require_paths:
|
124
122
|
- lib
|
@@ -126,15 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
124
|
requirements:
|
127
125
|
- - ">="
|
128
126
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
127
|
+
version: '3.0'
|
130
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
129
|
requirements:
|
132
130
|
- - ">="
|
133
131
|
- !ruby/object:Gem::Version
|
134
132
|
version: '0'
|
135
133
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
134
|
+
rubygems_version: 3.6.2
|
138
135
|
specification_version: 4
|
139
136
|
summary: OS management tools that can be used for patch management, patch compliance,
|
140
137
|
and configuration management on VM instances.
|