google-apis-apphub_v1alpha 0.8.0 → 0.9.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: b4d3d5532c9d28fdb54221204fd64665ff4656d24ab1ca8b38291c678aafbe98
4
- data.tar.gz: 17447ead7d4449e11906e251ee2b4516204c47d4e9e11f8bacfa74e1f0a931e3
3
+ metadata.gz: 2247e7a6f02dc9aae7991c323da537cd5bd484caa0e7b6d16b12bba7f996fae7
4
+ data.tar.gz: e9663a3fb7e4be536aaef132da15d0e1194c49df5595593f85a2feaaaa8f4f7e
5
5
  SHA512:
6
- metadata.gz: 4384c1478b1251087a67c47daafe372a6211ff6bab24037afa5667af210a58a617b88ca8a13532a95c8c21033e8c75433b864d82254fd81d66dc93c6091031c8
7
- data.tar.gz: d18c180e0b0a99a7c1f9dde79a6c4966d7cafe7ce2eae1cdd96581b3207706db832558f9af0b13d0ce1c5dd5e7e09c0db5fc1a6883aacada71462edeee205c44
6
+ metadata.gz: 5912915c2f29547a4343ea0272359666fa371a599871aa05f9863ba343424f6e6c6f5189049df373be107c9d1ede8a3afed780507b95a12908bf35d028ac8032
7
+ data.tar.gz: d1c68e5087544a4c5342960f279d0f950773af29d5331f1f78639c5f91d7a45b90ff4a8f92f43c9741f8cfa25727a2d04986f0547c4aae3a2a2efbf3602ed9ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apphub_v1alpha
2
2
 
3
+ ### v0.9.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241008
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.8.0 (2024-05-19)
4
9
 
5
10
  * Regenerated using generator version 0.15.0
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module ApphubV1alpha
24
24
 
25
- # Application defines the governance boundary for App Hub Entities that perform
25
+ # Application defines the governance boundary for App Hub entities that perform
26
26
  # a logical end-to-end business function. App Hub supports application level IAM
27
27
  # permission to align with governance requirements.
28
28
  class Application
@@ -50,8 +50,8 @@ module Google
50
50
  # @return [String]
51
51
  attr_accessor :display_name
52
52
 
53
- # Identifier. The resource name of an Application. Format: "projects/`host-
54
- # project-id`/locations/`location`/applications/`application-id`"
53
+ # Identifier. The resource name of an Application. Format: `"projects/`host-
54
+ # project-id`/locations/`location`/applications/`application-id`"`
55
55
  # Corresponds to the JSON property `name`
56
56
  # @return [String]
57
57
  attr_accessor :name
@@ -95,6 +95,53 @@ module Google
95
95
  end
96
96
  end
97
97
 
98
+ # Provides the mapping of a cloud asset to a direct physical location or to a
99
+ # proxy that defines the location on its behalf.
100
+ class AssetLocation
101
+ include Google::Apis::Core::Hashable
102
+
103
+ # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
104
+ # that use CCFE RMS for storing resource metadata.
105
+ # Corresponds to the JSON property `ccfeRmsPath`
106
+ # @return [String]
107
+ attr_accessor :ccfe_rms_path
108
+
109
+ # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
110
+ # of the region at the time of asset creation.
111
+ # Corresponds to the JSON property `expected`
112
+ # @return [Google::Apis::ApphubV1alpha::IsolationExpectations]
113
+ attr_accessor :expected
114
+
115
+ # Defines extra parameters required for specific asset types.
116
+ # Corresponds to the JSON property `extraParameters`
117
+ # @return [Array<Google::Apis::ApphubV1alpha::ExtraParameter>]
118
+ attr_accessor :extra_parameters
119
+
120
+ # Contains all kinds of physical location definitions for this asset.
121
+ # Corresponds to the JSON property `locationData`
122
+ # @return [Array<Google::Apis::ApphubV1alpha::LocationData>]
123
+ attr_accessor :location_data
124
+
125
+ # Defines parents assets if any in order to allow later generation of
126
+ # child_asset_location data via child assets.
127
+ # Corresponds to the JSON property `parentAsset`
128
+ # @return [Array<Google::Apis::ApphubV1alpha::CloudAsset>]
129
+ attr_accessor :parent_asset
130
+
131
+ def initialize(**args)
132
+ update!(**args)
133
+ end
134
+
135
+ # Update properties of this object
136
+ def update!(**args)
137
+ @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
138
+ @expected = args[:expected] if args.key?(:expected)
139
+ @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
140
+ @location_data = args[:location_data] if args.key?(:location_data)
141
+ @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
142
+ end
143
+ end
144
+
98
145
  # Consumer provided attributes.
99
146
  class Attributes
100
147
  include Google::Apis::Core::Hashable
@@ -310,6 +357,26 @@ module Google
310
357
  end
311
358
  end
312
359
 
360
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
361
+ # guide#data-metadata-placement-and-failure-domains
362
+ class BlobstoreLocation
363
+ include Google::Apis::Core::Hashable
364
+
365
+ #
366
+ # Corresponds to the JSON property `policyId`
367
+ # @return [Array<String>]
368
+ attr_accessor :policy_id
369
+
370
+ def initialize(**args)
371
+ update!(**args)
372
+ end
373
+
374
+ # Update properties of this object
375
+ def update!(**args)
376
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
377
+ end
378
+ end
379
+
313
380
  # The request message for Operations.CancelOperation.
314
381
  class CancelOperationRequest
315
382
  include Google::Apis::Core::Hashable
@@ -342,6 +409,50 @@ module Google
342
409
  end
343
410
  end
344
411
 
412
+ #
413
+ class CloudAsset
414
+ include Google::Apis::Core::Hashable
415
+
416
+ #
417
+ # Corresponds to the JSON property `assetName`
418
+ # @return [String]
419
+ attr_accessor :asset_name
420
+
421
+ #
422
+ # Corresponds to the JSON property `assetType`
423
+ # @return [String]
424
+ attr_accessor :asset_type
425
+
426
+ def initialize(**args)
427
+ update!(**args)
428
+ end
429
+
430
+ # Update properties of this object
431
+ def update!(**args)
432
+ @asset_name = args[:asset_name] if args.key?(:asset_name)
433
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
434
+ end
435
+ end
436
+
437
+ #
438
+ class CloudAssetComposition
439
+ include Google::Apis::Core::Hashable
440
+
441
+ #
442
+ # Corresponds to the JSON property `childAsset`
443
+ # @return [Array<Google::Apis::ApphubV1alpha::CloudAsset>]
444
+ attr_accessor :child_asset
445
+
446
+ def initialize(**args)
447
+ update!(**args)
448
+ end
449
+
450
+ # Update properties of this object
451
+ def update!(**args)
452
+ @child_asset = args[:child_asset] if args.key?(:child_asset)
453
+ end
454
+ end
455
+
345
456
  # Contact information of stakeholders.
346
457
  class ContactInfo
347
458
  include Google::Apis::Core::Hashable
@@ -434,14 +545,33 @@ module Google
434
545
  end
435
546
  end
436
547
 
437
- # DiscoveredService is a network/api interface that exposes some functionality
438
- # to clients for consumption over the network. A discovered service can be
439
- # registered to a App Hub service.
548
+ #
549
+ class DirectLocationAssignment
550
+ include Google::Apis::Core::Hashable
551
+
552
+ #
553
+ # Corresponds to the JSON property `location`
554
+ # @return [Array<Google::Apis::ApphubV1alpha::LocationAssignment>]
555
+ attr_accessor :location
556
+
557
+ def initialize(**args)
558
+ update!(**args)
559
+ end
560
+
561
+ # Update properties of this object
562
+ def update!(**args)
563
+ @location = args[:location] if args.key?(:location)
564
+ end
565
+ end
566
+
567
+ # DiscoveredService is a network or API interface that exposes some
568
+ # functionality to clients for consumption over the network. A discovered
569
+ # service can be registered to a App Hub service.
440
570
  class DiscoveredService
441
571
  include Google::Apis::Core::Hashable
442
572
 
443
- # Identifier. The resource name of the discovered service. Format: "projects/`
444
- # host-project-id`/locations/`location`/discoveredServices/`uuid`""
573
+ # Identifier. The resource name of the discovered service. Format: `"projects/`
574
+ # host-project-id`/locations/`location`/discoveredServices/`uuid`"`
445
575
  # Corresponds to the JSON property `name`
446
576
  # @return [String]
447
577
  attr_accessor :name
@@ -475,8 +605,8 @@ module Google
475
605
  class DiscoveredWorkload
476
606
  include Google::Apis::Core::Hashable
477
607
 
478
- # Identifier. The resource name of the discovered workload. Format: "projects/`
479
- # host-project-id`/locations/`location`/discoveredWorkloads/`uuid`"
608
+ # Identifier. The resource name of the discovered workload. Format: `"projects/`
609
+ # host-project-id`/locations/`location`/discoveredWorkloads/`uuid`"`
480
610
  # Corresponds to the JSON property `name`
481
611
  # @return [String]
482
612
  attr_accessor :name
@@ -600,6 +730,26 @@ module Google
600
730
  end
601
731
  end
602
732
 
733
+ # Defines parameters that should only be used for specific asset types.
734
+ class ExtraParameter
735
+ include Google::Apis::Core::Hashable
736
+
737
+ # To be used for specifying the intended distribution of regional compute.
738
+ # googleapis.com/InstanceGroupManager instances
739
+ # Corresponds to the JSON property `regionalMigDistributionPolicy`
740
+ # @return [Google::Apis::ApphubV1alpha::RegionalMigDistributionPolicy]
741
+ attr_accessor :regional_mig_distribution_policy
742
+
743
+ def initialize(**args)
744
+ update!(**args)
745
+ end
746
+
747
+ # Update properties of this object
748
+ def update!(**args)
749
+ @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
750
+ end
751
+ end
752
+
603
753
  # Response for FindUnregisteredServices.
604
754
  class FindUnregisteredServicesResponse
605
755
  include Google::Apis::Core::Hashable
@@ -662,6 +812,70 @@ module Google
662
812
  end
663
813
  end
664
814
 
815
+ #
816
+ class IsolationExpectations
817
+ include Google::Apis::Core::Hashable
818
+
819
+ # Explicit overrides for ZI and ZS requirements to be used for resources that
820
+ # should be excluded from ZI/ZS verification logic.
821
+ # Corresponds to the JSON property `requirementOverride`
822
+ # @return [Google::Apis::ApphubV1alpha::RequirementOverride]
823
+ attr_accessor :requirement_override
824
+
825
+ #
826
+ # Corresponds to the JSON property `ziOrgPolicy`
827
+ # @return [String]
828
+ attr_accessor :zi_org_policy
829
+
830
+ #
831
+ # Corresponds to the JSON property `ziRegionPolicy`
832
+ # @return [String]
833
+ attr_accessor :zi_region_policy
834
+
835
+ #
836
+ # Corresponds to the JSON property `ziRegionState`
837
+ # @return [String]
838
+ attr_accessor :zi_region_state
839
+
840
+ # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
841
+ # for setting ZI expectations as per go/zicy-publish-physical-location.
842
+ # Corresponds to the JSON property `zoneIsolation`
843
+ # @return [String]
844
+ attr_accessor :zone_isolation
845
+
846
+ # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
847
+ # expectations as per go/zicy-publish-physical-location.
848
+ # Corresponds to the JSON property `zoneSeparation`
849
+ # @return [String]
850
+ attr_accessor :zone_separation
851
+
852
+ #
853
+ # Corresponds to the JSON property `zsOrgPolicy`
854
+ # @return [String]
855
+ attr_accessor :zs_org_policy
856
+
857
+ #
858
+ # Corresponds to the JSON property `zsRegionState`
859
+ # @return [String]
860
+ attr_accessor :zs_region_state
861
+
862
+ def initialize(**args)
863
+ update!(**args)
864
+ end
865
+
866
+ # Update properties of this object
867
+ def update!(**args)
868
+ @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
869
+ @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
870
+ @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
871
+ @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
872
+ @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
873
+ @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
874
+ @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
875
+ @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
876
+ end
877
+ end
878
+
665
879
  # Response for ListApplications.
666
880
  class ListApplicationsResponse
667
881
  include Google::Apis::Core::Hashable
@@ -945,13 +1159,89 @@ module Google
945
1159
  end
946
1160
  end
947
1161
 
1162
+ #
1163
+ class LocationAssignment
1164
+ include Google::Apis::Core::Hashable
1165
+
1166
+ #
1167
+ # Corresponds to the JSON property `location`
1168
+ # @return [String]
1169
+ attr_accessor :location
1170
+
1171
+ #
1172
+ # Corresponds to the JSON property `locationType`
1173
+ # @return [String]
1174
+ attr_accessor :location_type
1175
+
1176
+ def initialize(**args)
1177
+ update!(**args)
1178
+ end
1179
+
1180
+ # Update properties of this object
1181
+ def update!(**args)
1182
+ @location = args[:location] if args.key?(:location)
1183
+ @location_type = args[:location_type] if args.key?(:location_type)
1184
+ end
1185
+ end
1186
+
1187
+ #
1188
+ class LocationData
1189
+ include Google::Apis::Core::Hashable
1190
+
1191
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
1192
+ # guide#data-metadata-placement-and-failure-domains
1193
+ # Corresponds to the JSON property `blobstoreLocation`
1194
+ # @return [Google::Apis::ApphubV1alpha::BlobstoreLocation]
1195
+ attr_accessor :blobstore_location
1196
+
1197
+ #
1198
+ # Corresponds to the JSON property `childAssetLocation`
1199
+ # @return [Google::Apis::ApphubV1alpha::CloudAssetComposition]
1200
+ attr_accessor :child_asset_location
1201
+
1202
+ #
1203
+ # Corresponds to the JSON property `directLocation`
1204
+ # @return [Google::Apis::ApphubV1alpha::DirectLocationAssignment]
1205
+ attr_accessor :direct_location
1206
+
1207
+ #
1208
+ # Corresponds to the JSON property `gcpProjectProxy`
1209
+ # @return [Google::Apis::ApphubV1alpha::TenantProjectProxy]
1210
+ attr_accessor :gcp_project_proxy
1211
+
1212
+ # Message describing that the location of the customer resource is tied to
1213
+ # placer allocations
1214
+ # Corresponds to the JSON property `placerLocation`
1215
+ # @return [Google::Apis::ApphubV1alpha::PlacerLocation]
1216
+ attr_accessor :placer_location
1217
+
1218
+ #
1219
+ # Corresponds to the JSON property `spannerLocation`
1220
+ # @return [Google::Apis::ApphubV1alpha::SpannerLocation]
1221
+ attr_accessor :spanner_location
1222
+
1223
+ def initialize(**args)
1224
+ update!(**args)
1225
+ end
1226
+
1227
+ # Update properties of this object
1228
+ def update!(**args)
1229
+ @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
1230
+ @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
1231
+ @direct_location = args[:direct_location] if args.key?(:direct_location)
1232
+ @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
1233
+ @placer_location = args[:placer_location] if args.key?(:placer_location)
1234
+ @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
1235
+ end
1236
+ end
1237
+
948
1238
  # Response for LookupDiscoveredService.
949
1239
  class LookupDiscoveredServiceResponse
950
1240
  include Google::Apis::Core::Hashable
951
1241
 
952
- # DiscoveredService is a network/api interface that exposes some functionality
953
- # to clients for consumption over the network. A discovered service can be
954
- # registered to a App Hub service.
1242
+ # DiscoveredService is a network or API interface that exposes some
1243
+ # functionality to clients for consumption over the network. A discovered
1244
+ # service can be registered to a App Hub service.
955
1245
  # Corresponds to the JSON property `discoveredService`
956
1246
  # @return [Google::Apis::ApphubV1alpha::DiscoveredService]
957
1247
  attr_accessor :discovered_service
@@ -1132,6 +1422,27 @@ module Google
1132
1422
  end
1133
1423
  end
1134
1424
 
1425
+ # Message describing that the location of the customer resource is tied to
1426
+ # placer allocations
1427
+ class PlacerLocation
1428
+ include Google::Apis::Core::Hashable
1429
+
1430
+ # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
1431
+ # root/my-dir")
1432
+ # Corresponds to the JSON property `placerConfig`
1433
+ # @return [String]
1434
+ attr_accessor :placer_config
1435
+
1436
+ def initialize(**args)
1437
+ update!(**args)
1438
+ end
1439
+
1440
+ # Update properties of this object
1441
+ def update!(**args)
1442
+ @placer_config = args[:placer_config] if args.key?(:placer_config)
1443
+ end
1444
+ end
1445
+
1135
1446
  # An Identity and Access Management (IAM) policy, which specifies access
1136
1447
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1137
1448
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -1227,6 +1538,58 @@ module Google
1227
1538
  end
1228
1539
  end
1229
1540
 
1541
+ # To be used for specifying the intended distribution of regional compute.
1542
+ # googleapis.com/InstanceGroupManager instances
1543
+ class RegionalMigDistributionPolicy
1544
+ include Google::Apis::Core::Hashable
1545
+
1546
+ # The shape in which the group converges around distribution of resources.
1547
+ # Instance of proto2 enum
1548
+ # Corresponds to the JSON property `targetShape`
1549
+ # @return [Fixnum]
1550
+ attr_accessor :target_shape
1551
+
1552
+ # Cloud zones used by regional MIG to create instances.
1553
+ # Corresponds to the JSON property `zones`
1554
+ # @return [Array<Google::Apis::ApphubV1alpha::ZoneConfiguration>]
1555
+ attr_accessor :zones
1556
+
1557
+ def initialize(**args)
1558
+ update!(**args)
1559
+ end
1560
+
1561
+ # Update properties of this object
1562
+ def update!(**args)
1563
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
1564
+ @zones = args[:zones] if args.key?(:zones)
1565
+ end
1566
+ end
1567
+
1568
+ #
1569
+ class RequirementOverride
1570
+ include Google::Apis::Core::Hashable
1571
+
1572
+ #
1573
+ # Corresponds to the JSON property `ziOverride`
1574
+ # @return [String]
1575
+ attr_accessor :zi_override
1576
+
1577
+ #
1578
+ # Corresponds to the JSON property `zsOverride`
1579
+ # @return [String]
1580
+ attr_accessor :zs_override
1581
+
1582
+ def initialize(**args)
1583
+ update!(**args)
1584
+ end
1585
+
1586
+ # Update properties of this object
1587
+ def update!(**args)
1588
+ @zi_override = args[:zi_override] if args.key?(:zi_override)
1589
+ @zs_override = args[:zs_override] if args.key?(:zs_override)
1590
+ end
1591
+ end
1592
+
1230
1593
  # Scope of an application.
1231
1594
  class Scope
1232
1595
  include Google::Apis::Core::Hashable
@@ -1247,8 +1610,8 @@ module Google
1247
1610
  end
1248
1611
 
1249
1612
  # Service is an App Hub data model that contains a discovered service, which
1250
- # represents a network/api interface that exposes some functionality to clients
1251
- # for consumption over the network.
1613
+ # represents a network or API interface that exposes some functionality to
1614
+ # clients for consumption over the network.
1252
1615
  class Service
1253
1616
  include Google::Apis::Core::Hashable
1254
1617
 
@@ -1279,8 +1642,8 @@ module Google
1279
1642
  # @return [String]
1280
1643
  attr_accessor :display_name
1281
1644
 
1282
- # Identifier. The resource name of a Service. Format: "projects/`host-project-id`
1283
- # /locations/`location`/applications/`application-id`/services/`service-id`"
1645
+ # Identifier. The resource name of a Service. Format: `"projects/`host-project-
1646
+ # id`/locations/`location`/applications/`application-id`/services/`service-id`"`
1284
1647
  # Corresponds to the JSON property `name`
1285
1648
  # @return [String]
1286
1649
  attr_accessor :name
@@ -1344,15 +1707,15 @@ module Google
1344
1707
  # @return [String]
1345
1708
  attr_accessor :create_time
1346
1709
 
1347
- # Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/
1348
- # `host-project-id`/locations/global/serviceProjectAttachments/`service-project-
1349
- # id`."
1710
+ # Identifier. The resource name of a ServiceProjectAttachment. Format: `"
1711
+ # projects/`host-project-id`/locations/global/serviceProjectAttachments/`service-
1712
+ # project-id`."`
1350
1713
  # Corresponds to the JSON property `name`
1351
1714
  # @return [String]
1352
1715
  attr_accessor :name
1353
1716
 
1354
- # Required. Immutable. Service project name in the format: "projects/abc" or "
1355
- # projects/123". As input, project name with either project id or number are
1717
+ # Required. Immutable. Service project name in the format: `"projects/abc"` or `"
1718
+ # projects/123"`. As input, project name with either project id or number are
1356
1719
  # accepted. As output, this field will contain project number.
1357
1720
  # Corresponds to the JSON property `serviceProject`
1358
1721
  # @return [String]
@@ -1428,8 +1791,8 @@ module Google
1428
1791
  # @return [String]
1429
1792
  attr_accessor :path
1430
1793
 
1431
- # Output only. The underlying resource URI (For example, URI of Forwarding Rule,
1432
- # URL Map, and Backend Service).
1794
+ # Output only. The underlying resource URI. For example, URI of Forwarding Rule,
1795
+ # URL Map, and Backend Service.
1433
1796
  # Corresponds to the JSON property `uri`
1434
1797
  # @return [String]
1435
1798
  attr_accessor :uri
@@ -1498,6 +1861,32 @@ module Google
1498
1861
  end
1499
1862
  end
1500
1863
 
1864
+ #
1865
+ class SpannerLocation
1866
+ include Google::Apis::Core::Hashable
1867
+
1868
+ # Set of backups used by the resource with name in the same format as what is
1869
+ # available at http://table/spanner_automon.backup_metadata
1870
+ # Corresponds to the JSON property `backupName`
1871
+ # @return [Array<String>]
1872
+ attr_accessor :backup_name
1873
+
1874
+ # Set of databases used by the resource in format /span//
1875
+ # Corresponds to the JSON property `dbName`
1876
+ # @return [Array<String>]
1877
+ attr_accessor :db_name
1878
+
1879
+ def initialize(**args)
1880
+ update!(**args)
1881
+ end
1882
+
1883
+ # Update properties of this object
1884
+ def update!(**args)
1885
+ @backup_name = args[:backup_name] if args.key?(:backup_name)
1886
+ @db_name = args[:db_name] if args.key?(:db_name)
1887
+ end
1888
+ end
1889
+
1501
1890
  # The `Status` type defines a logical error model that is suitable for different
1502
1891
  # programming environments, including REST APIs and RPC APIs. It is used by [
1503
1892
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1537,6 +1926,25 @@ module Google
1537
1926
  end
1538
1927
  end
1539
1928
 
1929
+ #
1930
+ class TenantProjectProxy
1931
+ include Google::Apis::Core::Hashable
1932
+
1933
+ #
1934
+ # Corresponds to the JSON property `projectNumbers`
1935
+ # @return [Array<String>]
1936
+ attr_accessor :project_numbers
1937
+
1938
+ def initialize(**args)
1939
+ update!(**args)
1940
+ end
1941
+
1942
+ # Update properties of this object
1943
+ def update!(**args)
1944
+ @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
1945
+ end
1946
+ end
1947
+
1540
1948
  # Request message for `TestIamPermissions` method.
1541
1949
  class TestIamPermissionsRequest
1542
1950
  include Google::Apis::Core::Hashable
@@ -1611,8 +2019,9 @@ module Google
1611
2019
  # @return [String]
1612
2020
  attr_accessor :display_name
1613
2021
 
1614
- # Identifier. The resource name of the Workload. Format: "projects/`host-project-
1615
- # id`/locations/`location`/applications/`application-id`/workloads/`workload-id`"
2022
+ # Identifier. The resource name of the Workload. Format: `"projects/`host-
2023
+ # project-id`/locations/`location`/applications/`application-id`/workloads/`
2024
+ # workload-id`"`
1616
2025
  # Corresponds to the JSON property `name`
1617
2026
  # @return [String]
1618
2027
  attr_accessor :name
@@ -1668,19 +2077,19 @@ module Google
1668
2077
  include Google::Apis::Core::Hashable
1669
2078
 
1670
2079
  # Output only. The service project identifier that the underlying cloud resource
1671
- # resides in. Empty for non cloud resources.
2080
+ # resides in. Empty for non-cloud resources.
1672
2081
  # Corresponds to the JSON property `gcpProject`
1673
2082
  # @return [String]
1674
2083
  attr_accessor :gcp_project
1675
2084
 
1676
- # Output only. The location that the underlying compute resource resides in (e.g
1677
- # us-west1).
2085
+ # Output only. The location that the underlying compute resource resides in (for
2086
+ # example, us-west1).
1678
2087
  # Corresponds to the JSON property `location`
1679
2088
  # @return [String]
1680
2089
  attr_accessor :location
1681
2090
 
1682
2091
  # Output only. The location that the underlying compute resource resides in if
1683
- # it is zonal (e.g us-west1-a).
2092
+ # it is zonal (for example, us-west1-a).
1684
2093
  # Corresponds to the JSON property `zone`
1685
2094
  # @return [String]
1686
2095
  attr_accessor :zone
@@ -1715,6 +2124,25 @@ module Google
1715
2124
  @uri = args[:uri] if args.key?(:uri)
1716
2125
  end
1717
2126
  end
2127
+
2128
+ #
2129
+ class ZoneConfiguration
2130
+ include Google::Apis::Core::Hashable
2131
+
2132
+ #
2133
+ # Corresponds to the JSON property `zone`
2134
+ # @return [String]
2135
+ attr_accessor :zone
2136
+
2137
+ def initialize(**args)
2138
+ update!(**args)
2139
+ end
2140
+
2141
+ # Update properties of this object
2142
+ def update!(**args)
2143
+ @zone = args[:zone] if args.key?(:zone)
2144
+ end
2145
+ end
1718
2146
  end
1719
2147
  end
1720
2148
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApphubV1alpha
18
18
  # Version of the google-apis-apphub_v1alpha gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240328"
25
+ REVISION = "20241008"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AssetLocation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Attributes
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -52,6 +58,12 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
61
+ class BlobstoreLocation
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class CancelOperationRequest
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -64,6 +76,18 @@ module Google
64
76
  include Google::Apis::Core::JsonObjectSupport
65
77
  end
66
78
 
79
+ class CloudAsset
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CloudAssetComposition
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class ContactInfo
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
@@ -88,6 +112,12 @@ module Google
88
112
  include Google::Apis::Core::JsonObjectSupport
89
113
  end
90
114
 
115
+ class DirectLocationAssignment
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
91
121
  class DiscoveredService
92
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
123
 
@@ -118,6 +148,12 @@ module Google
118
148
  include Google::Apis::Core::JsonObjectSupport
119
149
  end
120
150
 
151
+ class ExtraParameter
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
121
157
  class FindUnregisteredServicesResponse
122
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
159
 
@@ -130,6 +166,12 @@ module Google
130
166
  include Google::Apis::Core::JsonObjectSupport
131
167
  end
132
168
 
169
+ class IsolationExpectations
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
133
175
  class ListApplicationsResponse
134
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
177
 
@@ -184,6 +226,18 @@ module Google
184
226
  include Google::Apis::Core::JsonObjectSupport
185
227
  end
186
228
 
229
+ class LocationAssignment
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class LocationData
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
187
241
  class LookupDiscoveredServiceResponse
188
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
243
 
@@ -214,12 +268,30 @@ module Google
214
268
  include Google::Apis::Core::JsonObjectSupport
215
269
  end
216
270
 
271
+ class PlacerLocation
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
217
277
  class Policy
218
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
279
 
220
280
  include Google::Apis::Core::JsonObjectSupport
221
281
  end
222
282
 
283
+ class RegionalMigDistributionPolicy
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class RequirementOverride
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
223
295
  class Scope
224
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
297
 
@@ -256,12 +328,24 @@ module Google
256
328
  include Google::Apis::Core::JsonObjectSupport
257
329
  end
258
330
 
331
+ class SpannerLocation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
259
337
  class Status
260
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
339
 
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 TestIamPermissionsRequest
266
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
351
 
@@ -292,6 +376,12 @@ module Google
292
376
  include Google::Apis::Core::JsonObjectSupport
293
377
  end
294
378
 
379
+ class ZoneConfiguration
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
295
385
  class Application
296
386
  # @private
297
387
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -309,6 +399,21 @@ module Google
309
399
  end
310
400
  end
311
401
 
402
+ class AssetLocation
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :ccfe_rms_path, as: 'ccfeRmsPath'
406
+ property :expected, as: 'expected', class: Google::Apis::ApphubV1alpha::IsolationExpectations, decorator: Google::Apis::ApphubV1alpha::IsolationExpectations::Representation
407
+
408
+ collection :extra_parameters, as: 'extraParameters', class: Google::Apis::ApphubV1alpha::ExtraParameter, decorator: Google::Apis::ApphubV1alpha::ExtraParameter::Representation
409
+
410
+ collection :location_data, as: 'locationData', class: Google::Apis::ApphubV1alpha::LocationData, decorator: Google::Apis::ApphubV1alpha::LocationData::Representation
411
+
412
+ collection :parent_asset, as: 'parentAsset', class: Google::Apis::ApphubV1alpha::CloudAsset, decorator: Google::Apis::ApphubV1alpha::CloudAsset::Representation
413
+
414
+ end
415
+ end
416
+
312
417
  class Attributes
313
418
  # @private
314
419
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +457,13 @@ module Google
352
457
  end
353
458
  end
354
459
 
460
+ class BlobstoreLocation
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ collection :policy_id, as: 'policyId'
464
+ end
465
+ end
466
+
355
467
  class CancelOperationRequest
356
468
  # @private
357
469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +477,22 @@ module Google
365
477
  end
366
478
  end
367
479
 
480
+ class CloudAsset
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :asset_name, as: 'assetName'
484
+ property :asset_type, as: 'assetType'
485
+ end
486
+ end
487
+
488
+ class CloudAssetComposition
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ collection :child_asset, as: 'childAsset', class: Google::Apis::ApphubV1alpha::CloudAsset, decorator: Google::Apis::ApphubV1alpha::CloudAsset::Representation
492
+
493
+ end
494
+ end
495
+
368
496
  class ContactInfo
369
497
  # @private
370
498
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +524,14 @@ module Google
396
524
  end
397
525
  end
398
526
 
527
+ class DirectLocationAssignment
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ collection :location, as: 'location', class: Google::Apis::ApphubV1alpha::LocationAssignment, decorator: Google::Apis::ApphubV1alpha::LocationAssignment::Representation
531
+
532
+ end
533
+ end
534
+
399
535
  class DiscoveredService
400
536
  # @private
401
537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -442,6 +578,14 @@ module Google
442
578
  end
443
579
  end
444
580
 
581
+ class ExtraParameter
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::ApphubV1alpha::RegionalMigDistributionPolicy, decorator: Google::Apis::ApphubV1alpha::RegionalMigDistributionPolicy::Representation
585
+
586
+ end
587
+ end
588
+
445
589
  class FindUnregisteredServicesResponse
446
590
  # @private
447
591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -462,6 +606,21 @@ module Google
462
606
  end
463
607
  end
464
608
 
609
+ class IsolationExpectations
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :requirement_override, as: 'requirementOverride', class: Google::Apis::ApphubV1alpha::RequirementOverride, decorator: Google::Apis::ApphubV1alpha::RequirementOverride::Representation
613
+
614
+ property :zi_org_policy, as: 'ziOrgPolicy'
615
+ property :zi_region_policy, as: 'ziRegionPolicy'
616
+ property :zi_region_state, as: 'ziRegionState'
617
+ property :zone_isolation, as: 'zoneIsolation'
618
+ property :zone_separation, as: 'zoneSeparation'
619
+ property :zs_org_policy, as: 'zsOrgPolicy'
620
+ property :zs_region_state, as: 'zsRegionState'
621
+ end
622
+ end
623
+
465
624
  class ListApplicationsResponse
466
625
  # @private
467
626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -551,6 +710,32 @@ module Google
551
710
  end
552
711
  end
553
712
 
713
+ class LocationAssignment
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :location, as: 'location'
717
+ property :location_type, as: 'locationType'
718
+ end
719
+ end
720
+
721
+ class LocationData
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::ApphubV1alpha::BlobstoreLocation, decorator: Google::Apis::ApphubV1alpha::BlobstoreLocation::Representation
725
+
726
+ property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::ApphubV1alpha::CloudAssetComposition, decorator: Google::Apis::ApphubV1alpha::CloudAssetComposition::Representation
727
+
728
+ property :direct_location, as: 'directLocation', class: Google::Apis::ApphubV1alpha::DirectLocationAssignment, decorator: Google::Apis::ApphubV1alpha::DirectLocationAssignment::Representation
729
+
730
+ property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::ApphubV1alpha::TenantProjectProxy, decorator: Google::Apis::ApphubV1alpha::TenantProjectProxy::Representation
731
+
732
+ property :placer_location, as: 'placerLocation', class: Google::Apis::ApphubV1alpha::PlacerLocation, decorator: Google::Apis::ApphubV1alpha::PlacerLocation::Representation
733
+
734
+ property :spanner_location, as: 'spannerLocation', class: Google::Apis::ApphubV1alpha::SpannerLocation, decorator: Google::Apis::ApphubV1alpha::SpannerLocation::Representation
735
+
736
+ end
737
+ end
738
+
554
739
  class LookupDiscoveredServiceResponse
555
740
  # @private
556
741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -600,6 +785,13 @@ module Google
600
785
  end
601
786
  end
602
787
 
788
+ class PlacerLocation
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :placer_config, as: 'placerConfig'
792
+ end
793
+ end
794
+
603
795
  class Policy
604
796
  # @private
605
797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -612,6 +804,23 @@ module Google
612
804
  end
613
805
  end
614
806
 
807
+ class RegionalMigDistributionPolicy
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :target_shape, as: 'targetShape'
811
+ collection :zones, as: 'zones', class: Google::Apis::ApphubV1alpha::ZoneConfiguration, decorator: Google::Apis::ApphubV1alpha::ZoneConfiguration::Representation
812
+
813
+ end
814
+ end
815
+
816
+ class RequirementOverride
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :zi_override, as: 'ziOverride'
820
+ property :zs_override, as: 'zsOverride'
821
+ end
822
+ end
823
+
615
824
  class Scope
616
825
  # @private
617
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +885,14 @@ module Google
676
885
  end
677
886
  end
678
887
 
888
+ class SpannerLocation
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ collection :backup_name, as: 'backupName'
892
+ collection :db_name, as: 'dbName'
893
+ end
894
+ end
895
+
679
896
  class Status
680
897
  # @private
681
898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -685,6 +902,13 @@ module Google
685
902
  end
686
903
  end
687
904
 
905
+ class TenantProjectProxy
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ collection :project_numbers, as: 'projectNumbers'
909
+ end
910
+ end
911
+
688
912
  class TestIamPermissionsRequest
689
913
  # @private
690
914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -734,6 +958,13 @@ module Google
734
958
  property :uri, as: 'uri'
735
959
  end
736
960
  end
961
+
962
+ class ZoneConfiguration
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :zone, as: 'zone'
966
+ end
967
+ end
737
968
  end
738
969
  end
739
970
  end
@@ -410,8 +410,8 @@ module Google
410
410
 
411
411
  # Updates an Application in a host project and location.
412
412
  # @param [String] name
413
- # Identifier. The resource name of an Application. Format: "projects/`host-
414
- # project-id`/locations/`location`/applications/`application-id`"
413
+ # Identifier. The resource name of an Application. Format: `"projects/`host-
414
+ # project-id`/locations/`location`/applications/`application-id`"`
415
415
  # @param [Google::Apis::ApphubV1alpha::Application] application_object
416
416
  # @param [String] request_id
417
417
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -714,8 +714,8 @@ module Google
714
714
 
715
715
  # Updates a Service in an Application.
716
716
  # @param [String] name
717
- # Identifier. The resource name of a Service. Format: "projects/`host-project-id`
718
- # /locations/`location`/applications/`application-id`/services/`service-id`"
717
+ # Identifier. The resource name of a Service. Format: `"projects/`host-project-
718
+ # id`/locations/`location`/applications/`application-id`/services/`service-id`"`
719
719
  # @param [Google::Apis::ApphubV1alpha::Service] service_object
720
720
  # @param [String] request_id
721
721
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -942,8 +942,9 @@ module Google
942
942
 
943
943
  # Updates a Workload in an Application.
944
944
  # @param [String] name
945
- # Identifier. The resource name of the Workload. Format: "projects/`host-project-
946
- # id`/locations/`location`/applications/`application-id`/workloads/`workload-id`"
945
+ # Identifier. The resource name of the Workload. Format: `"projects/`host-
946
+ # project-id`/locations/`location`/applications/`application-id`/workloads/`
947
+ # workload-id`"`
947
948
  # @param [Google::Apis::ApphubV1alpha::Workload] workload_object
948
949
  # @param [String] request_id
949
950
  # Optional. An optional request ID to identify requests. Specify a unique
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apphub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-12-04 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-apphub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1alpha
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.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Hub API V1alpha