google-apis-workloadmanager_v1 0.20.0 → 0.21.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 +4 -0
- data/lib/google/apis/workloadmanager_v1/classes.rb +49 -14
- data/lib/google/apis/workloadmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/workloadmanager_v1/representations.rb +17 -0
- data/lib/google/apis/workloadmanager_v1/service.rb +2 -2
- 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: 656c40bbb1df562d4dca65c0818a7b1f6e7befb31b82a92a33a25c8adebda0d4
|
4
|
+
data.tar.gz: 2ab0e413b83947d290b7b07e84ef71556bae06c49b64ef08137577dd93a585cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adbcf0314915f41e9b75b766e3db91e41cfd8016646d552cfda0e3ace81f747d0267a121ef1703dddd1fe4689196a316702638d71f58faf219b20ebd887e8fd0
|
7
|
+
data.tar.gz: 33fca748a0ba7d7fa691503cb47b098e79d271cc204e411140026e4d723119ee0210a0d2128a59f825b5cf615086cccf5afe03bca93d2798597129d92ba78add
|
data/CHANGELOG.md
CHANGED
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
class ExecutionResult
|
362
362
|
include Google::Apis::Core::Hashable
|
363
363
|
|
364
|
-
# the
|
364
|
+
# The URL for the documentation of the rule.
|
365
365
|
# Corresponds to the JSON property `documentationUrl`
|
366
366
|
# @return [String]
|
367
367
|
attr_accessor :documentation_url
|
@@ -371,22 +371,22 @@ module Google
|
|
371
371
|
# @return [Google::Apis::WorkloadmanagerV1::Resource]
|
372
372
|
attr_accessor :resource
|
373
373
|
|
374
|
-
#
|
374
|
+
# The rule that is violated in an evaluation.
|
375
375
|
# Corresponds to the JSON property `rule`
|
376
376
|
# @return [String]
|
377
377
|
attr_accessor :rule
|
378
378
|
|
379
|
-
# severity of violation
|
379
|
+
# The severity of violation.
|
380
380
|
# Corresponds to the JSON property `severity`
|
381
381
|
# @return [String]
|
382
382
|
attr_accessor :severity
|
383
383
|
|
384
|
-
# Message describing the
|
384
|
+
# Message describing the violation in an evaluation result.
|
385
385
|
# Corresponds to the JSON property `violationDetails`
|
386
386
|
# @return [Google::Apis::WorkloadmanagerV1::ViolationDetails]
|
387
387
|
attr_accessor :violation_details
|
388
388
|
|
389
|
-
#
|
389
|
+
# The violation message of an execution.
|
390
390
|
# Corresponds to the JSON property `violationMessage`
|
391
391
|
# @return [String]
|
392
392
|
attr_accessor :violation_message
|
@@ -866,6 +866,12 @@ module Google
|
|
866
866
|
# @return [Google::Apis::WorkloadmanagerV1::TenantProjectProxy]
|
867
867
|
attr_accessor :gcp_project_proxy
|
868
868
|
|
869
|
+
# Message describing that the location of the customer resource is tied to
|
870
|
+
# placer allocations
|
871
|
+
# Corresponds to the JSON property `placerLocation`
|
872
|
+
# @return [Google::Apis::WorkloadmanagerV1::PlacerLocation]
|
873
|
+
attr_accessor :placer_location
|
874
|
+
|
869
875
|
#
|
870
876
|
# Corresponds to the JSON property `spannerLocation`
|
871
877
|
# @return [Google::Apis::WorkloadmanagerV1::SpannerLocation]
|
@@ -881,6 +887,7 @@ module Google
|
|
881
887
|
@child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
|
882
888
|
@direct_location = args[:direct_location] if args.key?(:direct_location)
|
883
889
|
@gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
|
890
|
+
@placer_location = args[:placer_location] if args.key?(:placer_location)
|
884
891
|
@spanner_location = args[:spanner_location] if args.key?(:spanner_location)
|
885
892
|
end
|
886
893
|
end
|
@@ -1006,6 +1013,27 @@ module Google
|
|
1006
1013
|
end
|
1007
1014
|
end
|
1008
1015
|
|
1016
|
+
# Message describing that the location of the customer resource is tied to
|
1017
|
+
# placer allocations
|
1018
|
+
class PlacerLocation
|
1019
|
+
include Google::Apis::Core::Hashable
|
1020
|
+
|
1021
|
+
# Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
|
1022
|
+
# root/my-dir")
|
1023
|
+
# Corresponds to the JSON property `placerConfig`
|
1024
|
+
# @return [String]
|
1025
|
+
attr_accessor :placer_config
|
1026
|
+
|
1027
|
+
def initialize(**args)
|
1028
|
+
update!(**args)
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
# Update properties of this object
|
1032
|
+
def update!(**args)
|
1033
|
+
@placer_config = args[:placer_config] if args.key?(:placer_config)
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1009
1037
|
# To be used for specifying the intended distribution of regional compute.
|
1010
1038
|
# googleapis.com/InstanceGroupManager instances
|
1011
1039
|
class RegionalMigDistributionPolicy
|
@@ -1037,17 +1065,17 @@ module Google
|
|
1037
1065
|
class Resource
|
1038
1066
|
include Google::Apis::Core::Hashable
|
1039
1067
|
|
1040
|
-
#
|
1068
|
+
# The name of the resource.
|
1041
1069
|
# Corresponds to the JSON property `name`
|
1042
1070
|
# @return [String]
|
1043
1071
|
attr_accessor :name
|
1044
1072
|
|
1045
|
-
#
|
1073
|
+
# The service account associated with the resource.
|
1046
1074
|
# Corresponds to the JSON property `serviceAccount`
|
1047
1075
|
# @return [String]
|
1048
1076
|
attr_accessor :service_account
|
1049
1077
|
|
1050
|
-
#
|
1078
|
+
# The type of resource.
|
1051
1079
|
# Corresponds to the JSON property `type`
|
1052
1080
|
# @return [String]
|
1053
1081
|
attr_accessor :type
|
@@ -1327,6 +1355,12 @@ module Google
|
|
1327
1355
|
# @return [String]
|
1328
1356
|
attr_accessor :host_project
|
1329
1357
|
|
1358
|
+
# Optional. A list of replication sites used in Disaster Recovery (DR)
|
1359
|
+
# configurations.
|
1360
|
+
# Corresponds to the JSON property `replicationSites`
|
1361
|
+
# @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent>]
|
1362
|
+
attr_accessor :replication_sites
|
1363
|
+
|
1330
1364
|
# Optional. The resources in a component.
|
1331
1365
|
# Corresponds to the JSON property `resources`
|
1332
1366
|
# @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>]
|
@@ -1353,6 +1387,7 @@ module Google
|
|
1353
1387
|
@database_properties = args[:database_properties] if args.key?(:database_properties)
|
1354
1388
|
@ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
|
1355
1389
|
@host_project = args[:host_project] if args.key?(:host_project)
|
1390
|
+
@replication_sites = args[:replication_sites] if args.key?(:replication_sites)
|
1356
1391
|
@resources = args[:resources] if args.key?(:resources)
|
1357
1392
|
@sid = args[:sid] if args.key?(:sid)
|
1358
1393
|
@topology_type = args[:topology_type] if args.key?(:topology_type)
|
@@ -1363,8 +1398,8 @@ module Google
|
|
1363
1398
|
class SapDiscoveryComponentApplicationProperties
|
1364
1399
|
include Google::Apis::Core::Hashable
|
1365
1400
|
|
1366
|
-
# Optional.
|
1367
|
-
#
|
1401
|
+
# Optional. Deprecated: ApplicationType now tells you whether this is ABAP or
|
1402
|
+
# Java.
|
1368
1403
|
# Corresponds to the JSON property `abap`
|
1369
1404
|
# @return [Boolean]
|
1370
1405
|
attr_accessor :abap
|
@@ -1967,21 +2002,21 @@ module Google
|
|
1967
2002
|
end
|
1968
2003
|
end
|
1969
2004
|
|
1970
|
-
# Message describing the
|
2005
|
+
# Message describing the violation in an evaluation result.
|
1971
2006
|
class ViolationDetails
|
1972
2007
|
include Google::Apis::Core::Hashable
|
1973
2008
|
|
1974
|
-
#
|
2009
|
+
# The name of the asset.
|
1975
2010
|
# Corresponds to the JSON property `asset`
|
1976
2011
|
# @return [String]
|
1977
2012
|
attr_accessor :asset
|
1978
2013
|
|
1979
|
-
#
|
2014
|
+
# Details of the violation.
|
1980
2015
|
# Corresponds to the JSON property `observed`
|
1981
2016
|
# @return [Hash<String,String>]
|
1982
2017
|
attr_accessor :observed
|
1983
2018
|
|
1984
|
-
#
|
2019
|
+
# The service account associated with the resource.
|
1985
2020
|
# Corresponds to the JSON property `serviceAccount`
|
1986
2021
|
# @return [String]
|
1987
2022
|
attr_accessor :service_account
|
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class PlacerLocation
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class RegionalMigDistributionPolicy
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -632,6 +638,8 @@ module Google
|
|
632
638
|
|
633
639
|
property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy, decorator: Google::Apis::WorkloadmanagerV1::TenantProjectProxy::Representation
|
634
640
|
|
641
|
+
property :placer_location, as: 'placerLocation', class: Google::Apis::WorkloadmanagerV1::PlacerLocation, decorator: Google::Apis::WorkloadmanagerV1::PlacerLocation::Representation
|
642
|
+
|
635
643
|
property :spanner_location, as: 'spannerLocation', class: Google::Apis::WorkloadmanagerV1::SpannerLocation, decorator: Google::Apis::WorkloadmanagerV1::SpannerLocation::Representation
|
636
644
|
|
637
645
|
end
|
@@ -662,6 +670,13 @@ module Google
|
|
662
670
|
end
|
663
671
|
end
|
664
672
|
|
673
|
+
class PlacerLocation
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
property :placer_config, as: 'placerConfig'
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
665
680
|
class RegionalMigDistributionPolicy
|
666
681
|
# @private
|
667
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -752,6 +767,8 @@ module Google
|
|
752
767
|
|
753
768
|
collection :ha_hosts, as: 'haHosts'
|
754
769
|
property :host_project, as: 'hostProject'
|
770
|
+
collection :replication_sites, as: 'replicationSites', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent::Representation
|
771
|
+
|
755
772
|
collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource::Representation
|
756
773
|
|
757
774
|
property :sid, as: 'sid'
|
@@ -254,7 +254,7 @@ module Google
|
|
254
254
|
# @param [String] parent
|
255
255
|
# Required. Parent value for ListEvaluationsRequest
|
256
256
|
# @param [String] filter
|
257
|
-
#
|
257
|
+
# Filter to be applied when listing the evaluation results.
|
258
258
|
# @param [String] order_by
|
259
259
|
# Hint for how to order the results
|
260
260
|
# @param [Fixnum] page_size
|
@@ -443,7 +443,7 @@ module Google
|
|
443
443
|
execute_or_queue_command(command, &block)
|
444
444
|
end
|
445
445
|
|
446
|
-
#
|
446
|
+
# Lists the result of a single evaluation.
|
447
447
|
# @param [String] parent
|
448
448
|
# Required. The execution results. Format: `parent`/evaluations/*/executions/*/
|
449
449
|
# results
|
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.21.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: 2024-
|
11
|
+
date: 2024-06-23 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.21.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: []
|