google-apis-apphub_v1alpha 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5a147159986284effa3115210d39eb2dc5cf0553acfb6d13c60447e31ad0cee
4
- data.tar.gz: 81f68ccb06123554f1e173b19f99df74269793310fdbd7f36395d163cabd3f52
3
+ metadata.gz: a44dee486256b82ea876ede33fcae38556508c5f2ca43634185bf477211e6ad3
4
+ data.tar.gz: a7692e4b2b07019714272fff0d1d78d37c5686ab3556440aab3ca34b18021510
5
5
  SHA512:
6
- metadata.gz: 2fda17af2dc9a09cb1a7d5ca8161fb20baa7576811b471e3dd9d04176f393994ef6569cd436d9273c7c852c4e7035217614fbfc126749573811c3c5776c47f06
7
- data.tar.gz: 90595796ab264f7bbe97760a6c6d3f59628ae4f8d718f3a10e63f41371567d666fc9ecb2a8caa1dd965bd9666072d379a38c95fd5581d00e3fea3ce5a8bd8d04
6
+ metadata.gz: 7d89f297c164cd1847110d12de930e7acbd3d5d0c963794a214251efa1c5f659e432e5a3bb78e6de9106392297370b86be2440867d2c034f38072168c05f1bff
7
+ data.tar.gz: 9b259e801ddb8c96f3461fd2fd2255624af00037c71cb8ce5a0b408342aa33f0b46248087178e489d66812a018edc72cd8a2c6c84121ede0b29852d28fb53528
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-apphub_v1alpha
2
2
 
3
+ ### v0.18.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260520
6
+ * Regenerated using generator version 0.19.0
7
+
8
+ ### v0.17.0 (2025-11-02)
9
+
10
+ * Regenerated from discovery document revision 20251028
11
+
3
12
  ### v0.16.0 (2025-10-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20251001
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/app-hub/docs/) may provide
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -310,6 +310,51 @@ module Google
310
310
  end
311
311
  end
312
312
 
313
+ # Application management boundary.
314
+ class Boundary
315
+ include Google::Apis::Core::Hashable
316
+
317
+ # Output only. Create time.
318
+ # Corresponds to the JSON property `createTime`
319
+ # @return [String]
320
+ attr_accessor :create_time
321
+
322
+ # Optional. The resource name of the CRM node being attached to the boundary.
323
+ # Format: `projects/`project-number`` or `projects/`project-id``
324
+ # Corresponds to the JSON property `crmNode`
325
+ # @return [String]
326
+ attr_accessor :crm_node
327
+
328
+ # Identifier. The resource name of the boundary. Format: "projects/`project`/
329
+ # locations/`location`/boundary"
330
+ # Corresponds to the JSON property `name`
331
+ # @return [String]
332
+ attr_accessor :name
333
+
334
+ # Output only. Boundary type.
335
+ # Corresponds to the JSON property `type`
336
+ # @return [String]
337
+ attr_accessor :type
338
+
339
+ # Output only. Update time.
340
+ # Corresponds to the JSON property `updateTime`
341
+ # @return [String]
342
+ attr_accessor :update_time
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @create_time = args[:create_time] if args.key?(:create_time)
351
+ @crm_node = args[:crm_node] if args.key?(:crm_node)
352
+ @name = args[:name] if args.key?(:name)
353
+ @type = args[:type] if args.key?(:type)
354
+ @update_time = args[:update_time] if args.key?(:update_time)
355
+ end
356
+ end
357
+
313
358
  # The request message for Operations.CancelOperation.
314
359
  class CancelOperationRequest
315
360
  include Google::Apis::Core::Hashable
@@ -600,6 +645,59 @@ module Google
600
645
  end
601
646
  end
602
647
 
648
+ # Additional metadata for a Service or Workload.
649
+ class ExtendedMetadata
650
+ include Google::Apis::Core::Hashable
651
+
652
+ # Output only. The metadata contents.
653
+ # Corresponds to the JSON property `metadataStruct`
654
+ # @return [Hash<String,Object>]
655
+ attr_accessor :metadata_struct
656
+
657
+ def initialize(**args)
658
+ update!(**args)
659
+ end
660
+
661
+ # Update properties of this object
662
+ def update!(**args)
663
+ @metadata_struct = args[:metadata_struct] if args.key?(:metadata_struct)
664
+ end
665
+ end
666
+
667
+ # ExtendedMetadataSchema represents a schema for extended metadata of a service
668
+ # or workload.
669
+ class ExtendedMetadataSchema
670
+ include Google::Apis::Core::Hashable
671
+
672
+ # Output only. The JSON schema as a string.
673
+ # Corresponds to the JSON property `jsonSchema`
674
+ # @return [String]
675
+ attr_accessor :json_schema
676
+
677
+ # Identifier. Resource name of the schema. Format: projects//locations//
678
+ # extendedMetadataSchemas/
679
+ # Corresponds to the JSON property `name`
680
+ # @return [String]
681
+ attr_accessor :name
682
+
683
+ # Output only. The version of the schema. New versions are required to be
684
+ # backwards compatible.
685
+ # Corresponds to the JSON property `schemaVersion`
686
+ # @return [Fixnum]
687
+ attr_accessor :schema_version
688
+
689
+ def initialize(**args)
690
+ update!(**args)
691
+ end
692
+
693
+ # Update properties of this object
694
+ def update!(**args)
695
+ @json_schema = args[:json_schema] if args.key?(:json_schema)
696
+ @name = args[:name] if args.key?(:name)
697
+ @schema_version = args[:schema_version] if args.key?(:schema_version)
698
+ end
699
+ end
700
+
603
701
  # Response for FindUnregisteredServices.
604
702
  class FindUnregisteredServicesResponse
605
703
  include Google::Apis::Core::Hashable
@@ -662,6 +760,47 @@ module Google
662
760
  end
663
761
  end
664
762
 
763
+ # The functional type of a service or workload.
764
+ class FunctionalType
765
+ include Google::Apis::Core::Hashable
766
+
767
+ # Output only. The functional type of a service or workload.
768
+ # Corresponds to the JSON property `type`
769
+ # @return [String]
770
+ attr_accessor :type
771
+
772
+ def initialize(**args)
773
+ update!(**args)
774
+ end
775
+
776
+ # Update properties of this object
777
+ def update!(**args)
778
+ @type = args[:type] if args.key?(:type)
779
+ end
780
+ end
781
+
782
+ # The identity associated with a service or workload.
783
+ class Identity
784
+ include Google::Apis::Core::Hashable
785
+
786
+ # Output only. The principal of the identity. Supported formats: * `sa://my-sa@
787
+ # PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://
788
+ # POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/
789
+ # MANAGED_IDENTITY_ID` for Managed Workload Identity
790
+ # Corresponds to the JSON property `principal`
791
+ # @return [String]
792
+ attr_accessor :principal
793
+
794
+ def initialize(**args)
795
+ update!(**args)
796
+ end
797
+
798
+ # Update properties of this object
799
+ def update!(**args)
800
+ @principal = args[:principal] if args.key?(:principal)
801
+ end
802
+ end
803
+
665
804
  # Response for ListApplications.
666
805
  class ListApplicationsResponse
667
806
  include Google::Apis::Core::Hashable
@@ -755,6 +894,31 @@ module Google
755
894
  end
756
895
  end
757
896
 
897
+ # Response for ListExtendedMetadataSchemas.
898
+ class ListExtendedMetadataSchemasResponse
899
+ include Google::Apis::Core::Hashable
900
+
901
+ # List of Extended Metadata Schemas.
902
+ # Corresponds to the JSON property `extendedMetadataSchemas`
903
+ # @return [Array<Google::Apis::ApphubV1alpha::ExtendedMetadataSchema>]
904
+ attr_accessor :extended_metadata_schemas
905
+
906
+ # A token identifying a page of results the server should return.
907
+ # Corresponds to the JSON property `nextPageToken`
908
+ # @return [String]
909
+ attr_accessor :next_page_token
910
+
911
+ def initialize(**args)
912
+ update!(**args)
913
+ end
914
+
915
+ # Update properties of this object
916
+ def update!(**args)
917
+ @extended_metadata_schemas = args[:extended_metadata_schemas] if args.key?(:extended_metadata_schemas)
918
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
919
+ end
920
+ end
921
+
758
922
  # The response message for Locations.ListLocations.
759
923
  class ListLocationsResponse
760
924
  include Google::Apis::Core::Hashable
@@ -795,8 +959,9 @@ module Google
795
959
  attr_accessor :operations
796
960
 
797
961
  # Unordered list. Unreachable resources. Populated when the request sets `
798
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
799
- # when attempting to list all resources across all supported locations.
962
+ # ListOperationsRequest.return_partial_success` and reads across collections.
963
+ # For example, when attempting to list all resources across all supported
964
+ # locations.
800
965
  # Corresponds to the JSON property `unreachable`
801
966
  # @return [Array<String>]
802
967
  attr_accessor :unreachable
@@ -1235,6 +1400,25 @@ module Google
1235
1400
  end
1236
1401
  end
1237
1402
 
1403
+ # The registration type of a service.
1404
+ class RegistrationType
1405
+ include Google::Apis::Core::Hashable
1406
+
1407
+ # Output only. The registration type of a service.
1408
+ # Corresponds to the JSON property `type`
1409
+ # @return [String]
1410
+ attr_accessor :type
1411
+
1412
+ def initialize(**args)
1413
+ update!(**args)
1414
+ end
1415
+
1416
+ # Update properties of this object
1417
+ def update!(**args)
1418
+ @type = args[:type] if args.key?(:type)
1419
+ end
1420
+ end
1421
+
1238
1422
  # Scope of an application.
1239
1423
  class Scope
1240
1424
  include Google::Apis::Core::Hashable
@@ -1395,18 +1579,41 @@ module Google
1395
1579
  class ServiceProperties
1396
1580
  include Google::Apis::Core::Hashable
1397
1581
 
1582
+ # Output only. Additional metadata specific to the resource type. The key is a
1583
+ # string that identifies the type of metadata and the value is the metadata
1584
+ # contents specific to that type. Key format: `apphub.googleapis.com/`
1585
+ # metadataType``
1586
+ # Corresponds to the JSON property `extendedMetadata`
1587
+ # @return [Hash<String,Google::Apis::ApphubV1alpha::ExtendedMetadata>]
1588
+ attr_accessor :extended_metadata
1589
+
1590
+ # The functional type of a service or workload.
1591
+ # Corresponds to the JSON property `functionalType`
1592
+ # @return [Google::Apis::ApphubV1alpha::FunctionalType]
1593
+ attr_accessor :functional_type
1594
+
1398
1595
  # Output only. The service project identifier that the underlying cloud resource
1399
1596
  # resides in.
1400
1597
  # Corresponds to the JSON property `gcpProject`
1401
1598
  # @return [String]
1402
1599
  attr_accessor :gcp_project
1403
1600
 
1601
+ # The identity associated with a service or workload.
1602
+ # Corresponds to the JSON property `identity`
1603
+ # @return [Google::Apis::ApphubV1alpha::Identity]
1604
+ attr_accessor :identity
1605
+
1404
1606
  # Output only. The location that the underlying resource resides in, for example,
1405
1607
  # us-west1.
1406
1608
  # Corresponds to the JSON property `location`
1407
1609
  # @return [String]
1408
1610
  attr_accessor :location
1409
1611
 
1612
+ # The registration type of a service.
1613
+ # Corresponds to the JSON property `registrationType`
1614
+ # @return [Google::Apis::ApphubV1alpha::RegistrationType]
1615
+ attr_accessor :registration_type
1616
+
1410
1617
  # Output only. The location that the underlying resource resides in if it is
1411
1618
  # zonal, for example, us-west1-a).
1412
1619
  # Corresponds to the JSON property `zone`
@@ -1419,8 +1626,12 @@ module Google
1419
1626
 
1420
1627
  # Update properties of this object
1421
1628
  def update!(**args)
1629
+ @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1630
+ @functional_type = args[:functional_type] if args.key?(:functional_type)
1422
1631
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1632
+ @identity = args[:identity] if args.key?(:identity)
1423
1633
  @location = args[:location] if args.key?(:location)
1634
+ @registration_type = args[:registration_type] if args.key?(:registration_type)
1424
1635
  @zone = args[:zone] if args.key?(:zone)
1425
1636
  end
1426
1637
  end
@@ -1676,12 +1887,30 @@ module Google
1676
1887
  class WorkloadProperties
1677
1888
  include Google::Apis::Core::Hashable
1678
1889
 
1890
+ # Output only. Additional metadata specific to the resource type. The key is a
1891
+ # string that identifies the type of metadata and the value is the metadata
1892
+ # contents specific to that type. Key format: `apphub.googleapis.com/`
1893
+ # metadataType``
1894
+ # Corresponds to the JSON property `extendedMetadata`
1895
+ # @return [Hash<String,Google::Apis::ApphubV1alpha::ExtendedMetadata>]
1896
+ attr_accessor :extended_metadata
1897
+
1898
+ # The functional type of a service or workload.
1899
+ # Corresponds to the JSON property `functionalType`
1900
+ # @return [Google::Apis::ApphubV1alpha::FunctionalType]
1901
+ attr_accessor :functional_type
1902
+
1679
1903
  # Output only. The service project identifier that the underlying cloud resource
1680
1904
  # resides in. Empty for non-cloud resources.
1681
1905
  # Corresponds to the JSON property `gcpProject`
1682
1906
  # @return [String]
1683
1907
  attr_accessor :gcp_project
1684
1908
 
1909
+ # The identity associated with a service or workload.
1910
+ # Corresponds to the JSON property `identity`
1911
+ # @return [Google::Apis::ApphubV1alpha::Identity]
1912
+ attr_accessor :identity
1913
+
1685
1914
  # Output only. The location that the underlying compute resource resides in (for
1686
1915
  # example, us-west1).
1687
1916
  # Corresponds to the JSON property `location`
@@ -1700,7 +1929,10 @@ module Google
1700
1929
 
1701
1930
  # Update properties of this object
1702
1931
  def update!(**args)
1932
+ @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1933
+ @functional_type = args[:functional_type] if args.key?(:functional_type)
1703
1934
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1935
+ @identity = args[:identity] if args.key?(:identity)
1704
1936
  @location = args[:location] if args.key?(:location)
1705
1937
  @zone = args[:zone] if args.key?(:zone)
1706
1938
  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.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251001"
25
+ REVISION = "20260520"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class Boundary
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class CancelOperationRequest
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -118,6 +124,18 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class ExtendedMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExtendedMetadataSchema
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
121
139
  class FindUnregisteredServicesResponse
122
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
141
 
@@ -130,6 +148,18 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class FunctionalType
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Identity
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class ListApplicationsResponse
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -148,6 +178,12 @@ module Google
148
178
  include Google::Apis::Core::JsonObjectSupport
149
179
  end
150
180
 
181
+ class ListExtendedMetadataSchemasResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
151
187
  class ListLocationsResponse
152
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
189
 
@@ -220,6 +256,12 @@ module Google
220
256
  include Google::Apis::Core::JsonObjectSupport
221
257
  end
222
258
 
259
+ class RegistrationType
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
223
265
  class Scope
224
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
267
 
@@ -352,6 +394,17 @@ module Google
352
394
  end
353
395
  end
354
396
 
397
+ class Boundary
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :create_time, as: 'createTime'
401
+ property :crm_node, as: 'crmNode'
402
+ property :name, as: 'name'
403
+ property :type, as: 'type'
404
+ property :update_time, as: 'updateTime'
405
+ end
406
+ end
407
+
355
408
  class CancelOperationRequest
356
409
  # @private
357
410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -442,6 +495,22 @@ module Google
442
495
  end
443
496
  end
444
497
 
498
+ class ExtendedMetadata
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ hash :metadata_struct, as: 'metadataStruct'
502
+ end
503
+ end
504
+
505
+ class ExtendedMetadataSchema
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :json_schema, as: 'jsonSchema'
509
+ property :name, as: 'name'
510
+ property :schema_version, :numeric_string => true, as: 'schemaVersion'
511
+ end
512
+ end
513
+
445
514
  class FindUnregisteredServicesResponse
446
515
  # @private
447
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -462,6 +531,20 @@ module Google
462
531
  end
463
532
  end
464
533
 
534
+ class FunctionalType
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :type, as: 'type'
538
+ end
539
+ end
540
+
541
+ class Identity
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :principal, as: 'principal'
545
+ end
546
+ end
547
+
465
548
  class ListApplicationsResponse
466
549
  # @private
467
550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -492,6 +575,15 @@ module Google
492
575
  end
493
576
  end
494
577
 
578
+ class ListExtendedMetadataSchemasResponse
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ collection :extended_metadata_schemas, as: 'extendedMetadataSchemas', class: Google::Apis::ApphubV1alpha::ExtendedMetadataSchema, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadataSchema::Representation
582
+
583
+ property :next_page_token, as: 'nextPageToken'
584
+ end
585
+ end
586
+
495
587
  class ListLocationsResponse
496
588
  # @private
497
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -613,6 +705,13 @@ module Google
613
705
  end
614
706
  end
615
707
 
708
+ class RegistrationType
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :type, as: 'type'
712
+ end
713
+ end
714
+
616
715
  class Scope
617
716
  # @private
618
717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -654,8 +753,16 @@ module Google
654
753
  class ServiceProperties
655
754
  # @private
656
755
  class Representation < Google::Apis::Core::JsonRepresentation
756
+ hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1alpha::ExtendedMetadata, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadata::Representation
757
+
758
+ property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
759
+
657
760
  property :gcp_project, as: 'gcpProject'
761
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
762
+
658
763
  property :location, as: 'location'
764
+ property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1alpha::RegistrationType, decorator: Google::Apis::ApphubV1alpha::RegistrationType::Representation
765
+
659
766
  property :zone, as: 'zone'
660
767
  end
661
768
  end
@@ -723,7 +830,13 @@ module Google
723
830
  class WorkloadProperties
724
831
  # @private
725
832
  class Representation < Google::Apis::Core::JsonRepresentation
833
+ hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1alpha::ExtendedMetadata, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadata::Representation
834
+
835
+ property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
836
+
726
837
  property :gcp_project, as: 'gcpProject'
838
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
839
+
727
840
  property :location, as: 'location'
728
841
  property :zone, as: 'zone'
729
842
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module ApphubV1alpha
23
23
  # App Hub API
24
24
  #
25
- #
25
+ # App Hub lets you build, operate, and manage applications on Google Cloud.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/apphub_v1alpha'
@@ -118,12 +118,52 @@ module Google
118
118
  execute_or_queue_command(command, &block)
119
119
  end
120
120
 
121
- # Lists information about the supported locations for this service.
121
+ # Gets a Boundary.
122
+ # @param [String] name
123
+ # Required. The name of the boundary to retrieve. Format: `projects/`project`/
124
+ # locations/`location`/boundary`.
125
+ # @param [String] fields
126
+ # Selector specifying which fields to include in a partial response.
127
+ # @param [String] quota_user
128
+ # Available to use for quota purposes for server-side applications. Can be any
129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
130
+ # @param [Google::Apis::RequestOptions] options
131
+ # Request-specific options
132
+ #
133
+ # @yield [result, err] Result & error if block supplied
134
+ # @yieldparam result [Google::Apis::ApphubV1alpha::Boundary] parsed result object
135
+ # @yieldparam err [StandardError] error object if request failed
136
+ #
137
+ # @return [Google::Apis::ApphubV1alpha::Boundary]
138
+ #
139
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
140
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
142
+ def get_project_location_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
143
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
144
+ command.response_representation = Google::Apis::ApphubV1alpha::Boundary::Representation
145
+ command.response_class = Google::Apis::ApphubV1alpha::Boundary
146
+ command.params['name'] = name unless name.nil?
147
+ command.query['fields'] = fields unless fields.nil?
148
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
149
+ execute_or_queue_command(command, &block)
150
+ end
151
+
152
+ # Lists information about the supported locations for this service. This method
153
+ # lists locations based on the resource scope provided in the
154
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
155
+ # the method lists the public locations available to all projects. * **Project-
156
+ # specific locations**: If `name` follows the format `projects/`project``, the
157
+ # method lists locations visible to that specific project. This includes public,
158
+ # private, or other project-specific locations enabled for the project. For gRPC
159
+ # and client library implementations, the resource name is passed as the `name`
160
+ # field. For direct service calls, the resource name is incorporated into the
161
+ # request path based on the specific service implementation and version.
122
162
  # @param [String] name
123
163
  # The resource that owns the locations collection, if applicable.
124
164
  # @param [Array<String>, String] extra_location_types
125
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
126
- # field which is primarily intended for internal usage.
165
+ # Optional. Do not use this field unless explicitly documented otherwise. This
166
+ # is primarily for internal usage.
127
167
  # @param [String] filter
128
168
  # A filter to narrow down results to a preferred subset. The filtering language
129
169
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -198,6 +238,59 @@ module Google
198
238
  execute_or_queue_command(command, &block)
199
239
  end
200
240
 
241
+ # Updates a Boundary.
242
+ # @param [String] name
243
+ # Identifier. The resource name of the boundary. Format: "projects/`project`/
244
+ # locations/`location`/boundary"
245
+ # @param [Google::Apis::ApphubV1alpha::Boundary] boundary_object
246
+ # @param [String] request_id
247
+ # Optional. An optional request ID to identify requests. Specify a unique
248
+ # request ID so that if you must retry your request, the server will know to
249
+ # ignore the request if it has already been completed. The server will guarantee
250
+ # that for at least 60 minutes since the first request. For example, consider a
251
+ # situation where you make an initial request and the request times out. If you
252
+ # make the request again with the same request ID, the server can check if
253
+ # original operation with the same request ID was received, and if so, will
254
+ # ignore the second request. This prevents clients from accidentally creating
255
+ # duplicate commitments. The request ID must be a valid UUID with the exception
256
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
257
+ # @param [String] update_mask
258
+ # Optional. Field mask is used to specify the fields to be overwritten in the
259
+ # Boundary resource by the update. The fields specified in the update_mask are
260
+ # relative to the resource, not the full request. A field will be overwritten if
261
+ # it is in the mask. If the user does not provide a mask then all fields will be
262
+ # overwritten.
263
+ # @param [String] fields
264
+ # Selector specifying which fields to include in a partial response.
265
+ # @param [String] quota_user
266
+ # Available to use for quota purposes for server-side applications. Can be any
267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
268
+ # @param [Google::Apis::RequestOptions] options
269
+ # Request-specific options
270
+ #
271
+ # @yield [result, err] Result & error if block supplied
272
+ # @yieldparam result [Google::Apis::ApphubV1alpha::Operation] parsed result object
273
+ # @yieldparam err [StandardError] error object if request failed
274
+ #
275
+ # @return [Google::Apis::ApphubV1alpha::Operation]
276
+ #
277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
280
+ def update_project_location_boundary(name, boundary_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
281
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
282
+ command.request_representation = Google::Apis::ApphubV1alpha::Boundary::Representation
283
+ command.request_object = boundary_object
284
+ command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation
285
+ command.response_class = Google::Apis::ApphubV1alpha::Operation
286
+ command.params['name'] = name unless name.nil?
287
+ command.query['requestId'] = request_id unless request_id.nil?
288
+ command.query['updateMask'] = update_mask unless update_mask.nil?
289
+ command.query['fields'] = fields unless fields.nil?
290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
291
+ execute_or_queue_command(command, &block)
292
+ end
293
+
201
294
  # Creates an Application in a host project and location.
202
295
  # @param [String] parent
203
296
  # Required. Project and location to create Application in. Expected format: `
@@ -429,7 +522,7 @@ module Google
429
522
  # duplicate commitments. The request ID must be a valid UUID with the exception
430
523
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
431
524
  # @param [String] update_mask
432
- # Required. Field mask is used to specify the fields to be overwritten in the
525
+ # Optional. Field mask is used to specify the fields to be overwritten in the
433
526
  # Application resource by the update. The fields specified in the update_mask
434
527
  # are relative to the resource, not the full request. The API changes the values
435
528
  # of the fields as specified in the update_mask. The API ignores the values of
@@ -733,7 +826,7 @@ module Google
733
826
  # duplicate commitments. The request ID must be a valid UUID with the exception
734
827
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
735
828
  # @param [String] update_mask
736
- # Required. Field mask is used to specify the fields to be overwritten in the
829
+ # Optional. Field mask is used to specify the fields to be overwritten in the
737
830
  # Service resource by the update. The fields specified in the update_mask are
738
831
  # relative to the resource, not the full request. The API changes the values of
739
832
  # the fields as specified in the update_mask. The API ignores the values of all
@@ -962,7 +1055,7 @@ module Google
962
1055
  # duplicate commitments. The request ID must be a valid UUID with the exception
963
1056
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
964
1057
  # @param [String] update_mask
965
- # Required. Field mask is used to specify the fields to be overwritten in the
1058
+ # Optional. Field mask is used to specify the fields to be overwritten in the
966
1059
  # Workload resource by the update. The fields specified in the update_mask are
967
1060
  # relative to the resource, not the full request. The API changes the values of
968
1061
  # the fields as specified in the update_mask. The API ignores the values of all
@@ -1314,6 +1407,77 @@ module Google
1314
1407
  execute_or_queue_command(command, &block)
1315
1408
  end
1316
1409
 
1410
+ # Gets an Extended Metadata Schema.
1411
+ # @param [String] name
1412
+ # Required. Schema resource name. Format: `projects/`project`/locations/`
1413
+ # location`/extendedMetadataSchemas/`extended_metadata_schema``. ``
1414
+ # extended_metadata_schema`` has the format `"apphub.googleapis.com/`SchemaName`"
1415
+ # `.
1416
+ # @param [String] fields
1417
+ # Selector specifying which fields to include in a partial response.
1418
+ # @param [String] quota_user
1419
+ # Available to use for quota purposes for server-side applications. Can be any
1420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1421
+ # @param [Google::Apis::RequestOptions] options
1422
+ # Request-specific options
1423
+ #
1424
+ # @yield [result, err] Result & error if block supplied
1425
+ # @yieldparam result [Google::Apis::ApphubV1alpha::ExtendedMetadataSchema] parsed result object
1426
+ # @yieldparam err [StandardError] error object if request failed
1427
+ #
1428
+ # @return [Google::Apis::ApphubV1alpha::ExtendedMetadataSchema]
1429
+ #
1430
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1431
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1432
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1433
+ def get_project_location_extended_metadata_schema(name, fields: nil, quota_user: nil, options: nil, &block)
1434
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1435
+ command.response_representation = Google::Apis::ApphubV1alpha::ExtendedMetadataSchema::Representation
1436
+ command.response_class = Google::Apis::ApphubV1alpha::ExtendedMetadataSchema
1437
+ command.params['name'] = name unless name.nil?
1438
+ command.query['fields'] = fields unless fields.nil?
1439
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1440
+ execute_or_queue_command(command, &block)
1441
+ end
1442
+
1443
+ # Lists Extended Metadata Schemas available in a host project and location.
1444
+ # @param [String] parent
1445
+ # Required. Project and location to list Extended Metadata Schemas on. Expected
1446
+ # format: `projects/`project`/locations/`location``.
1447
+ # @param [Fixnum] page_size
1448
+ # Optional. Requested page size. Server may return fewer items than requested.
1449
+ # If unspecified, server will pick an appropriate default.
1450
+ # @param [String] page_token
1451
+ # Optional. A token identifying a page of results the server should return.
1452
+ # @param [String] fields
1453
+ # Selector specifying which fields to include in a partial response.
1454
+ # @param [String] quota_user
1455
+ # Available to use for quota purposes for server-side applications. Can be any
1456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1457
+ # @param [Google::Apis::RequestOptions] options
1458
+ # Request-specific options
1459
+ #
1460
+ # @yield [result, err] Result & error if block supplied
1461
+ # @yieldparam result [Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse] parsed result object
1462
+ # @yieldparam err [StandardError] error object if request failed
1463
+ #
1464
+ # @return [Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse]
1465
+ #
1466
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1467
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1468
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1469
+ def list_project_location_extended_metadata_schemas(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1470
+ command = make_simple_command(:get, 'v1alpha/{+parent}/extendedMetadataSchemas', options)
1471
+ command.response_representation = Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse::Representation
1472
+ command.response_class = Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse
1473
+ command.params['parent'] = parent unless parent.nil?
1474
+ command.query['pageSize'] = page_size unless page_size.nil?
1475
+ command.query['pageToken'] = page_token unless page_token.nil?
1476
+ command.query['fields'] = fields unless fields.nil?
1477
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1478
+ execute_or_queue_command(command, &block)
1479
+ end
1480
+
1317
1481
  # Starts asynchronous cancellation on a long-running operation. The server makes
1318
1482
  # a best effort to cancel the operation, but success is not guaranteed. If the
1319
1483
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -1430,11 +1594,12 @@ module Google
1430
1594
  # The standard list page token.
1431
1595
  # @param [Boolean] return_partial_success
1432
1596
  # When set to `true`, operations that are reachable are returned as normal, and
1433
- # those that are unreachable are returned in the [ListOperationsResponse.
1434
- # unreachable] field. This can only be `true` when reading across collections e.
1435
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1436
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1437
- # explicitly documented otherwise in service or product specific documentation.
1597
+ # those that are unreachable are returned in the ListOperationsResponse.
1598
+ # unreachable field. This can only be `true` when reading across collections.
1599
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1600
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1601
+ # if set unless explicitly documented otherwise in service or product specific
1602
+ # documentation.
1438
1603
  # @param [String] fields
1439
1604
  # Selector specifying which fields to include in a partial response.
1440
1605
  # @param [String] quota_user
@@ -21,7 +21,7 @@ module Google
21
21
  module Apis
22
22
  # App Hub API
23
23
  #
24
- #
24
+ # App Hub lets you build, operate, and manage applications on Google Cloud.
25
25
  #
26
26
  # @see https://cloud.google.com/app-hub/docs/
27
27
  module ApphubV1alpha
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apphub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.16.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.18.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="