google-apis-apihub_v1 0.21.0 → 0.22.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: 433567ebb59f17d3101ff5dad50ca3f99f2869697fb7a5d7e4eb95bc28c2707a
4
- data.tar.gz: 39432ae8367e1da48a73ba9d91a865215d7ab751cbdc1364dd1fd1ce18670fb2
3
+ metadata.gz: 35a74736bcf9c10b4e33c9869d11fa4705addce519c1995de050adf6285e60a7
4
+ data.tar.gz: ebe084399a597d64d82d5b60212328db738e8de5c835199ac2403e9fc44c80b2
5
5
  SHA512:
6
- metadata.gz: 0b7e642194deb2909d9513e970d4ba3057738df95365b29765958d51d638c62969f7c399b221e45bace41dc1b1b8a479f30ea4651b831437495bd533aff4cc0f
7
- data.tar.gz: 0ed4160493f02c585abf0578a2782a228d91b194f74d268e38f891e9fd7faf7c97000736d3338c2c7064cfa1ff007fc5feb7420d95b6d0f3e18d2c735207dcab
6
+ metadata.gz: 5ad00e349e55e0fc337d83c21a2eb5570e9129bc300004de6d8f5e69f94aecd9e8cf35c7787bb97ac1881f59f3ae16abd3529d6ec10dc2fafdb60d8beb4e6f0e
7
+ data.tar.gz: ea908c676c1961eb33b0ae39d52570d250602f613df56a784cd1f8285e9d43de2e34d2a3c88b809c7e5776c84e0ade6f175e65cbc80e591b708d909360a89272
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apihub_v1
2
2
 
3
+ ### v0.22.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260913
6
+
3
7
  ### v0.21.0 (2026-09-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20260831
@@ -711,6 +711,15 @@ module Google
711
711
  # @return [String]
712
712
  attr_accessor :create_time
713
713
 
714
+ # Optional. The deployments linked directly to this API operation. For
715
+ # operations parsed from a spec, `UpdateApiOperation` returns `
716
+ # FAILED_PRECONDITION`; link the parent spec to the deployment via `Spec.
717
+ # deployments` instead. Format is `projects/`project`/locations/`location`/
718
+ # deployments/`deployment``
719
+ # Corresponds to the JSON property `deployments`
720
+ # @return [Array<String>]
721
+ attr_accessor :deployments
722
+
714
723
  # The operation details parsed from the spec.
715
724
  # Corresponds to the JSON property `details`
716
725
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1OperationDetails]
@@ -749,6 +758,7 @@ module Google
749
758
  def update!(**args)
750
759
  @attributes = args[:attributes] if args.key?(:attributes)
751
760
  @create_time = args[:create_time] if args.key?(:create_time)
761
+ @deployments = args[:deployments] if args.key?(:deployments)
752
762
  @details = args[:details] if args.key?(:details)
753
763
  @name = args[:name] if args.key?(:name)
754
764
  @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
@@ -1769,6 +1779,11 @@ module Google
1769
1779
  class GoogleCloudApihubV1Deployment
1770
1780
  include Google::Apis::Core::Hashable
1771
1781
 
1782
+ # Output only. The API operations linked directly to this deployment.
1783
+ # Corresponds to the JSON property `apiOperations`
1784
+ # @return [Array<String>]
1785
+ attr_accessor :api_operations
1786
+
1772
1787
  # Output only. The API versions linked to this deployment. Note: A particular
1773
1788
  # deployment could be linked to multiple different API versions (of same or
1774
1789
  # different APIs).
@@ -1864,11 +1879,26 @@ module Google
1864
1879
  # @return [String]
1865
1880
  attr_accessor :source_project
1866
1881
 
1882
+ # Optional. A revision identifier for the underlying gateway configuration that
1883
+ # this deployment serves. For Apigee gateway variants, this is typically the
1884
+ # proxy revision number populated automatically when the deployment is
1885
+ # discovered.
1886
+ # Corresponds to the JSON property `sourceRevision`
1887
+ # @return [String]
1888
+ attr_accessor :source_revision
1889
+
1867
1890
  # The attribute values associated with resource.
1868
1891
  # Corresponds to the JSON property `sourceUri`
1869
1892
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues]
1870
1893
  attr_accessor :source_uri
1871
1894
 
1895
+ # Output only. The specs linked directly to this deployment. Note: a deployment
1896
+ # could serve multiple specs (e.g., across different revisions of the same
1897
+ # underlying gateway configuration).
1898
+ # Corresponds to the JSON property `specs`
1899
+ # @return [Array<String>]
1900
+ attr_accessor :specs
1901
+
1872
1902
  # Output only. The time at which the deployment was last updated.
1873
1903
  # Corresponds to the JSON property `updateTime`
1874
1904
  # @return [String]
@@ -1880,6 +1910,7 @@ module Google
1880
1910
 
1881
1911
  # Update properties of this object
1882
1912
  def update!(**args)
1913
+ @api_operations = args[:api_operations] if args.key?(:api_operations)
1883
1914
  @api_versions = args[:api_versions] if args.key?(:api_versions)
1884
1915
  @attributes = args[:attributes] if args.key?(:attributes)
1885
1916
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -1896,7 +1927,9 @@ module Google
1896
1927
  @source_environment = args[:source_environment] if args.key?(:source_environment)
1897
1928
  @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
1898
1929
  @source_project = args[:source_project] if args.key?(:source_project)
1930
+ @source_revision = args[:source_revision] if args.key?(:source_revision)
1899
1931
  @source_uri = args[:source_uri] if args.key?(:source_uri)
1932
+ @specs = args[:specs] if args.key?(:specs)
1900
1933
  @update_time = args[:update_time] if args.key?(:update_time)
1901
1934
  end
1902
1935
  end
@@ -4817,6 +4850,12 @@ module Google
4817
4850
  # @return [String]
4818
4851
  attr_accessor :create_time
4819
4852
 
4853
+ # Optional. The deployments linked directly to this spec. Format is `projects/`
4854
+ # project`/locations/`location`/deployments/`deployment``
4855
+ # Corresponds to the JSON property `deployments`
4856
+ # @return [Array<String>]
4857
+ attr_accessor :deployments
4858
+
4820
4859
  # SpecDetails contains the details parsed from supported spec types.
4821
4860
  # Corresponds to the JSON property `details`
4822
4861
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1SpecDetails]
@@ -4881,6 +4920,7 @@ module Google
4881
4920
  @attributes = args[:attributes] if args.key?(:attributes)
4882
4921
  @contents = args[:contents] if args.key?(:contents)
4883
4922
  @create_time = args[:create_time] if args.key?(:create_time)
4923
+ @deployments = args[:deployments] if args.key?(:deployments)
4884
4924
  @details = args[:details] if args.key?(:details)
4885
4925
  @display_name = args[:display_name] if args.key?(:display_name)
4886
4926
  @documentation = args[:documentation] if args.key?(:documentation)
@@ -4951,6 +4991,16 @@ module Google
4951
4991
  class GoogleCloudApihubV1SpecMetadata
4952
4992
  include Google::Apis::Core::Hashable
4953
4993
 
4994
+ # Optional. The gateway-side URIs of deployments that serve this spec. If
4995
+ # provided, the API Hub service creates links between this spec and the
4996
+ # deployments identified by these URIs. URIs that don't match any known
4997
+ # deployment are ignored; a subsequent ingestion cycle that includes the missing
4998
+ # deployment will re-establish the link. The maximum number of URIs allowed is
4999
+ # 100.
5000
+ # Corresponds to the JSON property `deploymentResourceUris`
5001
+ # @return [Array<String>]
5002
+ attr_accessor :deployment_resource_uris
5003
+
4954
5004
  # Optional. Timestamp indicating when the spec was created at the source.
4955
5005
  # Corresponds to the JSON property `originalCreateTime`
4956
5006
  # @return [String]
@@ -4980,6 +5030,7 @@ module Google
4980
5030
 
4981
5031
  # Update properties of this object
4982
5032
  def update!(**args)
5033
+ @deployment_resource_uris = args[:deployment_resource_uris] if args.key?(:deployment_resource_uris)
4983
5034
  @original_create_time = args[:original_create_time] if args.key?(:original_create_time)
4984
5035
  @original_id = args[:original_id] if args.key?(:original_id)
4985
5036
  @original_update_time = args[:original_update_time] if args.key?(:original_update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApihubV1
18
18
  # Version of the google-apis-apihub_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260831"
25
+ REVISION = "20260913"
26
26
  end
27
27
  end
28
28
  end
@@ -1107,6 +1107,7 @@ module Google
1107
1107
  hash :attributes, as: 'attributes', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1108
1108
 
1109
1109
  property :create_time, as: 'createTime'
1110
+ collection :deployments, as: 'deployments'
1110
1111
  property :details, as: 'details', class: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationDetails, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1OperationDetails::Representation
1111
1112
 
1112
1113
  property :name, as: 'name'
@@ -1402,6 +1403,7 @@ module Google
1402
1403
  class GoogleCloudApihubV1Deployment
1403
1404
  # @private
1404
1405
  class Representation < Google::Apis::Core::JsonRepresentation
1406
+ collection :api_operations, as: 'apiOperations'
1405
1407
  collection :api_versions, as: 'apiVersions'
1406
1408
  hash :attributes, as: 'attributes', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1407
1409
 
@@ -1425,8 +1427,10 @@ module Google
1425
1427
  collection :source_metadata, as: 'sourceMetadata', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata::Representation
1426
1428
 
1427
1429
  property :source_project, as: 'sourceProject'
1430
+ property :source_revision, as: 'sourceRevision'
1428
1431
  property :source_uri, as: 'sourceUri', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1429
1432
 
1433
+ collection :specs, as: 'specs'
1430
1434
  property :update_time, as: 'updateTime'
1431
1435
  end
1432
1436
  end
@@ -2312,6 +2316,7 @@ module Google
2312
2316
  property :contents, as: 'contents', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecContents::Representation
2313
2317
 
2314
2318
  property :create_time, as: 'createTime'
2319
+ collection :deployments, as: 'deployments'
2315
2320
  property :details, as: 'details', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecDetails, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SpecDetails::Representation
2316
2321
 
2317
2322
  property :display_name, as: 'displayName'
@@ -2350,6 +2355,7 @@ module Google
2350
2355
  class GoogleCloudApihubV1SpecMetadata
2351
2356
  # @private
2352
2357
  class Representation < Google::Apis::Core::JsonRepresentation
2358
+ collection :deployment_resource_uris, as: 'deploymentResourceUris'
2353
2359
  property :original_create_time, as: 'originalCreateTime'
2354
2360
  property :original_id, as: 'originalId'
2355
2361
  property :original_update_time, as: 'originalUpdateTime'
@@ -1199,7 +1199,8 @@ module Google
1199
1199
 
1200
1200
  # Delete an operation in an API version and we can delete only the operations
1201
1201
  # created via create API. If the operation was created by parsing the spec, then
1202
- # it can be deleted by editing or deleting the spec.
1202
+ # it can be deleted by editing or deleting the spec. Deleting an operation will
1203
+ # also remove any links between the operation and deployments.
1203
1204
  # @param [String] name
1204
1205
  # Required. The name of the operation resource to delete. Format: `projects/`
1205
1206
  # project`/locations/`location`/apis/`api`/versions/`version`/operations/`
@@ -1464,7 +1465,7 @@ module Google
1464
1465
  end
1465
1466
 
1466
1467
  # Delete a spec. Deleting a spec will also delete the associated operations from
1467
- # the version.
1468
+ # the version and remove any links between the spec and deployments.
1468
1469
  # @param [String] name
1469
1470
  # Required. The name of the spec to delete. Format: `projects/`project`/
1470
1471
  # locations/`location`/apis/`api`/versions/`version`/specs/`spec``
@@ -2465,7 +2466,8 @@ module Google
2465
2466
  execute_or_queue_command(command, &block)
2466
2467
  end
2467
2468
 
2468
- # Delete a deployment resource in the API hub.
2469
+ # Deletes a deployment resource in the API hub. A deployment can only be deleted
2470
+ # after its links to any versions, specs, and API operations have been removed.
2469
2471
  # @param [String] name
2470
2472
  # Required. The name of the deployment resource to delete. Format: `projects/`
2471
2473
  # project`/locations/`location`/deployments/`deployment``
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apihub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.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-apihub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.22.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apihub_v1
62
62
  rdoc_options: []
63
63
  require_paths: