google-apis-workloadmanager_v1 0.12.0 → 0.14.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: 9823caf14aad977fe19a0d4d78ec05920f8200cbdb20f9442ceb6bc2ddcfe714
4
- data.tar.gz: 489f76626da83989ac7bf5e71dcfbe890dd6770943c1e73a1d6e548e5b9dbf98
3
+ metadata.gz: 0a3d836bfc00395de5487760736c8fd372bdb7a6809b5b583a4a3be15ae9f3b1
4
+ data.tar.gz: 39cec735878d9ac93ca96c7e6f029c22ffcbdf42f532430d5f33cc8299bd2311
5
5
  SHA512:
6
- metadata.gz: 4aff2f24918334071b8d3a6788c8ac693f752d55a8372018f74d5abf317be327d9c9e3cff474bee1afde40dacde27fc97e0d81f753b08ea1fdf77a0cac9ab039
7
- data.tar.gz: fb1430c9f740a52eebf56a32f5193b449937b5c0685d27589006e82e1114d1117fb95da9061fedac311c7b78e22cfdfa307e5c26bfe13d95dfb9510f2b8fd0c7
6
+ metadata.gz: 8a900f91ca78ff72a0641449c6f5aef63ba9be9e2ec78a968f368e4867a69e985feac61aab65b37f0b0359b5f830b6eb864007cb06f60beb35fa5accb80edebf
7
+ data.tar.gz: 5dc604888ebda1990d0da7587ad4e7a86a162a6b007ad4aadb31005a0711fc4b31c2e426d424f6f087c198dd8521dedbd84b227e84a61c01b214e0b5d8044ac8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.14.0 (2024-01-28)
4
+
5
+ * Regenerated from discovery document revision 20240117
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.13.0 (2024-01-22)
9
+
10
+ * Regenerated from discovery document revision 20240103
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.12.0 (2023-12-17)
4
14
 
5
15
  * Regenerated from discovery document revision 20231211
@@ -22,6 +22,32 @@ module Google
22
22
  module Apis
23
23
  module WorkloadmanagerV1
24
24
 
25
+ # Message describing big query destination
26
+ class BigQueryDestination
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Optional. determine if results will be saved in a new table
30
+ # Corresponds to the JSON property `createNewResultsTable`
31
+ # @return [Boolean]
32
+ attr_accessor :create_new_results_table
33
+ alias_method :create_new_results_table?, :create_new_results_table
34
+
35
+ # Optional. destination dataset to save evaluation results
36
+ # Corresponds to the JSON property `destinationDataset`
37
+ # @return [String]
38
+ attr_accessor :destination_dataset
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @create_new_results_table = args[:create_new_results_table] if args.key?(:create_new_results_table)
47
+ @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
48
+ end
49
+ end
50
+
25
51
  # The request message for Operations.CancelOperation.
26
52
  class CancelOperationRequest
27
53
  include Google::Apis::Core::Hashable
@@ -55,6 +81,11 @@ module Google
55
81
  class Evaluation
56
82
  include Google::Apis::Core::Hashable
57
83
 
84
+ # Message describing big query destination
85
+ # Corresponds to the JSON property `bigQueryDestination`
86
+ # @return [Google::Apis::WorkloadmanagerV1::BigQueryDestination]
87
+ attr_accessor :big_query_destination
88
+
58
89
  # Output only. [Output only] Create time stamp
59
90
  # Corresponds to the JSON property `createTime`
60
91
  # @return [String]
@@ -119,6 +150,7 @@ module Google
119
150
 
120
151
  # Update properties of this object
121
152
  def update!(**args)
153
+ @big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination)
122
154
  @create_time = args[:create_time] if args.key?(:create_time)
123
155
  @custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
124
156
  @description = args[:description] if args.key?(:description)
@@ -808,6 +840,11 @@ module Google
808
840
  # @return [String]
809
841
  attr_accessor :severity
810
842
 
843
+ # List of user-defined tags
844
+ # Corresponds to the JSON property `tags`
845
+ # @return [Array<String>]
846
+ attr_accessor :tags
847
+
811
848
  # the docuement url for the rule
812
849
  # Corresponds to the JSON property `uri`
813
850
  # @return [String]
@@ -828,6 +865,7 @@ module Google
828
865
  @revision_id = args[:revision_id] if args.key?(:revision_id)
829
866
  @secondary_category = args[:secondary_category] if args.key?(:secondary_category)
830
867
  @severity = args[:severity] if args.key?(:severity)
868
+ @tags = args[:tags] if args.key?(:tags)
831
869
  @uri = args[:uri] if args.key?(:uri)
832
870
  end
833
871
  end
@@ -1250,6 +1288,11 @@ module Google
1250
1288
  # @return [String]
1251
1289
  attr_accessor :resource
1252
1290
 
1291
+ # resource type
1292
+ # Corresponds to the JSON property `type`
1293
+ # @return [String]
1294
+ attr_accessor :type
1295
+
1253
1296
  def initialize(**args)
1254
1297
  update!(**args)
1255
1298
  end
@@ -1257,6 +1300,7 @@ module Google
1257
1300
  # Update properties of this object
1258
1301
  def update!(**args)
1259
1302
  @resource = args[:resource] if args.key?(:resource)
1303
+ @type = args[:type] if args.key?(:type)
1260
1304
  end
1261
1305
  end
1262
1306
 
@@ -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.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231211"
25
+ REVISION = "20240117"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module WorkloadmanagerV1
24
24
 
25
+ class BigQueryDestination
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class CancelOperationRequest
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -256,6 +262,14 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class BigQueryDestination
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ property :create_new_results_table, as: 'createNewResultsTable'
269
+ property :destination_dataset, as: 'destinationDataset'
270
+ end
271
+ end
272
+
259
273
  class CancelOperationRequest
260
274
  # @private
261
275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,6 +285,8 @@ module Google
271
285
  class Evaluation
272
286
  # @private
273
287
  class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :big_query_destination, as: 'bigQueryDestination', class: Google::Apis::WorkloadmanagerV1::BigQueryDestination, decorator: Google::Apis::WorkloadmanagerV1::BigQueryDestination::Representation
289
+
274
290
  property :create_time, as: 'createTime'
275
291
  property :custom_rules_bucket, as: 'customRulesBucket'
276
292
  property :description, as: 'description'
@@ -477,6 +493,7 @@ module Google
477
493
  property :revision_id, as: 'revisionId'
478
494
  property :secondary_category, as: 'secondaryCategory'
479
495
  property :severity, as: 'severity'
496
+ collection :tags, as: 'tags'
480
497
  property :uri, as: 'uri'
481
498
  end
482
499
  end
@@ -597,6 +614,7 @@ module Google
597
614
  # @private
598
615
  class Representation < Google::Apis::Core::JsonRepresentation
599
616
  property :resource, as: 'resource'
617
+ property :type, as: 'type'
600
618
  end
601
619
  end
602
620
 
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://cloud.google.com/workload-manager/docs
36
36
  class WorkloadManagerService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://workloadmanager.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://workloadmanager.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-workloadmanager_v1',
50
52
  client_version: Google::Apis::WorkloadmanagerV1::GEM_VERSION)
51
53
  @batch_path = 'batch'
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.12.0
4
+ version: 0.14.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-12-17 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.14.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workload Manager API V1