google-apis-workloadmanager_v1 0.18.0 → 0.20.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: 4f1fb3587ae04d51ceb88e3796461657e32ed84a49f68f072e9ba3d002379046
4
- data.tar.gz: 7f7e6f67e4f8ca057272e1235ab6470055cd332bd1ec8e1f7eddbb74b3f7b2e8
3
+ metadata.gz: 1df0d391f7fd7aa7168ea0c6bdd6a528fe53afec075eccb18234528f5577a941
4
+ data.tar.gz: 610937da242de6cac6fd514d387deab409d21124ce9aacdefc09557001fab674
5
5
  SHA512:
6
- metadata.gz: 671f37367a6f963897e1f449ef99f2638db8ed9b260e4e253decfcdfa95a397291dd3db4260b455833964ce5a25f7277cf9be75a00dfb8621fe49443151c01c0
7
- data.tar.gz: 1131ec0063556a6ff739d078a854b41a99f5c9a91d1819d24ce741510df83afe5d7ee4f08d17599bf462f82cb4eb2aff97322567877dd867bc535964a5df62f3
6
+ metadata.gz: bfa1d807ccca89900e1e82c281231f8e64debab508e5b4974d40b9ceca2394a71de5eaf1718b8b8bfd7484ed614a54fbd76e0c07e4329b06983607fd7524c2df
7
+ data.tar.gz: 8f4a1f1f58538e6b3537243c9f6036251de99fa1b8abb231a1d7ee354ff4d23a774c78db6d493d0da4edb8684067f077eef7de87ab7cf5d55d9c6f5b263d6ec7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.20.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240501
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.19.0 (2024-03-24)
9
+
10
+ * Regenerated from discovery document revision 20240322
11
+
3
12
  ### v0.18.0 (2024-03-17)
4
13
 
5
14
  * Regenerated from discovery document revision 20240306
@@ -22,6 +22,46 @@ module Google
22
22
  module Apis
23
23
  module WorkloadmanagerV1
24
24
 
25
+ # Provides the mapping of a cloud asset to a direct physical location or to a
26
+ # proxy that defines the location on its behalf.
27
+ class AssetLocation
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
31
+ # of the region at the time of asset creation.
32
+ # Corresponds to the JSON property `expected`
33
+ # @return [Google::Apis::WorkloadmanagerV1::IsolationExpectations]
34
+ attr_accessor :expected
35
+
36
+ # Defines extra parameters required for specific asset types.
37
+ # Corresponds to the JSON property `extraParameters`
38
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ExtraParameter>]
39
+ attr_accessor :extra_parameters
40
+
41
+ # Contains all kinds of physical location definitions for this asset.
42
+ # Corresponds to the JSON property `locationData`
43
+ # @return [Array<Google::Apis::WorkloadmanagerV1::LocationData>]
44
+ attr_accessor :location_data
45
+
46
+ # Defines parents assets if any in order to allow later generation of
47
+ # child_asset_location data via child assets.
48
+ # Corresponds to the JSON property `parentAsset`
49
+ # @return [Array<Google::Apis::WorkloadmanagerV1::CloudAsset>]
50
+ attr_accessor :parent_asset
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @expected = args[:expected] if args.key?(:expected)
59
+ @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
60
+ @location_data = args[:location_data] if args.key?(:location_data)
61
+ @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
62
+ end
63
+ end
64
+
25
65
  # Message describing big query destination
26
66
  class BigQueryDestination
27
67
  include Google::Apis::Core::Hashable
@@ -48,6 +88,26 @@ module Google
48
88
  end
49
89
  end
50
90
 
91
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
92
+ # guide#data-metadata-placement-and-failure-domains
93
+ class BlobstoreLocation
94
+ include Google::Apis::Core::Hashable
95
+
96
+ #
97
+ # Corresponds to the JSON property `policyId`
98
+ # @return [Array<String>]
99
+ attr_accessor :policy_id
100
+
101
+ def initialize(**args)
102
+ update!(**args)
103
+ end
104
+
105
+ # Update properties of this object
106
+ def update!(**args)
107
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
108
+ end
109
+ end
110
+
51
111
  # The request message for Operations.CancelOperation.
52
112
  class CancelOperationRequest
53
113
  include Google::Apis::Core::Hashable
@@ -61,6 +121,69 @@ module Google
61
121
  end
62
122
  end
63
123
 
124
+ #
125
+ class CloudAsset
126
+ include Google::Apis::Core::Hashable
127
+
128
+ #
129
+ # Corresponds to the JSON property `assetName`
130
+ # @return [String]
131
+ attr_accessor :asset_name
132
+
133
+ #
134
+ # Corresponds to the JSON property `assetType`
135
+ # @return [String]
136
+ attr_accessor :asset_type
137
+
138
+ def initialize(**args)
139
+ update!(**args)
140
+ end
141
+
142
+ # Update properties of this object
143
+ def update!(**args)
144
+ @asset_name = args[:asset_name] if args.key?(:asset_name)
145
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
146
+ end
147
+ end
148
+
149
+ #
150
+ class CloudAssetComposition
151
+ include Google::Apis::Core::Hashable
152
+
153
+ #
154
+ # Corresponds to the JSON property `childAsset`
155
+ # @return [Array<Google::Apis::WorkloadmanagerV1::CloudAsset>]
156
+ attr_accessor :child_asset
157
+
158
+ def initialize(**args)
159
+ update!(**args)
160
+ end
161
+
162
+ # Update properties of this object
163
+ def update!(**args)
164
+ @child_asset = args[:child_asset] if args.key?(:child_asset)
165
+ end
166
+ end
167
+
168
+ #
169
+ class DirectLocationAssignment
170
+ include Google::Apis::Core::Hashable
171
+
172
+ #
173
+ # Corresponds to the JSON property `location`
174
+ # @return [Array<Google::Apis::WorkloadmanagerV1::LocationAssignment>]
175
+ attr_accessor :location
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ @location = args[:location] if args.key?(:location)
184
+ end
185
+ end
186
+
64
187
  # A generic empty message that you can re-use to avoid defining duplicated empty
65
188
  # messages in your APIs. A typical example is to use it as the request or the
66
189
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -179,6 +302,11 @@ module Google
179
302
  # @return [String]
180
303
  attr_accessor :evaluation_id
181
304
 
305
+ # Optional. External data sources
306
+ # Corresponds to the JSON property `externalDataSources`
307
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ExternalDataSources>]
308
+ attr_accessor :external_data_sources
309
+
182
310
  # Output only. [Output only] Inventory time stamp
183
311
  # Corresponds to the JSON property `inventoryTime`
184
312
  # @return [String]
@@ -219,6 +347,7 @@ module Google
219
347
  def update!(**args)
220
348
  @end_time = args[:end_time] if args.key?(:end_time)
221
349
  @evaluation_id = args[:evaluation_id] if args.key?(:evaluation_id)
350
+ @external_data_sources = args[:external_data_sources] if args.key?(:external_data_sources)
222
351
  @inventory_time = args[:inventory_time] if args.key?(:inventory_time)
223
352
  @labels = args[:labels] if args.key?(:labels)
224
353
  @name = args[:name] if args.key?(:name)
@@ -277,6 +406,59 @@ module Google
277
406
  end
278
407
  end
279
408
 
409
+ # Message for external data sources
410
+ class ExternalDataSources
411
+ include Google::Apis::Core::Hashable
412
+
413
+ # Required. Name of external data source. The name will be used inside the rego/
414
+ # sql to refer the external data
415
+ # Corresponds to the JSON property `name`
416
+ # @return [String]
417
+ attr_accessor :name
418
+
419
+ # Required. Type of external data source
420
+ # Corresponds to the JSON property `type`
421
+ # @return [String]
422
+ attr_accessor :type
423
+
424
+ # Required. URI of external data source. example of bq table `project_ID`.`
425
+ # dataset_ID`.`table_ID`
426
+ # Corresponds to the JSON property `uri`
427
+ # @return [String]
428
+ attr_accessor :uri
429
+
430
+ def initialize(**args)
431
+ update!(**args)
432
+ end
433
+
434
+ # Update properties of this object
435
+ def update!(**args)
436
+ @name = args[:name] if args.key?(:name)
437
+ @type = args[:type] if args.key?(:type)
438
+ @uri = args[:uri] if args.key?(:uri)
439
+ end
440
+ end
441
+
442
+ # Defines parameters that should only be used for specific asset types.
443
+ class ExtraParameter
444
+ include Google::Apis::Core::Hashable
445
+
446
+ # To be used for specifying the intended distribution of regional compute.
447
+ # googleapis.com/InstanceGroupManager instances
448
+ # Corresponds to the JSON property `regionalMigDistributionPolicy`
449
+ # @return [Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy]
450
+ attr_accessor :regional_mig_distribution_policy
451
+
452
+ def initialize(**args)
453
+ update!(**args)
454
+ end
455
+
456
+ # Update properties of this object
457
+ def update!(**args)
458
+ @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
459
+ end
460
+ end
461
+
280
462
  # Message describing compute engine instance filter
281
463
  class GceInstanceFilter
282
464
  include Google::Apis::Core::Hashable
@@ -341,6 +523,63 @@ module Google
341
523
  end
342
524
  end
343
525
 
526
+ #
527
+ class IsolationExpectations
528
+ include Google::Apis::Core::Hashable
529
+
530
+ #
531
+ # Corresponds to the JSON property `ziOrgPolicy`
532
+ # @return [String]
533
+ attr_accessor :zi_org_policy
534
+
535
+ #
536
+ # Corresponds to the JSON property `ziRegionPolicy`
537
+ # @return [String]
538
+ attr_accessor :zi_region_policy
539
+
540
+ #
541
+ # Corresponds to the JSON property `ziRegionState`
542
+ # @return [String]
543
+ attr_accessor :zi_region_state
544
+
545
+ # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
546
+ # for setting ZI expectations as per go/zicy-publish-physical-location.
547
+ # Corresponds to the JSON property `zoneIsolation`
548
+ # @return [String]
549
+ attr_accessor :zone_isolation
550
+
551
+ # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
552
+ # expectations as per go/zicy-publish-physical-location.
553
+ # Corresponds to the JSON property `zoneSeparation`
554
+ # @return [String]
555
+ attr_accessor :zone_separation
556
+
557
+ #
558
+ # Corresponds to the JSON property `zsOrgPolicy`
559
+ # @return [String]
560
+ attr_accessor :zs_org_policy
561
+
562
+ #
563
+ # Corresponds to the JSON property `zsRegionState`
564
+ # @return [String]
565
+ attr_accessor :zs_region_state
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
574
+ @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
575
+ @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
576
+ @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
577
+ @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
578
+ @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
579
+ @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
580
+ end
581
+ end
582
+
344
583
  # Message for response to listing Evaluations
345
584
  class ListEvaluationsResponse
346
585
  include Google::Apis::Core::Hashable
@@ -577,6 +816,75 @@ module Google
577
816
  end
578
817
  end
579
818
 
819
+ #
820
+ class LocationAssignment
821
+ include Google::Apis::Core::Hashable
822
+
823
+ #
824
+ # Corresponds to the JSON property `location`
825
+ # @return [String]
826
+ attr_accessor :location
827
+
828
+ #
829
+ # Corresponds to the JSON property `locationType`
830
+ # @return [String]
831
+ attr_accessor :location_type
832
+
833
+ def initialize(**args)
834
+ update!(**args)
835
+ end
836
+
837
+ # Update properties of this object
838
+ def update!(**args)
839
+ @location = args[:location] if args.key?(:location)
840
+ @location_type = args[:location_type] if args.key?(:location_type)
841
+ end
842
+ end
843
+
844
+ #
845
+ class LocationData
846
+ include Google::Apis::Core::Hashable
847
+
848
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
849
+ # guide#data-metadata-placement-and-failure-domains
850
+ # Corresponds to the JSON property `blobstoreLocation`
851
+ # @return [Google::Apis::WorkloadmanagerV1::BlobstoreLocation]
852
+ attr_accessor :blobstore_location
853
+
854
+ #
855
+ # Corresponds to the JSON property `childAssetLocation`
856
+ # @return [Google::Apis::WorkloadmanagerV1::CloudAssetComposition]
857
+ attr_accessor :child_asset_location
858
+
859
+ #
860
+ # Corresponds to the JSON property `directLocation`
861
+ # @return [Google::Apis::WorkloadmanagerV1::DirectLocationAssignment]
862
+ attr_accessor :direct_location
863
+
864
+ #
865
+ # Corresponds to the JSON property `gcpProjectProxy`
866
+ # @return [Google::Apis::WorkloadmanagerV1::TenantProjectProxy]
867
+ attr_accessor :gcp_project_proxy
868
+
869
+ #
870
+ # Corresponds to the JSON property `spannerLocation`
871
+ # @return [Google::Apis::WorkloadmanagerV1::SpannerLocation]
872
+ attr_accessor :spanner_location
873
+
874
+ def initialize(**args)
875
+ update!(**args)
876
+ end
877
+
878
+ # Update properties of this object
879
+ def update!(**args)
880
+ @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
881
+ @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
882
+ @direct_location = args[:direct_location] if args.key?(:direct_location)
883
+ @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
884
+ @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
885
+ end
886
+ end
887
+
580
888
  # This resource represents a long-running operation that is the result of a
581
889
  # network API call.
582
890
  class Operation
@@ -698,6 +1006,33 @@ module Google
698
1006
  end
699
1007
  end
700
1008
 
1009
+ # To be used for specifying the intended distribution of regional compute.
1010
+ # googleapis.com/InstanceGroupManager instances
1011
+ class RegionalMigDistributionPolicy
1012
+ include Google::Apis::Core::Hashable
1013
+
1014
+ # The shape in which the group converges around distribution of resources.
1015
+ # Instance of proto2 enum
1016
+ # Corresponds to the JSON property `targetShape`
1017
+ # @return [Fixnum]
1018
+ attr_accessor :target_shape
1019
+
1020
+ # Cloud zones used by regional MIG to create instances.
1021
+ # Corresponds to the JSON property `zones`
1022
+ # @return [Array<Google::Apis::WorkloadmanagerV1::ZoneConfiguration>]
1023
+ attr_accessor :zones
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
1032
+ @zones = args[:zones] if args.key?(:zones)
1033
+ end
1034
+ end
1035
+
701
1036
  # Message represent resource in execution result
702
1037
  class Resource
703
1038
  include Google::Apis::Core::Hashable
@@ -1035,20 +1370,30 @@ module Google
1035
1370
  attr_accessor :abap
1036
1371
  alias_method :abap?, :abap
1037
1372
 
1373
+ # Optional. Instance number of the SAP application instance.
1374
+ # Corresponds to the JSON property `appInstanceNumber`
1375
+ # @return [String]
1376
+ attr_accessor :app_instance_number
1377
+
1038
1378
  # Required. Type of the application. Netweaver, etc.
1039
1379
  # Corresponds to the JSON property `applicationType`
1040
1380
  # @return [String]
1041
1381
  attr_accessor :application_type
1042
1382
 
1383
+ # Optional. Instance number of the ASCS instance.
1384
+ # Corresponds to the JSON property `ascsInstanceNumber`
1385
+ # @return [String]
1386
+ attr_accessor :ascs_instance_number
1387
+
1043
1388
  # Optional. Resource URI of the recognized ASCS host of the application.
1044
1389
  # Corresponds to the JSON property `ascsUri`
1045
1390
  # @return [String]
1046
1391
  attr_accessor :ascs_uri
1047
1392
 
1048
- # Optional. Instance number of the SAP instance.
1049
- # Corresponds to the JSON property `instanceNumber`
1393
+ # Optional. Instance number of the ERS instance.
1394
+ # Corresponds to the JSON property `ersInstanceNumber`
1050
1395
  # @return [String]
1051
- attr_accessor :instance_number
1396
+ attr_accessor :ers_instance_number
1052
1397
 
1053
1398
  # Optional. Kernel version for Netweaver running in the system.
1054
1399
  # Corresponds to the JSON property `kernelVersion`
@@ -1068,9 +1413,11 @@ module Google
1068
1413
  # Update properties of this object
1069
1414
  def update!(**args)
1070
1415
  @abap = args[:abap] if args.key?(:abap)
1416
+ @app_instance_number = args[:app_instance_number] if args.key?(:app_instance_number)
1071
1417
  @application_type = args[:application_type] if args.key?(:application_type)
1418
+ @ascs_instance_number = args[:ascs_instance_number] if args.key?(:ascs_instance_number)
1072
1419
  @ascs_uri = args[:ascs_uri] if args.key?(:ascs_uri)
1073
- @instance_number = args[:instance_number] if args.key?(:instance_number)
1420
+ @ers_instance_number = args[:ers_instance_number] if args.key?(:ers_instance_number)
1074
1421
  @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
1075
1422
  @nfs_uri = args[:nfs_uri] if args.key?(:nfs_uri)
1076
1423
  end
@@ -1080,6 +1427,11 @@ module Google
1080
1427
  class SapDiscoveryComponentDatabaseProperties
1081
1428
  include Google::Apis::Core::Hashable
1082
1429
 
1430
+ # Optional. SID of the system database.
1431
+ # Corresponds to the JSON property `databaseSid`
1432
+ # @return [String]
1433
+ attr_accessor :database_sid
1434
+
1083
1435
  # Required. Type of the database. HANA, DB2, etc.
1084
1436
  # Corresponds to the JSON property `databaseType`
1085
1437
  # @return [String]
@@ -1112,6 +1464,7 @@ module Google
1112
1464
 
1113
1465
  # Update properties of this object
1114
1466
  def update!(**args)
1467
+ @database_sid = args[:database_sid] if args.key?(:database_sid)
1115
1468
  @database_type = args[:database_type] if args.key?(:database_type)
1116
1469
  @database_version = args[:database_version] if args.key?(:database_version)
1117
1470
  @instance_number = args[:instance_number] if args.key?(:instance_number)
@@ -1212,11 +1565,26 @@ module Google
1212
1565
  class SapDiscoveryResourceInstanceProperties
1213
1566
  include Google::Apis::Core::Hashable
1214
1567
 
1568
+ # Optional. App server instances on the host
1569
+ # Corresponds to the JSON property `appInstances`
1570
+ # @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance>]
1571
+ attr_accessor :app_instances
1572
+
1215
1573
  # Optional. A list of instance URIs that are part of a cluster with this one.
1216
1574
  # Corresponds to the JSON property `clusterInstances`
1217
1575
  # @return [Array<String>]
1218
1576
  attr_accessor :cluster_instances
1219
1577
 
1578
+ # Optional. The VM's instance number.
1579
+ # Corresponds to the JSON property `instanceNumber`
1580
+ # @return [Fixnum]
1581
+ attr_accessor :instance_number
1582
+
1583
+ # Optional. Bitmask of instance role, a resource may have multiple roles at once.
1584
+ # Corresponds to the JSON property `instanceRole`
1585
+ # @return [String]
1586
+ attr_accessor :instance_role
1587
+
1220
1588
  # Optional. A virtual hostname of the instance if it has one.
1221
1589
  # Corresponds to the JSON property `virtualHostname`
1222
1590
  # @return [String]
@@ -1228,11 +1596,39 @@ module Google
1228
1596
 
1229
1597
  # Update properties of this object
1230
1598
  def update!(**args)
1599
+ @app_instances = args[:app_instances] if args.key?(:app_instances)
1231
1600
  @cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
1601
+ @instance_number = args[:instance_number] if args.key?(:instance_number)
1602
+ @instance_role = args[:instance_role] if args.key?(:instance_role)
1232
1603
  @virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
1233
1604
  end
1234
1605
  end
1235
1606
 
1607
+ # Fields to describe an SAP application server instance.
1608
+ class SapDiscoveryResourceInstancePropertiesAppInstance
1609
+ include Google::Apis::Core::Hashable
1610
+
1611
+ # Optional. Instance name of the SAP application instance.
1612
+ # Corresponds to the JSON property `name`
1613
+ # @return [String]
1614
+ attr_accessor :name
1615
+
1616
+ # Optional. Instance number of the SAP application instance.
1617
+ # Corresponds to the JSON property `number`
1618
+ # @return [String]
1619
+ attr_accessor :number
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @name = args[:name] if args.key?(:name)
1628
+ @number = args[:number] if args.key?(:number)
1629
+ end
1630
+ end
1631
+
1236
1632
  # A set of properties describing an SAP workload.
1237
1633
  class SapDiscoveryWorkloadProperties
1238
1634
  include Google::Apis::Core::Hashable
@@ -1410,6 +1806,25 @@ module Google
1410
1806
  end
1411
1807
  end
1412
1808
 
1809
+ #
1810
+ class SpannerLocation
1811
+ include Google::Apis::Core::Hashable
1812
+
1813
+ #
1814
+ # Corresponds to the JSON property `dbName`
1815
+ # @return [Array<String>]
1816
+ attr_accessor :db_name
1817
+
1818
+ def initialize(**args)
1819
+ update!(**args)
1820
+ end
1821
+
1822
+ # Update properties of this object
1823
+ def update!(**args)
1824
+ @db_name = args[:db_name] if args.key?(:db_name)
1825
+ end
1826
+ end
1827
+
1413
1828
  # A presentation of SQLServer workload insight. The schema of SqlServer
1414
1829
  # workloads validation related data.
1415
1830
  class SqlserverValidation
@@ -1533,6 +1948,25 @@ module Google
1533
1948
  end
1534
1949
  end
1535
1950
 
1951
+ #
1952
+ class TenantProjectProxy
1953
+ include Google::Apis::Core::Hashable
1954
+
1955
+ #
1956
+ # Corresponds to the JSON property `projectNumbers`
1957
+ # @return [Array<String>]
1958
+ attr_accessor :project_numbers
1959
+
1960
+ def initialize(**args)
1961
+ update!(**args)
1962
+ end
1963
+
1964
+ # Update properties of this object
1965
+ def update!(**args)
1966
+ @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
1967
+ end
1968
+ end
1969
+
1536
1970
  # Message describing the violdation in execution result
1537
1971
  class ViolationDetails
1538
1972
  include Google::Apis::Core::Hashable
@@ -1616,6 +2050,25 @@ module Google
1616
2050
  def update!(**args)
1617
2051
  end
1618
2052
  end
2053
+
2054
+ #
2055
+ class ZoneConfiguration
2056
+ include Google::Apis::Core::Hashable
2057
+
2058
+ #
2059
+ # Corresponds to the JSON property `zone`
2060
+ # @return [String]
2061
+ attr_accessor :zone
2062
+
2063
+ def initialize(**args)
2064
+ update!(**args)
2065
+ end
2066
+
2067
+ # Update properties of this object
2068
+ def update!(**args)
2069
+ @zone = args[:zone] if args.key?(:zone)
2070
+ end
2071
+ end
1619
2072
  end
1620
2073
  end
1621
2074
  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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240306"
25
+ REVISION = "20240501"
26
26
  end
27
27
  end
28
28
  end
@@ -22,18 +22,48 @@ module Google
22
22
  module Apis
23
23
  module WorkloadmanagerV1
24
24
 
25
+ class AssetLocation
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class BigQueryDestination
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
28
34
  include Google::Apis::Core::JsonObjectSupport
29
35
  end
30
36
 
37
+ class BlobstoreLocation
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class CancelOperationRequest
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
34
46
  include Google::Apis::Core::JsonObjectSupport
35
47
  end
36
48
 
49
+ class CloudAsset
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CloudAssetComposition
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DirectLocationAssignment
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
37
67
  class Empty
38
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
69
 
@@ -58,6 +88,18 @@ module Google
58
88
  include Google::Apis::Core::JsonObjectSupport
59
89
  end
60
90
 
91
+ class ExternalDataSources
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ExtraParameter
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
61
103
  class GceInstanceFilter
62
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
105
 
@@ -70,6 +112,12 @@ module Google
70
112
  include Google::Apis::Core::JsonObjectSupport
71
113
  end
72
114
 
115
+ class IsolationExpectations
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
73
121
  class ListEvaluationsResponse
74
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
123
 
@@ -118,6 +166,18 @@ module Google
118
166
  include Google::Apis::Core::JsonObjectSupport
119
167
  end
120
168
 
169
+ class LocationAssignment
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class LocationData
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
121
181
  class Operation
122
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
183
 
@@ -130,6 +190,12 @@ module Google
130
190
  include Google::Apis::Core::JsonObjectSupport
131
191
  end
132
192
 
193
+ class RegionalMigDistributionPolicy
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
133
199
  class Resource
134
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
201
 
@@ -202,6 +268,12 @@ module Google
202
268
  include Google::Apis::Core::JsonObjectSupport
203
269
  end
204
270
 
271
+ class SapDiscoveryResourceInstancePropertiesAppInstance
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
205
277
  class SapDiscoveryWorkloadProperties
206
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
279
 
@@ -238,6 +310,12 @@ module Google
238
310
  include Google::Apis::Core::JsonObjectSupport
239
311
  end
240
312
 
313
+ class SpannerLocation
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
241
319
  class SqlserverValidation
242
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
321
 
@@ -262,6 +340,12 @@ module Google
262
340
  include Google::Apis::Core::JsonObjectSupport
263
341
  end
264
342
 
343
+ class TenantProjectProxy
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
265
349
  class ViolationDetails
266
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
351
 
@@ -280,6 +364,26 @@ module Google
280
364
  include Google::Apis::Core::JsonObjectSupport
281
365
  end
282
366
 
367
+ class ZoneConfiguration
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class AssetLocation
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :expected, as: 'expected', class: Google::Apis::WorkloadmanagerV1::IsolationExpectations, decorator: Google::Apis::WorkloadmanagerV1::IsolationExpectations::Representation
377
+
378
+ collection :extra_parameters, as: 'extraParameters', class: Google::Apis::WorkloadmanagerV1::ExtraParameter, decorator: Google::Apis::WorkloadmanagerV1::ExtraParameter::Representation
379
+
380
+ collection :location_data, as: 'locationData', class: Google::Apis::WorkloadmanagerV1::LocationData, decorator: Google::Apis::WorkloadmanagerV1::LocationData::Representation
381
+
382
+ collection :parent_asset, as: 'parentAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
383
+
384
+ end
385
+ end
386
+
283
387
  class BigQueryDestination
284
388
  # @private
285
389
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -288,12 +392,43 @@ module Google
288
392
  end
289
393
  end
290
394
 
395
+ class BlobstoreLocation
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :policy_id, as: 'policyId'
399
+ end
400
+ end
401
+
291
402
  class CancelOperationRequest
292
403
  # @private
293
404
  class Representation < Google::Apis::Core::JsonRepresentation
294
405
  end
295
406
  end
296
407
 
408
+ class CloudAsset
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ property :asset_name, as: 'assetName'
412
+ property :asset_type, as: 'assetType'
413
+ end
414
+ end
415
+
416
+ class CloudAssetComposition
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ collection :child_asset, as: 'childAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
420
+
421
+ end
422
+ end
423
+
424
+ class DirectLocationAssignment
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ collection :location, as: 'location', class: Google::Apis::WorkloadmanagerV1::LocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::LocationAssignment::Representation
428
+
429
+ end
430
+ end
431
+
297
432
  class Empty
298
433
  # @private
299
434
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -326,6 +461,8 @@ module Google
326
461
  class Representation < Google::Apis::Core::JsonRepresentation
327
462
  property :end_time, as: 'endTime'
328
463
  property :evaluation_id, as: 'evaluationId'
464
+ collection :external_data_sources, as: 'externalDataSources', class: Google::Apis::WorkloadmanagerV1::ExternalDataSources, decorator: Google::Apis::WorkloadmanagerV1::ExternalDataSources::Representation
465
+
329
466
  property :inventory_time, as: 'inventoryTime'
330
467
  hash :labels, as: 'labels'
331
468
  property :name, as: 'name'
@@ -349,6 +486,23 @@ module Google
349
486
  end
350
487
  end
351
488
 
489
+ class ExternalDataSources
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :name, as: 'name'
493
+ property :type, as: 'type'
494
+ property :uri, as: 'uri'
495
+ end
496
+ end
497
+
498
+ class ExtraParameter
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy, decorator: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy::Representation
502
+
503
+ end
504
+ end
505
+
352
506
  class GceInstanceFilter
353
507
  # @private
354
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -370,6 +524,19 @@ module Google
370
524
  end
371
525
  end
372
526
 
527
+ class IsolationExpectations
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :zi_org_policy, as: 'ziOrgPolicy'
531
+ property :zi_region_policy, as: 'ziRegionPolicy'
532
+ property :zi_region_state, as: 'ziRegionState'
533
+ property :zone_isolation, as: 'zoneIsolation'
534
+ property :zone_separation, as: 'zoneSeparation'
535
+ property :zs_org_policy, as: 'zsOrgPolicy'
536
+ property :zs_region_state, as: 'zsRegionState'
537
+ end
538
+ end
539
+
373
540
  class ListEvaluationsResponse
374
541
  # @private
375
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -446,6 +613,30 @@ module Google
446
613
  end
447
614
  end
448
615
 
616
+ class LocationAssignment
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :location, as: 'location'
620
+ property :location_type, as: 'locationType'
621
+ end
622
+ end
623
+
624
+ class LocationData
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::WorkloadmanagerV1::BlobstoreLocation, decorator: Google::Apis::WorkloadmanagerV1::BlobstoreLocation::Representation
628
+
629
+ property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::WorkloadmanagerV1::CloudAssetComposition, decorator: Google::Apis::WorkloadmanagerV1::CloudAssetComposition::Representation
630
+
631
+ property :direct_location, as: 'directLocation', class: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment::Representation
632
+
633
+ property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy, decorator: Google::Apis::WorkloadmanagerV1::TenantProjectProxy::Representation
634
+
635
+ property :spanner_location, as: 'spannerLocation', class: Google::Apis::WorkloadmanagerV1::SpannerLocation, decorator: Google::Apis::WorkloadmanagerV1::SpannerLocation::Representation
636
+
637
+ end
638
+ end
639
+
449
640
  class Operation
450
641
  # @private
451
642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -471,6 +662,15 @@ module Google
471
662
  end
472
663
  end
473
664
 
665
+ class RegionalMigDistributionPolicy
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :target_shape, as: 'targetShape'
669
+ collection :zones, as: 'zones', class: Google::Apis::WorkloadmanagerV1::ZoneConfiguration, decorator: Google::Apis::WorkloadmanagerV1::ZoneConfiguration::Representation
670
+
671
+ end
672
+ end
673
+
474
674
  class Resource
475
675
  # @private
476
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -563,9 +763,11 @@ module Google
563
763
  # @private
564
764
  class Representation < Google::Apis::Core::JsonRepresentation
565
765
  property :abap, as: 'abap'
766
+ property :app_instance_number, as: 'appInstanceNumber'
566
767
  property :application_type, as: 'applicationType'
768
+ property :ascs_instance_number, as: 'ascsInstanceNumber'
567
769
  property :ascs_uri, as: 'ascsUri'
568
- property :instance_number, as: 'instanceNumber'
770
+ property :ers_instance_number, as: 'ersInstanceNumber'
569
771
  property :kernel_version, as: 'kernelVersion'
570
772
  property :nfs_uri, as: 'nfsUri'
571
773
  end
@@ -574,6 +776,7 @@ module Google
574
776
  class SapDiscoveryComponentDatabaseProperties
575
777
  # @private
576
778
  class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :database_sid, as: 'databaseSid'
577
780
  property :database_type, as: 'databaseType'
578
781
  property :database_version, as: 'databaseVersion'
579
782
  property :instance_number, as: 'instanceNumber'
@@ -608,11 +811,23 @@ module Google
608
811
  class SapDiscoveryResourceInstanceProperties
609
812
  # @private
610
813
  class Representation < Google::Apis::Core::JsonRepresentation
814
+ collection :app_instances, as: 'appInstances', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance::Representation
815
+
611
816
  collection :cluster_instances, as: 'clusterInstances'
817
+ property :instance_number, :numeric_string => true, as: 'instanceNumber'
818
+ property :instance_role, as: 'instanceRole'
612
819
  property :virtual_hostname, as: 'virtualHostname'
613
820
  end
614
821
  end
615
822
 
823
+ class SapDiscoveryResourceInstancePropertiesAppInstance
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :name, as: 'name'
827
+ property :number, as: 'number'
828
+ end
829
+ end
830
+
616
831
  class SapDiscoveryWorkloadProperties
617
832
  # @private
618
833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,6 +883,13 @@ module Google
668
883
  end
669
884
  end
670
885
 
886
+ class SpannerLocation
887
+ # @private
888
+ class Representation < Google::Apis::Core::JsonRepresentation
889
+ collection :db_name, as: 'dbName'
890
+ end
891
+ end
892
+
671
893
  class SqlserverValidation
672
894
  # @private
673
895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -704,6 +926,13 @@ module Google
704
926
  end
705
927
  end
706
928
 
929
+ class TenantProjectProxy
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ collection :project_numbers, as: 'projectNumbers'
933
+ end
934
+ end
935
+
707
936
  class ViolationDetails
708
937
  # @private
709
938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -728,6 +957,13 @@ module Google
728
957
  class Representation < Google::Apis::Core::JsonRepresentation
729
958
  end
730
959
  end
960
+
961
+ class ZoneConfiguration
962
+ # @private
963
+ class Representation < Google::Apis::Core::JsonRepresentation
964
+ property :zone, as: 'zone'
965
+ end
966
+ end
731
967
  end
732
968
  end
733
969
  end
@@ -178,6 +178,8 @@ module Google
178
178
  # Deletes a single Evaluation.
179
179
  # @param [String] name
180
180
  # Required. Name of the resource
181
+ # @param [Boolean] force
182
+ # Optional. Followed the best practice from https://aip.dev/135#cascading-delete
181
183
  # @param [String] request_id
182
184
  # Optional. An optional request ID to identify requests. Specify a unique
183
185
  # request ID so that if you must retry your request, the server will know to
@@ -206,11 +208,12 @@ module Google
206
208
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
207
209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
208
210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
209
- def delete_project_location_evaluation(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ def delete_project_location_evaluation(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
210
212
  command = make_simple_command(:delete, 'v1/{+name}', options)
211
213
  command.response_representation = Google::Apis::WorkloadmanagerV1::Operation::Representation
212
214
  command.response_class = Google::Apis::WorkloadmanagerV1::Operation
213
215
  command.params['name'] = name unless name.nil?
216
+ command.query['force'] = force unless force.nil?
214
217
  command.query['requestId'] = request_id unless request_id.nil?
215
218
  command.query['fields'] = fields unless fields.nil?
216
219
  command.query['quotaUser'] = quota_user unless quota_user.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.18.0
4
+ version: 0.20.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-03-17 00:00:00.000000000 Z
11
+ date: 2024-05-26 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.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.20.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: []