google-apis-apphub_v1alpha 0.17.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: c4d29ffe3f9c6c631cf4734bbf14beb79e2219b2dcb7d06ffff56d19c954b32f
4
- data.tar.gz: 9125dd6367db271c3392c285c1ad73b255f2fa1c2028c5dba95ecacf1f0ca993
3
+ metadata.gz: a44dee486256b82ea876ede33fcae38556508c5f2ca43634185bf477211e6ad3
4
+ data.tar.gz: a7692e4b2b07019714272fff0d1d78d37c5686ab3556440aab3ca34b18021510
5
5
  SHA512:
6
- metadata.gz: e7e3455bbacf21db23d75fdf796f7deb89aef082657f5d8a05e1cf3b899debe30cf726c6567ccc82075053157e2e73d06d78894fe30e2bf94ad6999e9b37e860
7
- data.tar.gz: 66e39b79cda706e47733bd674afdcef473d62980730da472c09488c40905f10f30765a97464ebaa07f49282b5d749c217c0719ae049cd6455f7b83fa8b8feb0a
6
+ metadata.gz: 7d89f297c164cd1847110d12de930e7acbd3d5d0c963794a214251efa1c5f659e432e5a3bb78e6de9106392297370b86be2440867d2c034f38072168c05f1bff
7
+ data.tar.gz: 9b259e801ddb8c96f3461fd2fd2255624af00037c71cb8ce5a0b408342aa33f0b46248087178e489d66812a018edc72cd8a2c6c84121ede0b29852d28fb53528
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.17.0 (2025-11-02)
4
9
 
5
10
  * Regenerated from discovery document revision 20251028
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
@@ -681,6 +779,28 @@ module Google
681
779
  end
682
780
  end
683
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
+
684
804
  # Response for ListApplications.
685
805
  class ListApplicationsResponse
686
806
  include Google::Apis::Core::Hashable
@@ -774,6 +894,31 @@ module Google
774
894
  end
775
895
  end
776
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
+
777
922
  # The response message for Locations.ListLocations.
778
923
  class ListLocationsResponse
779
924
  include Google::Apis::Core::Hashable
@@ -814,8 +959,9 @@ module Google
814
959
  attr_accessor :operations
815
960
 
816
961
  # Unordered list. Unreachable resources. Populated when the request sets `
817
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
818
- # 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.
819
965
  # Corresponds to the JSON property `unreachable`
820
966
  # @return [Array<String>]
821
967
  attr_accessor :unreachable
@@ -1254,6 +1400,25 @@ module Google
1254
1400
  end
1255
1401
  end
1256
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
+
1257
1422
  # Scope of an application.
1258
1423
  class Scope
1259
1424
  include Google::Apis::Core::Hashable
@@ -1414,6 +1579,14 @@ module Google
1414
1579
  class ServiceProperties
1415
1580
  include Google::Apis::Core::Hashable
1416
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
+
1417
1590
  # The functional type of a service or workload.
1418
1591
  # Corresponds to the JSON property `functionalType`
1419
1592
  # @return [Google::Apis::ApphubV1alpha::FunctionalType]
@@ -1425,12 +1598,22 @@ module Google
1425
1598
  # @return [String]
1426
1599
  attr_accessor :gcp_project
1427
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
+
1428
1606
  # Output only. The location that the underlying resource resides in, for example,
1429
1607
  # us-west1.
1430
1608
  # Corresponds to the JSON property `location`
1431
1609
  # @return [String]
1432
1610
  attr_accessor :location
1433
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
+
1434
1617
  # Output only. The location that the underlying resource resides in if it is
1435
1618
  # zonal, for example, us-west1-a).
1436
1619
  # Corresponds to the JSON property `zone`
@@ -1443,9 +1626,12 @@ module Google
1443
1626
 
1444
1627
  # Update properties of this object
1445
1628
  def update!(**args)
1629
+ @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1446
1630
  @functional_type = args[:functional_type] if args.key?(:functional_type)
1447
1631
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1632
+ @identity = args[:identity] if args.key?(:identity)
1448
1633
  @location = args[:location] if args.key?(:location)
1634
+ @registration_type = args[:registration_type] if args.key?(:registration_type)
1449
1635
  @zone = args[:zone] if args.key?(:zone)
1450
1636
  end
1451
1637
  end
@@ -1701,6 +1887,14 @@ module Google
1701
1887
  class WorkloadProperties
1702
1888
  include Google::Apis::Core::Hashable
1703
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
+
1704
1898
  # The functional type of a service or workload.
1705
1899
  # Corresponds to the JSON property `functionalType`
1706
1900
  # @return [Google::Apis::ApphubV1alpha::FunctionalType]
@@ -1712,6 +1906,11 @@ module Google
1712
1906
  # @return [String]
1713
1907
  attr_accessor :gcp_project
1714
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
+
1715
1914
  # Output only. The location that the underlying compute resource resides in (for
1716
1915
  # example, us-west1).
1717
1916
  # Corresponds to the JSON property `location`
@@ -1730,8 +1929,10 @@ module Google
1730
1929
 
1731
1930
  # Update properties of this object
1732
1931
  def update!(**args)
1932
+ @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1733
1933
  @functional_type = args[:functional_type] if args.key?(:functional_type)
1734
1934
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1935
+ @identity = args[:identity] if args.key?(:identity)
1735
1936
  @location = args[:location] if args.key?(:location)
1736
1937
  @zone = args[:zone] if args.key?(:zone)
1737
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.17.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 = "20251028"
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
 
@@ -136,6 +154,12 @@ module Google
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
157
+ class Identity
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
139
163
  class ListApplicationsResponse
140
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
165
 
@@ -154,6 +178,12 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class ListExtendedMetadataSchemasResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class ListLocationsResponse
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -226,6 +256,12 @@ module Google
226
256
  include Google::Apis::Core::JsonObjectSupport
227
257
  end
228
258
 
259
+ class RegistrationType
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
229
265
  class Scope
230
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
267
 
@@ -358,6 +394,17 @@ module Google
358
394
  end
359
395
  end
360
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
+
361
408
  class CancelOperationRequest
362
409
  # @private
363
410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -448,6 +495,22 @@ module Google
448
495
  end
449
496
  end
450
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
+
451
514
  class FindUnregisteredServicesResponse
452
515
  # @private
453
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -475,6 +538,13 @@ module Google
475
538
  end
476
539
  end
477
540
 
541
+ class Identity
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :principal, as: 'principal'
545
+ end
546
+ end
547
+
478
548
  class ListApplicationsResponse
479
549
  # @private
480
550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -505,6 +575,15 @@ module Google
505
575
  end
506
576
  end
507
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
+
508
587
  class ListLocationsResponse
509
588
  # @private
510
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -626,6 +705,13 @@ module Google
626
705
  end
627
706
  end
628
707
 
708
+ class RegistrationType
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :type, as: 'type'
712
+ end
713
+ end
714
+
629
715
  class Scope
630
716
  # @private
631
717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -667,10 +753,16 @@ module Google
667
753
  class ServiceProperties
668
754
  # @private
669
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
+
670
758
  property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
671
759
 
672
760
  property :gcp_project, as: 'gcpProject'
761
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
762
+
673
763
  property :location, as: 'location'
764
+ property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1alpha::RegistrationType, decorator: Google::Apis::ApphubV1alpha::RegistrationType::Representation
765
+
674
766
  property :zone, as: 'zone'
675
767
  end
676
768
  end
@@ -738,9 +830,13 @@ module Google
738
830
  class WorkloadProperties
739
831
  # @private
740
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
+
741
835
  property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
742
836
 
743
837
  property :gcp_project, as: 'gcpProject'
838
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
839
+
744
840
  property :location, as: 'location'
745
841
  property :zone, as: 'zone'
746
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. Do not use this field. It is unsupported and is ignored unless
126
- # explicitly documented otherwise. This is primarily 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.17.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.17.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
  - - ">="