google-apis-workloadmanager_v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94549fc7fde942cb278abec271838bff9bcab00c756bc958ace727310852dccc
4
- data.tar.gz: 159ce15ac778a522edcf22a965c89da1a116c9af3f7ae38e2688d08d6576a1b6
3
+ metadata.gz: 2256f724ff91b9a9f7bb9a819b4547a36d633e6771676e17cacaad80acb27968
4
+ data.tar.gz: 9e71f7c5d412fd26765e18e152e347fa0f0d6995b52c1e5bb7fe9b7f6ba03eb2
5
5
  SHA512:
6
- metadata.gz: bfffa5cf168aab779c6de0736714aa05ab870011545793c3dde514854ba3ee26f05769c406945c411bd3e0c4f85d3ebee68045dce955a53f2a00d5fc1d6174b3
7
- data.tar.gz: 9bfed866de4a9082a218315ac94e6873755056094ea9964b7c15f6af5851bbbcdfc01b40828085a13f8af9a8f115fa6d54a7ded4af6d02ee6e604883c9cf93de
6
+ metadata.gz: 134c9c6e7c28164e9c7a38c407669d3d96b9e54ebb16cb25b1e3a100bf31753fcfc0a6f3e35cca77650a88fa86b306be35afbd1ea12382c714b3d12d10c00ab0
7
+ data.tar.gz: a8bb755b890602e3d96987a4bf3bbb7091d872519a16e3a3fdf66ce6e63fb906f3ea85c0e7e30c7b8670ccd3e331e846a1775d1fbda148e76a6ee38d78caf6cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.7.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230605
6
+
3
7
  ### v0.6.0 (2023-05-14)
4
8
 
5
9
  * 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, example: 0 */3 * * *
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 schema of SAP system discovery data.
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
 
@@ -1121,15 +1135,10 @@ module Google
1121
1135
  class SqlserverValidationValidationDetail
1122
1136
  include Google::Apis::Core::Hashable
1123
1137
 
1124
- # The pairs of metrics data: field name & field value.
1125
- # Corresponds to the JSON property `details`
1138
+ # pairs of metrics data: column name & column value.
1139
+ # Corresponds to the JSON property `fields`
1126
1140
  # @return [Hash<String,String>]
1127
- attr_accessor :details
1128
-
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
1141
+ attr_accessor :fields
1133
1142
 
1134
1143
  # The Sqlserver system that the validation data is from.
1135
1144
  # Corresponds to the JSON property `type`
@@ -1142,8 +1151,7 @@ module Google
1142
1151
 
1143
1152
  # Update properties of this object
1144
1153
  def update!(**args)
1145
- @details = args[:details] if args.key?(:details)
1146
- @instance_id = args[:instance_id] if args.key?(:instance_id)
1154
+ @fields = args[:fields] if args.key?(:fields)
1147
1155
  @type = args[:type] if args.key?(:type)
1148
1156
  end
1149
1157
  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.6.0"
19
+ GEM_VERSION = "0.7.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 = "20230503"
25
+ REVISION = "20230605"
26
26
  end
27
27
  end
28
28
  end
@@ -248,6 +248,7 @@ module Google
248
248
  # @private
249
249
  class Representation < Google::Apis::Core::JsonRepresentation
250
250
  property :create_time, as: 'createTime'
251
+ property :custom_rules_bucket, as: 'customRulesBucket'
251
252
  property :description, as: 'description'
252
253
  hash :labels, as: 'labels'
253
254
  property :name, as: 'name'
@@ -300,6 +301,7 @@ module Google
300
301
  class Insight
301
302
  # @private
302
303
  class Representation < Google::Apis::Core::JsonRepresentation
304
+ property :instance_id, as: 'instanceId'
303
305
  property :sap_discovery, as: 'sapDiscovery', class: Google::Apis::WorkloadmanagerV1::SapDiscovery, decorator: Google::Apis::WorkloadmanagerV1::SapDiscovery::Representation
304
306
 
305
307
  property :sap_validation, as: 'sapValidation', class: Google::Apis::WorkloadmanagerV1::SapValidation, decorator: Google::Apis::WorkloadmanagerV1::SapValidation::Representation
@@ -547,8 +549,7 @@ module Google
547
549
  class SqlserverValidationValidationDetail
548
550
  # @private
549
551
  class Representation < Google::Apis::Core::JsonRepresentation
550
- hash :details, as: 'details'
551
- property :instance_id, as: 'instanceId'
552
+ hash :fields, as: 'fields'
552
553
  property :type, as: 'type'
553
554
  end
554
555
  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.6.0
4
+ version: 0.7.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.7.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: []