google-apis-apphub_v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af392885fa08fb17dc8f87f0237b662d61040b6cefdbd68259b0986ebfefe811
4
- data.tar.gz: 06f020dc69e25df12627ba754e417c5c9f7d702b52f83ff0ec23a2e9d569ef90
3
+ metadata.gz: cffcf7b6be0d8154da5fcbaf9c8de0cc8108d667fb44d69a60a79ea2c257b00a
4
+ data.tar.gz: 3999b1751dc3350b730ee0dc4ae899724373a3fe0a410efbf866684934d7d684
5
5
  SHA512:
6
- metadata.gz: 6835defb36be2afff3b7b03ba0bebf7f7f85a8859591b24385b3738ee5a77e8dcfba748dc596a4ea67af3a2deb6b54c86ed17e1cab1d5b67860bc13ab4dde745
7
- data.tar.gz: 4bccc5c1ac2f0607aae637645b4a01242b831e5a07fa9f5403a3e51f183b85e89a55e34c2187da559d47e831a770d3219cc770463dac741237c1edfb31d4979a
6
+ metadata.gz: 87bde98b120c8242b4b3d058e488e2e5073a1c4c8face4b2aa7dfbfe38ef81b3c08efd5b9db887867131263435e958d1c9ecc908e2e3a6d3e89951b77501749c
7
+ data.tar.gz: aab71699651a29ae5bad1349ad7220259ca10be1d97e3aace5dbe27935a233e2d812712688dfccac7d789c279d617e0a6ceb3f17372c3a56b683d520f5d588bc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-apphub_v1
2
2
 
3
+ ### v0.7.0 (2024-10-13)
4
+
5
+ * Regenerated from discovery document revision 20241008
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.6.0 (2024-05-19)
9
+
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.5.0 (2024-03-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20240307
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module ApphubV1
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::ApphubV1::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::ApphubV1::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::ApphubV1::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::ApphubV1::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
@@ -323,6 +390,50 @@ module Google
323
390
  end
324
391
  end
325
392
 
393
+ #
394
+ class CloudAsset
395
+ include Google::Apis::Core::Hashable
396
+
397
+ #
398
+ # Corresponds to the JSON property `assetName`
399
+ # @return [String]
400
+ attr_accessor :asset_name
401
+
402
+ #
403
+ # Corresponds to the JSON property `assetType`
404
+ # @return [String]
405
+ attr_accessor :asset_type
406
+
407
+ def initialize(**args)
408
+ update!(**args)
409
+ end
410
+
411
+ # Update properties of this object
412
+ def update!(**args)
413
+ @asset_name = args[:asset_name] if args.key?(:asset_name)
414
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
415
+ end
416
+ end
417
+
418
+ #
419
+ class CloudAssetComposition
420
+ include Google::Apis::Core::Hashable
421
+
422
+ #
423
+ # Corresponds to the JSON property `childAsset`
424
+ # @return [Array<Google::Apis::ApphubV1::CloudAsset>]
425
+ attr_accessor :child_asset
426
+
427
+ def initialize(**args)
428
+ update!(**args)
429
+ end
430
+
431
+ # Update properties of this object
432
+ def update!(**args)
433
+ @child_asset = args[:child_asset] if args.key?(:child_asset)
434
+ end
435
+ end
436
+
326
437
  # Contact information of stakeholders.
327
438
  class ContactInfo
328
439
  include Google::Apis::Core::Hashable
@@ -393,14 +504,33 @@ module Google
393
504
  end
394
505
  end
395
506
 
396
- # DiscoveredService is a network/api interface that exposes some functionality
397
- # to clients for consumption over the network. A discovered service can be
398
- # registered to a App Hub service.
507
+ #
508
+ class DirectLocationAssignment
509
+ include Google::Apis::Core::Hashable
510
+
511
+ #
512
+ # Corresponds to the JSON property `location`
513
+ # @return [Array<Google::Apis::ApphubV1::LocationAssignment>]
514
+ attr_accessor :location
515
+
516
+ def initialize(**args)
517
+ update!(**args)
518
+ end
519
+
520
+ # Update properties of this object
521
+ def update!(**args)
522
+ @location = args[:location] if args.key?(:location)
523
+ end
524
+ end
525
+
526
+ # DiscoveredService is a network or API interface that exposes some
527
+ # functionality to clients for consumption over the network. A discovered
528
+ # service can be registered to a App Hub service.
399
529
  class DiscoveredService
400
530
  include Google::Apis::Core::Hashable
401
531
 
402
- # Identifier. The resource name of the discovered service. Format: "projects/`
403
- # host-project-id`/locations/`location`/discoveredServices/`uuid`""
532
+ # Identifier. The resource name of the discovered service. Format: `"projects/`
533
+ # host-project-id`/locations/`location`/discoveredServices/`uuid`"`
404
534
  # Corresponds to the JSON property `name`
405
535
  # @return [String]
406
536
  attr_accessor :name
@@ -434,8 +564,8 @@ module Google
434
564
  class DiscoveredWorkload
435
565
  include Google::Apis::Core::Hashable
436
566
 
437
- # Identifier. The resource name of the discovered workload. Format: "projects/`
438
- # host-project-id`/locations/`location`/discoveredWorkloads/`uuid`"
567
+ # Identifier. The resource name of the discovered workload. Format: `"projects/`
568
+ # host-project-id`/locations/`location`/discoveredWorkloads/`uuid`"`
439
569
  # Corresponds to the JSON property `name`
440
570
  # @return [String]
441
571
  attr_accessor :name
@@ -551,6 +681,90 @@ module Google
551
681
  end
552
682
  end
553
683
 
684
+ # Defines parameters that should only be used for specific asset types.
685
+ class ExtraParameter
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # To be used for specifying the intended distribution of regional compute.
689
+ # googleapis.com/InstanceGroupManager instances
690
+ # Corresponds to the JSON property `regionalMigDistributionPolicy`
691
+ # @return [Google::Apis::ApphubV1::RegionalMigDistributionPolicy]
692
+ attr_accessor :regional_mig_distribution_policy
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
701
+ end
702
+ end
703
+
704
+ #
705
+ class IsolationExpectations
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # Explicit overrides for ZI and ZS requirements to be used for resources that
709
+ # should be excluded from ZI/ZS verification logic.
710
+ # Corresponds to the JSON property `requirementOverride`
711
+ # @return [Google::Apis::ApphubV1::RequirementOverride]
712
+ attr_accessor :requirement_override
713
+
714
+ #
715
+ # Corresponds to the JSON property `ziOrgPolicy`
716
+ # @return [String]
717
+ attr_accessor :zi_org_policy
718
+
719
+ #
720
+ # Corresponds to the JSON property `ziRegionPolicy`
721
+ # @return [String]
722
+ attr_accessor :zi_region_policy
723
+
724
+ #
725
+ # Corresponds to the JSON property `ziRegionState`
726
+ # @return [String]
727
+ attr_accessor :zi_region_state
728
+
729
+ # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
730
+ # for setting ZI expectations as per go/zicy-publish-physical-location.
731
+ # Corresponds to the JSON property `zoneIsolation`
732
+ # @return [String]
733
+ attr_accessor :zone_isolation
734
+
735
+ # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
736
+ # expectations as per go/zicy-publish-physical-location.
737
+ # Corresponds to the JSON property `zoneSeparation`
738
+ # @return [String]
739
+ attr_accessor :zone_separation
740
+
741
+ #
742
+ # Corresponds to the JSON property `zsOrgPolicy`
743
+ # @return [String]
744
+ attr_accessor :zs_org_policy
745
+
746
+ #
747
+ # Corresponds to the JSON property `zsRegionState`
748
+ # @return [String]
749
+ attr_accessor :zs_region_state
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
758
+ @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
759
+ @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
760
+ @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
761
+ @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
762
+ @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
763
+ @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
764
+ @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
765
+ end
766
+ end
767
+
554
768
  # Response for ListApplications.
555
769
  class ListApplicationsResponse
556
770
  include Google::Apis::Core::Hashable
@@ -834,13 +1048,89 @@ module Google
834
1048
  end
835
1049
  end
836
1050
 
1051
+ #
1052
+ class LocationAssignment
1053
+ include Google::Apis::Core::Hashable
1054
+
1055
+ #
1056
+ # Corresponds to the JSON property `location`
1057
+ # @return [String]
1058
+ attr_accessor :location
1059
+
1060
+ #
1061
+ # Corresponds to the JSON property `locationType`
1062
+ # @return [String]
1063
+ attr_accessor :location_type
1064
+
1065
+ def initialize(**args)
1066
+ update!(**args)
1067
+ end
1068
+
1069
+ # Update properties of this object
1070
+ def update!(**args)
1071
+ @location = args[:location] if args.key?(:location)
1072
+ @location_type = args[:location_type] if args.key?(:location_type)
1073
+ end
1074
+ end
1075
+
1076
+ #
1077
+ class LocationData
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
1081
+ # guide#data-metadata-placement-and-failure-domains
1082
+ # Corresponds to the JSON property `blobstoreLocation`
1083
+ # @return [Google::Apis::ApphubV1::BlobstoreLocation]
1084
+ attr_accessor :blobstore_location
1085
+
1086
+ #
1087
+ # Corresponds to the JSON property `childAssetLocation`
1088
+ # @return [Google::Apis::ApphubV1::CloudAssetComposition]
1089
+ attr_accessor :child_asset_location
1090
+
1091
+ #
1092
+ # Corresponds to the JSON property `directLocation`
1093
+ # @return [Google::Apis::ApphubV1::DirectLocationAssignment]
1094
+ attr_accessor :direct_location
1095
+
1096
+ #
1097
+ # Corresponds to the JSON property `gcpProjectProxy`
1098
+ # @return [Google::Apis::ApphubV1::TenantProjectProxy]
1099
+ attr_accessor :gcp_project_proxy
1100
+
1101
+ # Message describing that the location of the customer resource is tied to
1102
+ # placer allocations
1103
+ # Corresponds to the JSON property `placerLocation`
1104
+ # @return [Google::Apis::ApphubV1::PlacerLocation]
1105
+ attr_accessor :placer_location
1106
+
1107
+ #
1108
+ # Corresponds to the JSON property `spannerLocation`
1109
+ # @return [Google::Apis::ApphubV1::SpannerLocation]
1110
+ attr_accessor :spanner_location
1111
+
1112
+ def initialize(**args)
1113
+ update!(**args)
1114
+ end
1115
+
1116
+ # Update properties of this object
1117
+ def update!(**args)
1118
+ @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
1119
+ @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
1120
+ @direct_location = args[:direct_location] if args.key?(:direct_location)
1121
+ @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
1122
+ @placer_location = args[:placer_location] if args.key?(:placer_location)
1123
+ @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
1124
+ end
1125
+ end
1126
+
837
1127
  # Response for LookupDiscoveredService.
838
1128
  class LookupDiscoveredServiceResponse
839
1129
  include Google::Apis::Core::Hashable
840
1130
 
841
- # DiscoveredService is a network/api interface that exposes some functionality
842
- # to clients for consumption over the network. A discovered service can be
843
- # registered to a App Hub service.
1131
+ # DiscoveredService is a network or API interface that exposes some
1132
+ # functionality to clients for consumption over the network. A discovered
1133
+ # service can be registered to a App Hub service.
844
1134
  # Corresponds to the JSON property `discoveredService`
845
1135
  # @return [Google::Apis::ApphubV1::DiscoveredService]
846
1136
  attr_accessor :discovered_service
@@ -1021,6 +1311,27 @@ module Google
1021
1311
  end
1022
1312
  end
1023
1313
 
1314
+ # Message describing that the location of the customer resource is tied to
1315
+ # placer allocations
1316
+ class PlacerLocation
1317
+ include Google::Apis::Core::Hashable
1318
+
1319
+ # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
1320
+ # root/my-dir")
1321
+ # Corresponds to the JSON property `placerConfig`
1322
+ # @return [String]
1323
+ attr_accessor :placer_config
1324
+
1325
+ def initialize(**args)
1326
+ update!(**args)
1327
+ end
1328
+
1329
+ # Update properties of this object
1330
+ def update!(**args)
1331
+ @placer_config = args[:placer_config] if args.key?(:placer_config)
1332
+ end
1333
+ end
1334
+
1024
1335
  # An Identity and Access Management (IAM) policy, which specifies access
1025
1336
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1026
1337
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -1142,6 +1453,58 @@ module Google
1142
1453
  end
1143
1454
  end
1144
1455
 
1456
+ # To be used for specifying the intended distribution of regional compute.
1457
+ # googleapis.com/InstanceGroupManager instances
1458
+ class RegionalMigDistributionPolicy
1459
+ include Google::Apis::Core::Hashable
1460
+
1461
+ # The shape in which the group converges around distribution of resources.
1462
+ # Instance of proto2 enum
1463
+ # Corresponds to the JSON property `targetShape`
1464
+ # @return [Fixnum]
1465
+ attr_accessor :target_shape
1466
+
1467
+ # Cloud zones used by regional MIG to create instances.
1468
+ # Corresponds to the JSON property `zones`
1469
+ # @return [Array<Google::Apis::ApphubV1::ZoneConfiguration>]
1470
+ attr_accessor :zones
1471
+
1472
+ def initialize(**args)
1473
+ update!(**args)
1474
+ end
1475
+
1476
+ # Update properties of this object
1477
+ def update!(**args)
1478
+ @target_shape = args[:target_shape] if args.key?(:target_shape)
1479
+ @zones = args[:zones] if args.key?(:zones)
1480
+ end
1481
+ end
1482
+
1483
+ #
1484
+ class RequirementOverride
1485
+ include Google::Apis::Core::Hashable
1486
+
1487
+ #
1488
+ # Corresponds to the JSON property `ziOverride`
1489
+ # @return [String]
1490
+ attr_accessor :zi_override
1491
+
1492
+ #
1493
+ # Corresponds to the JSON property `zsOverride`
1494
+ # @return [String]
1495
+ attr_accessor :zs_override
1496
+
1497
+ def initialize(**args)
1498
+ update!(**args)
1499
+ end
1500
+
1501
+ # Update properties of this object
1502
+ def update!(**args)
1503
+ @zi_override = args[:zi_override] if args.key?(:zi_override)
1504
+ @zs_override = args[:zs_override] if args.key?(:zs_override)
1505
+ end
1506
+ end
1507
+
1145
1508
  # Scope of an application.
1146
1509
  class Scope
1147
1510
  include Google::Apis::Core::Hashable
@@ -1162,8 +1525,8 @@ module Google
1162
1525
  end
1163
1526
 
1164
1527
  # Service is an App Hub data model that contains a discovered service, which
1165
- # represents a network/api interface that exposes some functionality to clients
1166
- # for consumption over the network.
1528
+ # represents a network or API interface that exposes some functionality to
1529
+ # clients for consumption over the network.
1167
1530
  class Service
1168
1531
  include Google::Apis::Core::Hashable
1169
1532
 
@@ -1194,8 +1557,8 @@ module Google
1194
1557
  # @return [String]
1195
1558
  attr_accessor :display_name
1196
1559
 
1197
- # Identifier. The resource name of a Service. Format: "projects/`host-project-id`
1198
- # /locations/`location`/applications/`application-id`/services/`service-id`"
1560
+ # Identifier. The resource name of a Service. Format: `"projects/`host-project-
1561
+ # id`/locations/`location`/applications/`application-id`/services/`service-id`"`
1199
1562
  # Corresponds to the JSON property `name`
1200
1563
  # @return [String]
1201
1564
  attr_accessor :name
@@ -1259,15 +1622,15 @@ module Google
1259
1622
  # @return [String]
1260
1623
  attr_accessor :create_time
1261
1624
 
1262
- # Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/
1263
- # `host-project-id`/locations/global/serviceProjectAttachments/`service-project-
1264
- # id`."
1625
+ # Identifier. The resource name of a ServiceProjectAttachment. Format: `"
1626
+ # projects/`host-project-id`/locations/global/serviceProjectAttachments/`service-
1627
+ # project-id`."`
1265
1628
  # Corresponds to the JSON property `name`
1266
1629
  # @return [String]
1267
1630
  attr_accessor :name
1268
1631
 
1269
- # Required. Immutable. Service project name in the format: "projects/abc" or "
1270
- # projects/123". As input, project name with either project id or number are
1632
+ # Required. Immutable. Service project name in the format: `"projects/abc"` or `"
1633
+ # projects/123"`. As input, project name with either project id or number are
1271
1634
  # accepted. As output, this field will contain project number.
1272
1635
  # Corresponds to the JSON property `serviceProject`
1273
1636
  # @return [String]
@@ -1336,8 +1699,8 @@ module Google
1336
1699
  class ServiceReference
1337
1700
  include Google::Apis::Core::Hashable
1338
1701
 
1339
- # Output only. The underlying resource URI (For example, URI of Forwarding Rule,
1340
- # URL Map, and Backend Service).
1702
+ # Output only. The underlying resource URI. For example, URI of Forwarding Rule,
1703
+ # URL Map, and Backend Service.
1341
1704
  # Corresponds to the JSON property `uri`
1342
1705
  # @return [String]
1343
1706
  attr_accessor :uri
@@ -1405,6 +1768,32 @@ module Google
1405
1768
  end
1406
1769
  end
1407
1770
 
1771
+ #
1772
+ class SpannerLocation
1773
+ include Google::Apis::Core::Hashable
1774
+
1775
+ # Set of backups used by the resource with name in the same format as what is
1776
+ # available at http://table/spanner_automon.backup_metadata
1777
+ # Corresponds to the JSON property `backupName`
1778
+ # @return [Array<String>]
1779
+ attr_accessor :backup_name
1780
+
1781
+ # Set of databases used by the resource in format /span//
1782
+ # Corresponds to the JSON property `dbName`
1783
+ # @return [Array<String>]
1784
+ attr_accessor :db_name
1785
+
1786
+ def initialize(**args)
1787
+ update!(**args)
1788
+ end
1789
+
1790
+ # Update properties of this object
1791
+ def update!(**args)
1792
+ @backup_name = args[:backup_name] if args.key?(:backup_name)
1793
+ @db_name = args[:db_name] if args.key?(:db_name)
1794
+ end
1795
+ end
1796
+
1408
1797
  # The `Status` type defines a logical error model that is suitable for different
1409
1798
  # programming environments, including REST APIs and RPC APIs. It is used by [
1410
1799
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1444,6 +1833,25 @@ module Google
1444
1833
  end
1445
1834
  end
1446
1835
 
1836
+ #
1837
+ class TenantProjectProxy
1838
+ include Google::Apis::Core::Hashable
1839
+
1840
+ #
1841
+ # Corresponds to the JSON property `projectNumbers`
1842
+ # @return [Array<String>]
1843
+ attr_accessor :project_numbers
1844
+
1845
+ def initialize(**args)
1846
+ update!(**args)
1847
+ end
1848
+
1849
+ # Update properties of this object
1850
+ def update!(**args)
1851
+ @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
1852
+ end
1853
+ end
1854
+
1447
1855
  # Request message for `TestIamPermissions` method.
1448
1856
  class TestIamPermissionsRequest
1449
1857
  include Google::Apis::Core::Hashable
@@ -1518,8 +1926,9 @@ module Google
1518
1926
  # @return [String]
1519
1927
  attr_accessor :display_name
1520
1928
 
1521
- # Identifier. The resource name of the Workload. Format: "projects/`host-project-
1522
- # id`/locations/`location`/applications/`application-id`/workloads/`workload-id`"
1929
+ # Identifier. The resource name of the Workload. Format: `"projects/`host-
1930
+ # project-id`/locations/`location`/applications/`application-id`/workloads/`
1931
+ # workload-id`"`
1523
1932
  # Corresponds to the JSON property `name`
1524
1933
  # @return [String]
1525
1934
  attr_accessor :name
@@ -1575,19 +1984,19 @@ module Google
1575
1984
  include Google::Apis::Core::Hashable
1576
1985
 
1577
1986
  # Output only. The service project identifier that the underlying cloud resource
1578
- # resides in. Empty for non cloud resources.
1987
+ # resides in. Empty for non-cloud resources.
1579
1988
  # Corresponds to the JSON property `gcpProject`
1580
1989
  # @return [String]
1581
1990
  attr_accessor :gcp_project
1582
1991
 
1583
- # Output only. The location that the underlying compute resource resides in (e.g
1584
- # us-west1).
1992
+ # Output only. The location that the underlying compute resource resides in (for
1993
+ # example, us-west1).
1585
1994
  # Corresponds to the JSON property `location`
1586
1995
  # @return [String]
1587
1996
  attr_accessor :location
1588
1997
 
1589
1998
  # Output only. The location that the underlying compute resource resides in if
1590
- # it is zonal (e.g us-west1-a).
1999
+ # it is zonal (for example, us-west1-a).
1591
2000
  # Corresponds to the JSON property `zone`
1592
2001
  # @return [String]
1593
2002
  attr_accessor :zone
@@ -1622,6 +2031,25 @@ module Google
1622
2031
  @uri = args[:uri] if args.key?(:uri)
1623
2032
  end
1624
2033
  end
2034
+
2035
+ #
2036
+ class ZoneConfiguration
2037
+ include Google::Apis::Core::Hashable
2038
+
2039
+ #
2040
+ # Corresponds to the JSON property `zone`
2041
+ # @return [String]
2042
+ attr_accessor :zone
2043
+
2044
+ def initialize(**args)
2045
+ update!(**args)
2046
+ end
2047
+
2048
+ # Update properties of this object
2049
+ def update!(**args)
2050
+ @zone = args[:zone] if args.key?(:zone)
2051
+ end
2052
+ end
1625
2053
  end
1626
2054
  end
1627
2055
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApphubV1
18
18
  # Version of the google-apis-apphub_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.7.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.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240307"
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,12 +58,30 @@ 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
 
58
70
  include Google::Apis::Core::JsonObjectSupport
59
71
  end
60
72
 
73
+ class CloudAsset
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CloudAssetComposition
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
61
85
  class ContactInfo
62
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
87
 
@@ -82,6 +106,12 @@ module Google
82
106
  include Google::Apis::Core::JsonObjectSupport
83
107
  end
84
108
 
109
+ class DirectLocationAssignment
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
85
115
  class DiscoveredService
86
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
117
 
@@ -112,6 +142,18 @@ module Google
112
142
  include Google::Apis::Core::JsonObjectSupport
113
143
  end
114
144
 
145
+ class ExtraParameter
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class IsolationExpectations
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
115
157
  class ListApplicationsResponse
116
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
159
 
@@ -166,6 +208,18 @@ module Google
166
208
  include Google::Apis::Core::JsonObjectSupport
167
209
  end
168
210
 
211
+ class LocationAssignment
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class LocationData
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
169
223
  class LookupDiscoveredServiceResponse
170
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
225
 
@@ -196,6 +250,12 @@ module Google
196
250
  include Google::Apis::Core::JsonObjectSupport
197
251
  end
198
252
 
253
+ class PlacerLocation
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
199
259
  class Policy
200
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
261
 
@@ -208,6 +268,18 @@ module Google
208
268
  include Google::Apis::Core::JsonObjectSupport
209
269
  end
210
270
 
271
+ class RegionalMigDistributionPolicy
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class RequirementOverride
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
211
283
  class Scope
212
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
285
 
@@ -244,12 +316,24 @@ module Google
244
316
  include Google::Apis::Core::JsonObjectSupport
245
317
  end
246
318
 
319
+ class SpannerLocation
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
247
325
  class Status
248
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
327
 
250
328
  include Google::Apis::Core::JsonObjectSupport
251
329
  end
252
330
 
331
+ class TenantProjectProxy
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
253
337
  class TestIamPermissionsRequest
254
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
339
 
@@ -280,6 +364,12 @@ 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
+
283
373
  class Application
284
374
  # @private
285
375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -297,6 +387,21 @@ module Google
297
387
  end
298
388
  end
299
389
 
390
+ class AssetLocation
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :ccfe_rms_path, as: 'ccfeRmsPath'
394
+ property :expected, as: 'expected', class: Google::Apis::ApphubV1::IsolationExpectations, decorator: Google::Apis::ApphubV1::IsolationExpectations::Representation
395
+
396
+ collection :extra_parameters, as: 'extraParameters', class: Google::Apis::ApphubV1::ExtraParameter, decorator: Google::Apis::ApphubV1::ExtraParameter::Representation
397
+
398
+ collection :location_data, as: 'locationData', class: Google::Apis::ApphubV1::LocationData, decorator: Google::Apis::ApphubV1::LocationData::Representation
399
+
400
+ collection :parent_asset, as: 'parentAsset', class: Google::Apis::ApphubV1::CloudAsset, decorator: Google::Apis::ApphubV1::CloudAsset::Representation
401
+
402
+ end
403
+ end
404
+
300
405
  class Attributes
301
406
  # @private
302
407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -340,12 +445,35 @@ module Google
340
445
  end
341
446
  end
342
447
 
448
+ class BlobstoreLocation
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :policy_id, as: 'policyId'
452
+ end
453
+ end
454
+
343
455
  class CancelOperationRequest
344
456
  # @private
345
457
  class Representation < Google::Apis::Core::JsonRepresentation
346
458
  end
347
459
  end
348
460
 
461
+ class CloudAsset
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :asset_name, as: 'assetName'
465
+ property :asset_type, as: 'assetType'
466
+ end
467
+ end
468
+
469
+ class CloudAssetComposition
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ collection :child_asset, as: 'childAsset', class: Google::Apis::ApphubV1::CloudAsset, decorator: Google::Apis::ApphubV1::CloudAsset::Representation
473
+
474
+ end
475
+ end
476
+
349
477
  class ContactInfo
350
478
  # @private
351
479
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -373,6 +501,14 @@ module Google
373
501
  end
374
502
  end
375
503
 
504
+ class DirectLocationAssignment
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ collection :location, as: 'location', class: Google::Apis::ApphubV1::LocationAssignment, decorator: Google::Apis::ApphubV1::LocationAssignment::Representation
508
+
509
+ end
510
+ end
511
+
376
512
  class DiscoveredService
377
513
  # @private
378
514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -418,6 +554,29 @@ module Google
418
554
  end
419
555
  end
420
556
 
557
+ class ExtraParameter
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::ApphubV1::RegionalMigDistributionPolicy, decorator: Google::Apis::ApphubV1::RegionalMigDistributionPolicy::Representation
561
+
562
+ end
563
+ end
564
+
565
+ class IsolationExpectations
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :requirement_override, as: 'requirementOverride', class: Google::Apis::ApphubV1::RequirementOverride, decorator: Google::Apis::ApphubV1::RequirementOverride::Representation
569
+
570
+ property :zi_org_policy, as: 'ziOrgPolicy'
571
+ property :zi_region_policy, as: 'ziRegionPolicy'
572
+ property :zi_region_state, as: 'ziRegionState'
573
+ property :zone_isolation, as: 'zoneIsolation'
574
+ property :zone_separation, as: 'zoneSeparation'
575
+ property :zs_org_policy, as: 'zsOrgPolicy'
576
+ property :zs_region_state, as: 'zsRegionState'
577
+ end
578
+ end
579
+
421
580
  class ListApplicationsResponse
422
581
  # @private
423
582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -507,6 +666,32 @@ module Google
507
666
  end
508
667
  end
509
668
 
669
+ class LocationAssignment
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :location, as: 'location'
673
+ property :location_type, as: 'locationType'
674
+ end
675
+ end
676
+
677
+ class LocationData
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::ApphubV1::BlobstoreLocation, decorator: Google::Apis::ApphubV1::BlobstoreLocation::Representation
681
+
682
+ property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::ApphubV1::CloudAssetComposition, decorator: Google::Apis::ApphubV1::CloudAssetComposition::Representation
683
+
684
+ property :direct_location, as: 'directLocation', class: Google::Apis::ApphubV1::DirectLocationAssignment, decorator: Google::Apis::ApphubV1::DirectLocationAssignment::Representation
685
+
686
+ property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::ApphubV1::TenantProjectProxy, decorator: Google::Apis::ApphubV1::TenantProjectProxy::Representation
687
+
688
+ property :placer_location, as: 'placerLocation', class: Google::Apis::ApphubV1::PlacerLocation, decorator: Google::Apis::ApphubV1::PlacerLocation::Representation
689
+
690
+ property :spanner_location, as: 'spannerLocation', class: Google::Apis::ApphubV1::SpannerLocation, decorator: Google::Apis::ApphubV1::SpannerLocation::Representation
691
+
692
+ end
693
+ end
694
+
510
695
  class LookupDiscoveredServiceResponse
511
696
  # @private
512
697
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -556,6 +741,13 @@ module Google
556
741
  end
557
742
  end
558
743
 
744
+ class PlacerLocation
745
+ # @private
746
+ class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :placer_config, as: 'placerConfig'
748
+ end
749
+ end
750
+
559
751
  class Policy
560
752
  # @private
561
753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -576,6 +768,23 @@ module Google
576
768
  end
577
769
  end
578
770
 
771
+ class RegionalMigDistributionPolicy
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ property :target_shape, as: 'targetShape'
775
+ collection :zones, as: 'zones', class: Google::Apis::ApphubV1::ZoneConfiguration, decorator: Google::Apis::ApphubV1::ZoneConfiguration::Representation
776
+
777
+ end
778
+ end
779
+
780
+ class RequirementOverride
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :zi_override, as: 'ziOverride'
784
+ property :zs_override, as: 'zsOverride'
785
+ end
786
+ end
787
+
579
788
  class Scope
580
789
  # @private
581
790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -639,6 +848,14 @@ module Google
639
848
  end
640
849
  end
641
850
 
851
+ class SpannerLocation
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ collection :backup_name, as: 'backupName'
855
+ collection :db_name, as: 'dbName'
856
+ end
857
+ end
858
+
642
859
  class Status
643
860
  # @private
644
861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -648,6 +865,13 @@ module Google
648
865
  end
649
866
  end
650
867
 
868
+ class TenantProjectProxy
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ collection :project_numbers, as: 'projectNumbers'
872
+ end
873
+ end
874
+
651
875
  class TestIamPermissionsRequest
652
876
  # @private
653
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -697,6 +921,13 @@ module Google
697
921
  property :uri, as: 'uri'
698
922
  end
699
923
  end
924
+
925
+ class ZoneConfiguration
926
+ # @private
927
+ class Representation < Google::Apis::Core::JsonRepresentation
928
+ property :zone, as: 'zone'
929
+ end
930
+ end
700
931
  end
701
932
  end
702
933
  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::ApphubV1::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::ApphubV1::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::ApphubV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-10-13 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-apphub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Hub API V1