google-apis-apphub_v1 0.15.0 → 0.16.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: 46a74ba2815e1712da1931153a020f698677b5c67f0e8cfedfbab77957e84447
4
- data.tar.gz: a99d91b0184387a85cf2f73596566ba230278739a916d6f1c26286441b2f05cf
3
+ metadata.gz: 30016cb11f6e07a51c4f06eadece65f5cff41f7edfac5fbc34865eebe251eb52
4
+ data.tar.gz: a16dc28fa113e905d650eca3e68f4d03725ccb1540b8046669b17258a6d72922
5
5
  SHA512:
6
- metadata.gz: 3034cbfa2083342e17fe7b5f8c20df9e9a766dd8c234b7975049575a403c4e527ab039df88dbb4220145e104a107cb6b4031f07abe285695244b06045c8e7fa2
7
- data.tar.gz: 41d69b21a37760653df88f3b40ac4e9f5a88a4c3fd60b885c600a5caf89fc9288857b657d83bf67551444e853ebb02245b2d95277b9c534b8c89985bc9c43ba9
6
+ metadata.gz: 90d12e72feaa934f1452b32a51c4487d192c74f763671ed35540cae04b992fce22af70d052a27b5219183bbfaccfd4862f339eb5bf9e9ae976a757067f0eb691
7
+ data.tar.gz: 4592221e53f2cbdcd7d6bb1bbd5fe5890fb65a6a358a5cdf4a673a27ea1c9da3c9215922ec6607b7ec820affe54e3f0d9d8342d038dc56934a252a35afe83d70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apphub_v1
2
2
 
3
+ ### v0.16.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251210
6
+
3
7
  ### v0.15.0 (2025-11-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20251114
@@ -320,7 +320,7 @@ module Google
320
320
  attr_accessor :create_time
321
321
 
322
322
  # Optional. The resource name of the CRM node being attached to the boundary.
323
- # Format: `projects/`project-number`` or `projects/`project-id``
323
+ # Format: `projects/`project-number``
324
324
  # Corresponds to the JSON property `crmNode`
325
325
  # @return [String]
326
326
  attr_accessor :crm_node
@@ -615,6 +615,40 @@ module Google
615
615
  end
616
616
  end
617
617
 
618
+ # ExtendedMetadataSchema represents a schema for extended metadata of a service
619
+ # or workload.
620
+ class ExtendedMetadataSchema
621
+ include Google::Apis::Core::Hashable
622
+
623
+ # Output only. The JSON schema as a string.
624
+ # Corresponds to the JSON property `jsonSchema`
625
+ # @return [String]
626
+ attr_accessor :json_schema
627
+
628
+ # Identifier. Resource name of the schema. Format: projects//locations//
629
+ # extendedMetadataSchemas/
630
+ # Corresponds to the JSON property `name`
631
+ # @return [String]
632
+ attr_accessor :name
633
+
634
+ # Output only. The version of the schema. New versions are required to be
635
+ # backwards compatible.
636
+ # Corresponds to the JSON property `schemaVersion`
637
+ # @return [Fixnum]
638
+ attr_accessor :schema_version
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @json_schema = args[:json_schema] if args.key?(:json_schema)
647
+ @name = args[:name] if args.key?(:name)
648
+ @schema_version = args[:schema_version] if args.key?(:schema_version)
649
+ end
650
+ end
651
+
618
652
  # The functional type of a service or workload.
619
653
  class FunctionalType
620
654
  include Google::Apis::Core::Hashable
@@ -638,10 +672,10 @@ module Google
638
672
  class Identity
639
673
  include Google::Apis::Core::Hashable
640
674
 
641
- # Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.
642
- # iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.
643
- # PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for
644
- # Managed Workload Identity
675
+ # Output only. The principal of the identity. Supported formats: * `sa://my-sa@
676
+ # PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://
677
+ # POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/
678
+ # MANAGED_IDENTITY_ID` for Managed Workload Identity
645
679
  # Corresponds to the JSON property `principal`
646
680
  # @return [String]
647
681
  attr_accessor :principal
@@ -749,6 +783,31 @@ module Google
749
783
  end
750
784
  end
751
785
 
786
+ # Response for ListExtendedMetadataSchemas.
787
+ class ListExtendedMetadataSchemasResponse
788
+ include Google::Apis::Core::Hashable
789
+
790
+ # List of Extended Metadata Schemas.
791
+ # Corresponds to the JSON property `extendedMetadataSchemas`
792
+ # @return [Array<Google::Apis::ApphubV1::ExtendedMetadataSchema>]
793
+ attr_accessor :extended_metadata_schemas
794
+
795
+ # A token identifying a page of results the server should return.
796
+ # Corresponds to the JSON property `nextPageToken`
797
+ # @return [String]
798
+ attr_accessor :next_page_token
799
+
800
+ def initialize(**args)
801
+ update!(**args)
802
+ end
803
+
804
+ # Update properties of this object
805
+ def update!(**args)
806
+ @extended_metadata_schemas = args[:extended_metadata_schemas] if args.key?(:extended_metadata_schemas)
807
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
808
+ end
809
+ end
810
+
752
811
  # The response message for Locations.ListLocations.
753
812
  class ListLocationsResponse
754
813
  include Google::Apis::Core::Hashable
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251114"
25
+ REVISION = "20251210"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ExtendedMetadataSchema
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class FunctionalType
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class ListExtendedMetadataSchemasResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class ListLocationsResponse
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -466,6 +478,15 @@ module Google
466
478
  end
467
479
  end
468
480
 
481
+ class ExtendedMetadataSchema
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :json_schema, as: 'jsonSchema'
485
+ property :name, as: 'name'
486
+ property :schema_version, :numeric_string => true, as: 'schemaVersion'
487
+ end
488
+ end
489
+
469
490
  class FunctionalType
470
491
  # @private
471
492
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -510,6 +531,15 @@ module Google
510
531
  end
511
532
  end
512
533
 
534
+ class ListExtendedMetadataSchemasResponse
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ collection :extended_metadata_schemas, as: 'extendedMetadataSchemas', class: Google::Apis::ApphubV1::ExtendedMetadataSchema, decorator: Google::Apis::ApphubV1::ExtendedMetadataSchema::Representation
538
+
539
+ property :next_page_token, as: 'nextPageToken'
540
+ end
541
+ end
542
+
513
543
  class ListLocationsResponse
514
544
  # @private
515
545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -22,7 +22,7 @@ module Google
22
22
  module ApphubV1
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_v1'
@@ -1310,6 +1310,75 @@ module Google
1310
1310
  execute_or_queue_command(command, &block)
1311
1311
  end
1312
1312
 
1313
+ # Gets an Extended Metadata Schema.
1314
+ # @param [String] name
1315
+ # Required. Schema resource name Format: projects//locations//
1316
+ # extendedMetadataSchemas/ could be "apphub.googleapis.com/Name"
1317
+ # @param [String] fields
1318
+ # Selector specifying which fields to include in a partial response.
1319
+ # @param [String] quota_user
1320
+ # Available to use for quota purposes for server-side applications. Can be any
1321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1322
+ # @param [Google::Apis::RequestOptions] options
1323
+ # Request-specific options
1324
+ #
1325
+ # @yield [result, err] Result & error if block supplied
1326
+ # @yieldparam result [Google::Apis::ApphubV1::ExtendedMetadataSchema] parsed result object
1327
+ # @yieldparam err [StandardError] error object if request failed
1328
+ #
1329
+ # @return [Google::Apis::ApphubV1::ExtendedMetadataSchema]
1330
+ #
1331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1334
+ def get_project_location_extended_metadata_schema(name, fields: nil, quota_user: nil, options: nil, &block)
1335
+ command = make_simple_command(:get, 'v1/{+name}', options)
1336
+ command.response_representation = Google::Apis::ApphubV1::ExtendedMetadataSchema::Representation
1337
+ command.response_class = Google::Apis::ApphubV1::ExtendedMetadataSchema
1338
+ command.params['name'] = name unless name.nil?
1339
+ command.query['fields'] = fields unless fields.nil?
1340
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1341
+ execute_or_queue_command(command, &block)
1342
+ end
1343
+
1344
+ # Lists Extended Metadata Schemas available in a host project and location.
1345
+ # @param [String] parent
1346
+ # Required. Project and location to list Extended Metadata Schemas on. Expected
1347
+ # format: `projects/`project`/locations/`location``.
1348
+ # @param [Fixnum] page_size
1349
+ # Optional. Requested page size. Server may return fewer items than requested.
1350
+ # If unspecified, server will pick an appropriate default.
1351
+ # @param [String] page_token
1352
+ # Optional. A token identifying a page of results the server should return.
1353
+ # @param [String] fields
1354
+ # Selector specifying which fields to include in a partial response.
1355
+ # @param [String] quota_user
1356
+ # Available to use for quota purposes for server-side applications. Can be any
1357
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1358
+ # @param [Google::Apis::RequestOptions] options
1359
+ # Request-specific options
1360
+ #
1361
+ # @yield [result, err] Result & error if block supplied
1362
+ # @yieldparam result [Google::Apis::ApphubV1::ListExtendedMetadataSchemasResponse] parsed result object
1363
+ # @yieldparam err [StandardError] error object if request failed
1364
+ #
1365
+ # @return [Google::Apis::ApphubV1::ListExtendedMetadataSchemasResponse]
1366
+ #
1367
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1368
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1369
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1370
+ def list_project_location_extended_metadata_schemas(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1371
+ command = make_simple_command(:get, 'v1/{+parent}/extendedMetadataSchemas', options)
1372
+ command.response_representation = Google::Apis::ApphubV1::ListExtendedMetadataSchemasResponse::Representation
1373
+ command.response_class = Google::Apis::ApphubV1::ListExtendedMetadataSchemasResponse
1374
+ command.params['parent'] = parent unless parent.nil?
1375
+ command.query['pageSize'] = page_size unless page_size.nil?
1376
+ command.query['pageToken'] = page_token unless page_token.nil?
1377
+ command.query['fields'] = fields unless fields.nil?
1378
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1379
+ execute_or_queue_command(command, &block)
1380
+ end
1381
+
1313
1382
  # Starts asynchronous cancellation on a long-running operation. The server makes
1314
1383
  # a best effort to cancel the operation, but success is not guaranteed. If the
1315
1384
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -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 ApphubV1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apphub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.15.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.16.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1
62
62
  rdoc_options: []
63
63
  require_paths: