google-apis-workloadmanager_v1 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +40 -13
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +17 -2
- data/lib/google/apis/workloadmanager_v1/service.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81b42e6729f976544b6604f320fb7a4c0ec767f21f93363111783b301f7a604
|
4
|
+
data.tar.gz: ca8fb45630d4efac6ee152ab26104d8233400b6d457405b1c6f2c3e9a7988a27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be0e689c703e7535cd7ea47368f7b43e6a6d7c4b685c724d5a5cd2fe64b216448c559a9ee7c862e3b182099ab4b77eb0bac0e2507ebf1b012506ade44587d0e0
|
7
|
+
data.tar.gz: 9511cdca70599a6818482b23586e4848a7e2ff54abe095a65082c79e8ef5f4ef6b81b19025768eaae155f2c13d08fa3aabda79914e67a37a73aa00235ef35ef9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-workloadmanager_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2023-07-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230621
|
6
|
+
|
7
|
+
### v0.7.0 (2023-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230605
|
10
|
+
|
3
11
|
### v0.6.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230503
|
@@ -51,7 +51,7 @@ module Google
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
# Message describing Evaluation object
|
54
|
+
# LINT.IfChange Message describing Evaluation object
|
55
55
|
class Evaluation
|
56
56
|
include Google::Apis::Core::Hashable
|
57
57
|
|
@@ -60,6 +60,11 @@ module Google
|
|
60
60
|
# @return [String]
|
61
61
|
attr_accessor :create_time
|
62
62
|
|
63
|
+
# The Cloud Storage bucket name for custom rules.
|
64
|
+
# Corresponds to the JSON property `customRulesBucket`
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :custom_rules_bucket
|
67
|
+
|
63
68
|
# Description of the Evaluation
|
64
69
|
# Corresponds to the JSON property `description`
|
65
70
|
# @return [String]
|
@@ -96,7 +101,9 @@ module Google
|
|
96
101
|
# @return [Array<String>]
|
97
102
|
attr_accessor :rule_versions
|
98
103
|
|
99
|
-
# crontab format schedule for scheduled evaluation,
|
104
|
+
# crontab format schedule for scheduled evaluation, currently only support the
|
105
|
+
# following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *"
|
106
|
+
# , "0 0 */7 * *",
|
100
107
|
# Corresponds to the JSON property `schedule`
|
101
108
|
# @return [String]
|
102
109
|
attr_accessor :schedule
|
@@ -113,6 +120,7 @@ module Google
|
|
113
120
|
# Update properties of this object
|
114
121
|
def update!(**args)
|
115
122
|
@create_time = args[:create_time] if args.key?(:create_time)
|
123
|
+
@custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
|
116
124
|
@description = args[:description] if args.key?(:description)
|
117
125
|
@labels = args[:labels] if args.key?(:labels)
|
118
126
|
@name = args[:name] if args.key?(:name)
|
@@ -260,7 +268,12 @@ module Google
|
|
260
268
|
class Insight
|
261
269
|
include Google::Apis::Core::Hashable
|
262
270
|
|
263
|
-
# The
|
271
|
+
# Required. The instance id where the insight is generated from
|
272
|
+
# Corresponds to the JSON property `instanceId`
|
273
|
+
# @return [String]
|
274
|
+
attr_accessor :instance_id
|
275
|
+
|
276
|
+
# LINT.IfChange The schema of SAP system discovery data.
|
264
277
|
# Corresponds to the JSON property `sapDiscovery`
|
265
278
|
# @return [Google::Apis::WorkloadmanagerV1::SapDiscovery]
|
266
279
|
attr_accessor :sap_discovery
|
@@ -288,6 +301,7 @@ module Google
|
|
288
301
|
|
289
302
|
# Update properties of this object
|
290
303
|
def update!(**args)
|
304
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
291
305
|
@sap_discovery = args[:sap_discovery] if args.key?(:sap_discovery)
|
292
306
|
@sap_validation = args[:sap_validation] if args.key?(:sap_validation)
|
293
307
|
@sent_time = args[:sent_time] if args.key?(:sent_time)
|
@@ -724,7 +738,7 @@ module Google
|
|
724
738
|
class ResourceStatus
|
725
739
|
include Google::Apis::Core::Hashable
|
726
740
|
|
727
|
-
# the new version of rule id if exists
|
741
|
+
# Historical: Used before 2023-05-22 the new version of rule id if exists
|
728
742
|
# Corresponds to the JSON property `rulesNewerVersions`
|
729
743
|
# @return [Array<String>]
|
730
744
|
attr_accessor :rules_newer_versions
|
@@ -859,7 +873,7 @@ module Google
|
|
859
873
|
end
|
860
874
|
end
|
861
875
|
|
862
|
-
# The schema of SAP system discovery data.
|
876
|
+
# LINT.IfChange The schema of SAP system discovery data.
|
863
877
|
class SapDiscovery
|
864
878
|
include Google::Apis::Core::Hashable
|
865
879
|
|
@@ -1117,20 +1131,34 @@ module Google
|
|
1117
1131
|
end
|
1118
1132
|
end
|
1119
1133
|
|
1134
|
+
# Message containing collected data names and values.
|
1135
|
+
class SqlserverValidationDetails
|
1136
|
+
include Google::Apis::Core::Hashable
|
1137
|
+
|
1138
|
+
# Required. Collected data is in format.
|
1139
|
+
# Corresponds to the JSON property `fields`
|
1140
|
+
# @return [Hash<String,String>]
|
1141
|
+
attr_accessor :fields
|
1142
|
+
|
1143
|
+
def initialize(**args)
|
1144
|
+
update!(**args)
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# Update properties of this object
|
1148
|
+
def update!(**args)
|
1149
|
+
@fields = args[:fields] if args.key?(:fields)
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1120
1153
|
# Message describing the Sqlserver validation metrics.
|
1121
1154
|
class SqlserverValidationValidationDetail
|
1122
1155
|
include Google::Apis::Core::Hashable
|
1123
1156
|
|
1124
|
-
#
|
1157
|
+
# Required. Details wraps map that represents collected data names and values.
|
1125
1158
|
# Corresponds to the JSON property `details`
|
1126
|
-
# @return [
|
1159
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails>]
|
1127
1160
|
attr_accessor :details
|
1128
1161
|
|
1129
|
-
# The instance id where the ValidationDetail is generated from
|
1130
|
-
# Corresponds to the JSON property `instanceId`
|
1131
|
-
# @return [String]
|
1132
|
-
attr_accessor :instance_id
|
1133
|
-
|
1134
1162
|
# The Sqlserver system that the validation data is from.
|
1135
1163
|
# Corresponds to the JSON property `type`
|
1136
1164
|
# @return [String]
|
@@ -1143,7 +1171,6 @@ module Google
|
|
1143
1171
|
# Update properties of this object
|
1144
1172
|
def update!(**args)
|
1145
1173
|
@details = args[:details] if args.key?(:details)
|
1146
|
-
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1147
1174
|
@type = args[:type] if args.key?(:type)
|
1148
1175
|
end
|
1149
1176
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module WorkloadmanagerV1
|
18
18
|
# Version of the google-apis-workloadmanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class SqlserverValidationDetails
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class SqlserverValidationValidationDetail
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -248,6 +254,7 @@ module Google
|
|
248
254
|
# @private
|
249
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
250
256
|
property :create_time, as: 'createTime'
|
257
|
+
property :custom_rules_bucket, as: 'customRulesBucket'
|
251
258
|
property :description, as: 'description'
|
252
259
|
hash :labels, as: 'labels'
|
253
260
|
property :name, as: 'name'
|
@@ -300,6 +307,7 @@ module Google
|
|
300
307
|
class Insight
|
301
308
|
# @private
|
302
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :instance_id, as: 'instanceId'
|
303
311
|
property :sap_discovery, as: 'sapDiscovery', class: Google::Apis::WorkloadmanagerV1::SapDiscovery, decorator: Google::Apis::WorkloadmanagerV1::SapDiscovery::Representation
|
304
312
|
|
305
313
|
property :sap_validation, as: 'sapValidation', class: Google::Apis::WorkloadmanagerV1::SapValidation, decorator: Google::Apis::WorkloadmanagerV1::SapValidation::Representation
|
@@ -544,11 +552,18 @@ module Google
|
|
544
552
|
end
|
545
553
|
end
|
546
554
|
|
555
|
+
class SqlserverValidationDetails
|
556
|
+
# @private
|
557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
558
|
+
hash :fields, as: 'fields'
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
547
562
|
class SqlserverValidationValidationDetail
|
548
563
|
# @private
|
549
564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
-
|
551
|
-
|
565
|
+
collection :details, as: 'details', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails::Representation
|
566
|
+
|
552
567
|
property :type, as: 'type'
|
553
568
|
end
|
554
569
|
end
|
@@ -622,6 +622,8 @@ module Google
|
|
622
622
|
# Required. The [project] on which to execute the request. The format is:
|
623
623
|
# projects/`project_id`/locations/`location` Currently, the pre-defined rules
|
624
624
|
# are global available to all projects and all regions
|
625
|
+
# @param [String] custom_rules_bucket
|
626
|
+
# The Cloud Storage bucket name for custom rules.
|
625
627
|
# @param [String] filter
|
626
628
|
# Filter based on primary_category, secondary_category
|
627
629
|
# @param [Fixnum] page_size
|
@@ -646,11 +648,12 @@ module Google
|
|
646
648
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
647
649
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
648
650
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
649
|
-
def list_project_location_rules(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
651
|
+
def list_project_location_rules(parent, custom_rules_bucket: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
650
652
|
command = make_simple_command(:get, 'v1/{+parent}/rules', options)
|
651
653
|
command.response_representation = Google::Apis::WorkloadmanagerV1::ListRulesResponse::Representation
|
652
654
|
command.response_class = Google::Apis::WorkloadmanagerV1::ListRulesResponse
|
653
655
|
command.params['parent'] = parent unless parent.nil?
|
656
|
+
command.query['customRulesBucket'] = custom_rules_bucket unless custom_rules_bucket.nil?
|
654
657
|
command.query['filter'] = filter unless filter.nil?
|
655
658
|
command.query['pageSize'] = page_size unless page_size.nil?
|
656
659
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-workloadmanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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: 2023-
|
11
|
+
date: 2023-07-02 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-workloadmanager_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.8.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|