google-apis-apihub_v1 0.4.0 → 0.6.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: bc622ccbcc1c476e1acbb415a54c7784036fdee2cdc0084e697e8eab7becaec8
4
- data.tar.gz: 05f2ab56338a6fd7afee586c8bd74e32dacb704f6b244e61b6d71286df2c09e0
3
+ metadata.gz: b84d1a81597e28c0668599d7be54e47df723cfa27023f91193e10c5fd8e9ec80
4
+ data.tar.gz: 29c90f6148bced18f1aafd1da5d51ad4272ad6cf30ae12f9860cc3ad7cbc4578
5
5
  SHA512:
6
- metadata.gz: ed49a4930deb1ec906225d17173f8ad7278f2f5b85c3eedd21b52972ecadc37807cbf2f4a7d871f571521bedca9fe0abc25bd394923e9056427acdf41c3f17d3
7
- data.tar.gz: d441e1105b5daea759ddef7c9ecc101946f015b344719642345b265d47f44af9cbd9d49fd43485f65b7d3d41f588fe24543770511e90bfbaa08ac5b4a66ef4d2
6
+ metadata.gz: 362c9b094b4acf9f2676eeae00eb8bf5186614eba2b081b69e2a6d471b5ab013e49e91e4082788198ac6f91541260ec5b66c58cb47e857a3c4fdc7bab388ea07
7
+ data.tar.gz: bd0b7d36288f2f0a1e5dc4c63a56ea1a40960c5b18235faaf84760fe6f478e5a05ea95623e1dc19d6037adcac8fc9eedddfbe61a52f619f095c7a2e410197d31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apihub_v1
2
2
 
3
+ ### v0.6.0 (2025-08-10)
4
+
5
+ * Regenerated from discovery document revision 20250731
6
+
7
+ ### v0.5.0 (2025-07-06)
8
+
9
+ * Regenerated from discovery document revision 20250701
10
+
3
11
  ### v0.4.0 (2025-06-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20250611
@@ -1461,15 +1461,22 @@ module Google
1461
1461
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues]
1462
1462
  attr_accessor :environment
1463
1463
 
1464
+ # The attribute values associated with resource.
1465
+ # Corresponds to the JSON property `managementUrl`
1466
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues]
1467
+ attr_accessor :management_url
1468
+
1464
1469
  # Identifier. The name of the deployment. Format: `projects/`project`/locations/`
1465
1470
  # location`/deployments/`deployment``
1466
1471
  # Corresponds to the JSON property `name`
1467
1472
  # @return [String]
1468
1473
  attr_accessor :name
1469
1474
 
1470
- # Required. A uri that uniquely identfies the deployment within a particular
1471
- # gateway. For example, if the runtime resource is of type APIGEE_PROXY, then
1472
- # this field will be a combination of org, proxy name and environment.
1475
+ # Required. The resource URI identifies the deployment within its gateway. For
1476
+ # Apigee gateways, its recommended to use the format: organizations/`org`/
1477
+ # environments/`env`/apis/`api`. For ex: if a proxy with name `orders` is
1478
+ # deployed in `staging` environment of `cymbal` organization, the resource URI
1479
+ # would be: `organizations/cymbal/environments/staging/apis/orders`.
1473
1480
  # Corresponds to the JSON property `resourceUri`
1474
1481
  # @return [String]
1475
1482
  attr_accessor :resource_uri
@@ -1479,12 +1486,30 @@ module Google
1479
1486
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues]
1480
1487
  attr_accessor :slo
1481
1488
 
1489
+ # Optional. The environment at source for the deployment. For example: prod, dev,
1490
+ # staging, etc.
1491
+ # Corresponds to the JSON property `sourceEnvironment`
1492
+ # @return [String]
1493
+ attr_accessor :source_environment
1494
+
1482
1495
  # Output only. The list of sources and metadata from the sources of the
1483
1496
  # deployment.
1484
1497
  # Corresponds to the JSON property `sourceMetadata`
1485
1498
  # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata>]
1486
1499
  attr_accessor :source_metadata
1487
1500
 
1501
+ # Optional. The project to which the deployment belongs. For GCP gateways, this
1502
+ # will refer to the project identifier. For others like Edge/OPDK, this will
1503
+ # refer to the org identifier.
1504
+ # Corresponds to the JSON property `sourceProject`
1505
+ # @return [String]
1506
+ attr_accessor :source_project
1507
+
1508
+ # The attribute values associated with resource.
1509
+ # Corresponds to the JSON property `sourceUri`
1510
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues]
1511
+ attr_accessor :source_uri
1512
+
1488
1513
  # Output only. The time at which the deployment was last updated.
1489
1514
  # Corresponds to the JSON property `updateTime`
1490
1515
  # @return [String]
@@ -1505,10 +1530,14 @@ module Google
1505
1530
  @documentation = args[:documentation] if args.key?(:documentation)
1506
1531
  @endpoints = args[:endpoints] if args.key?(:endpoints)
1507
1532
  @environment = args[:environment] if args.key?(:environment)
1533
+ @management_url = args[:management_url] if args.key?(:management_url)
1508
1534
  @name = args[:name] if args.key?(:name)
1509
1535
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1510
1536
  @slo = args[:slo] if args.key?(:slo)
1537
+ @source_environment = args[:source_environment] if args.key?(:source_environment)
1511
1538
  @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
1539
+ @source_project = args[:source_project] if args.key?(:source_project)
1540
+ @source_uri = args[:source_uri] if args.key?(:source_uri)
1512
1541
  @update_time = args[:update_time] if args.key?(:update_time)
1513
1542
  end
1514
1543
  end
@@ -1587,6 +1616,187 @@ module Google
1587
1616
  end
1588
1617
  end
1589
1618
 
1619
+ # Respresents an API Observation observed in one of the sources.
1620
+ class GoogleCloudApihubV1DiscoveredApiObservation
1621
+ include Google::Apis::Core::Hashable
1622
+
1623
+ # Optional. The number of observed API Operations.
1624
+ # Corresponds to the JSON property `apiOperationCount`
1625
+ # @return [Fixnum]
1626
+ attr_accessor :api_operation_count
1627
+
1628
+ # Output only. Create time stamp of the observation in API Hub.
1629
+ # Corresponds to the JSON property `createTime`
1630
+ # @return [String]
1631
+ attr_accessor :create_time
1632
+
1633
+ # Optional. The hostname of requests processed for this Observation.
1634
+ # Corresponds to the JSON property `hostname`
1635
+ # @return [String]
1636
+ attr_accessor :hostname
1637
+
1638
+ # Output only. The number of known API Operations.
1639
+ # Corresponds to the JSON property `knownOperationsCount`
1640
+ # @return [Fixnum]
1641
+ attr_accessor :known_operations_count
1642
+
1643
+ # Optional. Last event detected time stamp
1644
+ # Corresponds to the JSON property `lastEventDetectedTime`
1645
+ # @return [String]
1646
+ attr_accessor :last_event_detected_time
1647
+
1648
+ # Identifier. The name of the discovered API Observation. Format: `projects/`
1649
+ # project`/locations/`location`/discoveredApiObservations/`
1650
+ # discovered_api_observation``
1651
+ # Corresponds to the JSON property `name`
1652
+ # @return [String]
1653
+ attr_accessor :name
1654
+
1655
+ # Optional. For an observation pushed from a gcp resource, this would be the gcp
1656
+ # project id.
1657
+ # Corresponds to the JSON property `origin`
1658
+ # @return [String]
1659
+ attr_accessor :origin
1660
+
1661
+ # Optional. The IP address (IPv4 or IPv6) of the origin server that the request
1662
+ # was sent to. This field can include port information. Examples: `"192.168.1.1"`
1663
+ # , `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`.
1664
+ # Corresponds to the JSON property `serverIps`
1665
+ # @return [Array<String>]
1666
+ attr_accessor :server_ips
1667
+
1668
+ # Optional. The location of the observation source.
1669
+ # Corresponds to the JSON property `sourceLocations`
1670
+ # @return [Array<String>]
1671
+ attr_accessor :source_locations
1672
+
1673
+ # SourceMetadata represents the metadata for a resource at the source.
1674
+ # Corresponds to the JSON property `sourceMetadata`
1675
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata]
1676
+ attr_accessor :source_metadata
1677
+
1678
+ # Optional. The type of the source from which the observation was collected.
1679
+ # Corresponds to the JSON property `sourceTypes`
1680
+ # @return [Array<String>]
1681
+ attr_accessor :source_types
1682
+
1683
+ # Optional. Style of ApiObservation
1684
+ # Corresponds to the JSON property `style`
1685
+ # @return [String]
1686
+ attr_accessor :style
1687
+
1688
+ # Output only. The number of unknown API Operations.
1689
+ # Corresponds to the JSON property `unknownOperationsCount`
1690
+ # @return [Fixnum]
1691
+ attr_accessor :unknown_operations_count
1692
+
1693
+ # Output only. Update time stamp of the observation in API Hub.
1694
+ # Corresponds to the JSON property `updateTime`
1695
+ # @return [String]
1696
+ attr_accessor :update_time
1697
+
1698
+ def initialize(**args)
1699
+ update!(**args)
1700
+ end
1701
+
1702
+ # Update properties of this object
1703
+ def update!(**args)
1704
+ @api_operation_count = args[:api_operation_count] if args.key?(:api_operation_count)
1705
+ @create_time = args[:create_time] if args.key?(:create_time)
1706
+ @hostname = args[:hostname] if args.key?(:hostname)
1707
+ @known_operations_count = args[:known_operations_count] if args.key?(:known_operations_count)
1708
+ @last_event_detected_time = args[:last_event_detected_time] if args.key?(:last_event_detected_time)
1709
+ @name = args[:name] if args.key?(:name)
1710
+ @origin = args[:origin] if args.key?(:origin)
1711
+ @server_ips = args[:server_ips] if args.key?(:server_ips)
1712
+ @source_locations = args[:source_locations] if args.key?(:source_locations)
1713
+ @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
1714
+ @source_types = args[:source_types] if args.key?(:source_types)
1715
+ @style = args[:style] if args.key?(:style)
1716
+ @unknown_operations_count = args[:unknown_operations_count] if args.key?(:unknown_operations_count)
1717
+ @update_time = args[:update_time] if args.key?(:update_time)
1718
+ end
1719
+ end
1720
+
1721
+ # DiscoveredApiOperation represents an API Operation observed in one of the
1722
+ # sources.
1723
+ class GoogleCloudApihubV1DiscoveredApiOperation
1724
+ include Google::Apis::Core::Hashable
1725
+
1726
+ # Output only. The classification of the discovered API operation.
1727
+ # Corresponds to the JSON property `classification`
1728
+ # @return [String]
1729
+ attr_accessor :classification
1730
+
1731
+ # Optional. The number of occurrences of this API Operation.
1732
+ # Corresponds to the JSON property `count`
1733
+ # @return [Fixnum]
1734
+ attr_accessor :count
1735
+
1736
+ # Output only. Create time stamp of the discovered API operation in API Hub.
1737
+ # Corresponds to the JSON property `createTime`
1738
+ # @return [String]
1739
+ attr_accessor :create_time
1740
+
1741
+ # Optional. First seen time stamp
1742
+ # Corresponds to the JSON property `firstSeenTime`
1743
+ # @return [String]
1744
+ attr_accessor :first_seen_time
1745
+
1746
+ # An HTTP-based API Operation, sometimes called a "REST" Operation.
1747
+ # Corresponds to the JSON property `httpOperation`
1748
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationDetails]
1749
+ attr_accessor :http_operation
1750
+
1751
+ # Optional. Last seen time stamp
1752
+ # Corresponds to the JSON property `lastSeenTime`
1753
+ # @return [String]
1754
+ attr_accessor :last_seen_time
1755
+
1756
+ # Output only. The list of matched results for the discovered API operation.
1757
+ # This will be populated only if the classification is known. The current
1758
+ # usecase is for a single match. Keeping it repeated to support multiple matches
1759
+ # in future.
1760
+ # Corresponds to the JSON property `matchResults`
1761
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1MatchResult>]
1762
+ attr_accessor :match_results
1763
+
1764
+ # Identifier. The name of the discovered API Operation. Format: `projects/`
1765
+ # project`/locations/`location`/discoveredApiObservations/`
1766
+ # discovered_api_observation`/discoveredApiOperations/`discovered_api_operation``
1767
+ # Corresponds to the JSON property `name`
1768
+ # @return [String]
1769
+ attr_accessor :name
1770
+
1771
+ # SourceMetadata represents the metadata for a resource at the source.
1772
+ # Corresponds to the JSON property `sourceMetadata`
1773
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata]
1774
+ attr_accessor :source_metadata
1775
+
1776
+ # Output only. Update time stamp of the discovered API operation in API Hub.
1777
+ # Corresponds to the JSON property `updateTime`
1778
+ # @return [String]
1779
+ attr_accessor :update_time
1780
+
1781
+ def initialize(**args)
1782
+ update!(**args)
1783
+ end
1784
+
1785
+ # Update properties of this object
1786
+ def update!(**args)
1787
+ @classification = args[:classification] if args.key?(:classification)
1788
+ @count = args[:count] if args.key?(:count)
1789
+ @create_time = args[:create_time] if args.key?(:create_time)
1790
+ @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time)
1791
+ @http_operation = args[:http_operation] if args.key?(:http_operation)
1792
+ @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time)
1793
+ @match_results = args[:match_results] if args.key?(:match_results)
1794
+ @name = args[:name] if args.key?(:name)
1795
+ @source_metadata = args[:source_metadata] if args.key?(:source_metadata)
1796
+ @update_time = args[:update_time] if args.key?(:update_time)
1797
+ end
1798
+ end
1799
+
1590
1800
  # Documentation details.
1591
1801
  class GoogleCloudApihubV1Documentation
1592
1802
  include Google::Apis::Core::Hashable
@@ -1818,6 +2028,37 @@ module Google
1818
2028
  end
1819
2029
  end
1820
2030
 
2031
+ # An aggregation of HTTP header occurrences.
2032
+ class GoogleCloudApihubV1Header
2033
+ include Google::Apis::Core::Hashable
2034
+
2035
+ # The number of occurrences of this Header across transactions.
2036
+ # Corresponds to the JSON property `count`
2037
+ # @return [Fixnum]
2038
+ attr_accessor :count
2039
+
2040
+ # Data type of header
2041
+ # Corresponds to the JSON property `dataType`
2042
+ # @return [String]
2043
+ attr_accessor :data_type
2044
+
2045
+ # Header name.
2046
+ # Corresponds to the JSON property `name`
2047
+ # @return [String]
2048
+ attr_accessor :name
2049
+
2050
+ def initialize(**args)
2051
+ update!(**args)
2052
+ end
2053
+
2054
+ # Update properties of this object
2055
+ def update!(**args)
2056
+ @count = args[:count] if args.key?(:count)
2057
+ @data_type = args[:data_type] if args.key?(:data_type)
2058
+ @name = args[:name] if args.key?(:name)
2059
+ end
2060
+ end
2061
+
1821
2062
  # Host project registration refers to the registration of a Google cloud project
1822
2063
  # with Api Hub as a host project. This is the project where Api Hub is
1823
2064
  # provisioned. It acts as the consumer project for the Api Hub instance
@@ -1906,6 +2147,93 @@ module Google
1906
2147
  end
1907
2148
  end
1908
2149
 
2150
+ # An HTTP-based API Operation, sometimes called a "REST" Operation.
2151
+ class GoogleCloudApihubV1HttpOperationDetails
2152
+ include Google::Apis::Core::Hashable
2153
+
2154
+ # The HTTP Operation.
2155
+ # Corresponds to the JSON property `httpOperation`
2156
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation]
2157
+ attr_accessor :http_operation
2158
+
2159
+ # Optional. Path params of HttpOperation
2160
+ # Corresponds to the JSON property `pathParams`
2161
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1PathParam>]
2162
+ attr_accessor :path_params
2163
+
2164
+ # Optional. Query params of HttpOperation
2165
+ # Corresponds to the JSON property `queryParams`
2166
+ # @return [Hash<String,Google::Apis::ApihubV1::GoogleCloudApihubV1QueryParam>]
2167
+ attr_accessor :query_params
2168
+
2169
+ # An aggregation of HTTP requests.
2170
+ # Corresponds to the JSON property `request`
2171
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpRequest]
2172
+ attr_accessor :request
2173
+
2174
+ # An aggregation of HTTP responses.
2175
+ # Corresponds to the JSON property `response`
2176
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1HttpResponse]
2177
+ attr_accessor :response
2178
+
2179
+ def initialize(**args)
2180
+ update!(**args)
2181
+ end
2182
+
2183
+ # Update properties of this object
2184
+ def update!(**args)
2185
+ @http_operation = args[:http_operation] if args.key?(:http_operation)
2186
+ @path_params = args[:path_params] if args.key?(:path_params)
2187
+ @query_params = args[:query_params] if args.key?(:query_params)
2188
+ @request = args[:request] if args.key?(:request)
2189
+ @response = args[:response] if args.key?(:response)
2190
+ end
2191
+ end
2192
+
2193
+ # An aggregation of HTTP requests.
2194
+ class GoogleCloudApihubV1HttpRequest
2195
+ include Google::Apis::Core::Hashable
2196
+
2197
+ # Optional. Unordered map from header name to header metadata
2198
+ # Corresponds to the JSON property `headers`
2199
+ # @return [Hash<String,Google::Apis::ApihubV1::GoogleCloudApihubV1Header>]
2200
+ attr_accessor :headers
2201
+
2202
+ def initialize(**args)
2203
+ update!(**args)
2204
+ end
2205
+
2206
+ # Update properties of this object
2207
+ def update!(**args)
2208
+ @headers = args[:headers] if args.key?(:headers)
2209
+ end
2210
+ end
2211
+
2212
+ # An aggregation of HTTP responses.
2213
+ class GoogleCloudApihubV1HttpResponse
2214
+ include Google::Apis::Core::Hashable
2215
+
2216
+ # Optional. Unordered map from header name to header metadata
2217
+ # Corresponds to the JSON property `headers`
2218
+ # @return [Hash<String,Google::Apis::ApihubV1::GoogleCloudApihubV1Header>]
2219
+ attr_accessor :headers
2220
+
2221
+ # Optional. Map of status code to observed count
2222
+ # Corresponds to the JSON property `responseCodes`
2223
+ # @return [Hash<String,Fixnum>]
2224
+ attr_accessor :response_codes
2225
+
2226
+ def initialize(**args)
2227
+ update!(**args)
2228
+ end
2229
+
2230
+ # Update properties of this object
2231
+ def update!(**args)
2232
+ @headers = args[:headers] if args.key?(:headers)
2233
+ @response_codes = args[:response_codes] if args.key?(:response_codes)
2234
+ end
2235
+ end
2236
+
1909
2237
  # Issue contains the details of a single issue found by the linter.
1910
2238
  class GoogleCloudApihubV1Issue
1911
2239
  include Google::Apis::Core::Hashable
@@ -2206,6 +2534,59 @@ module Google
2206
2534
  end
2207
2535
  end
2208
2536
 
2537
+ # Message for response to listing DiscoveredApiObservations
2538
+ class GoogleCloudApihubV1ListDiscoveredApiObservationsResponse
2539
+ include Google::Apis::Core::Hashable
2540
+
2541
+ # The DiscoveredApiObservation from the specified project and location.
2542
+ # Corresponds to the JSON property `discoveredApiObservations`
2543
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation>]
2544
+ attr_accessor :discovered_api_observations
2545
+
2546
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2547
+ # field is omitted, there are no subsequent pages.
2548
+ # Corresponds to the JSON property `nextPageToken`
2549
+ # @return [String]
2550
+ attr_accessor :next_page_token
2551
+
2552
+ def initialize(**args)
2553
+ update!(**args)
2554
+ end
2555
+
2556
+ # Update properties of this object
2557
+ def update!(**args)
2558
+ @discovered_api_observations = args[:discovered_api_observations] if args.key?(:discovered_api_observations)
2559
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2560
+ end
2561
+ end
2562
+
2563
+ # Message for response to listing DiscoveredApiOperations
2564
+ class GoogleCloudApihubV1ListDiscoveredApiOperationsResponse
2565
+ include Google::Apis::Core::Hashable
2566
+
2567
+ # The DiscoveredApiOperations from the specified project, location and
2568
+ # DiscoveredApiObservation.
2569
+ # Corresponds to the JSON property `discoveredApiOperations`
2570
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation>]
2571
+ attr_accessor :discovered_api_operations
2572
+
2573
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2574
+ # field is omitted, there are no subsequent pages.
2575
+ # Corresponds to the JSON property `nextPageToken`
2576
+ # @return [String]
2577
+ attr_accessor :next_page_token
2578
+
2579
+ def initialize(**args)
2580
+ update!(**args)
2581
+ end
2582
+
2583
+ # Update properties of this object
2584
+ def update!(**args)
2585
+ @discovered_api_operations = args[:discovered_api_operations] if args.key?(:discovered_api_operations)
2586
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2587
+ end
2588
+ end
2589
+
2209
2590
  # The ListExternalApis method's response.
2210
2591
  class GoogleCloudApihubV1ListExternalApisResponse
2211
2592
  include Google::Apis::Core::Hashable
@@ -2430,6 +2811,27 @@ module Google
2430
2811
  end
2431
2812
  end
2432
2813
 
2814
+ # MatchResult represents the result of matching a discovered API operation with
2815
+ # a catalog API operation.
2816
+ class GoogleCloudApihubV1MatchResult
2817
+ include Google::Apis::Core::Hashable
2818
+
2819
+ # Output only. The name of the matched API Operation. Format: `projects/`project`
2820
+ # /locations/`location`/apis/`api`/versions/`version`/operations/`operation``
2821
+ # Corresponds to the JSON property `name`
2822
+ # @return [String]
2823
+ attr_accessor :name
2824
+
2825
+ def initialize(**args)
2826
+ update!(**args)
2827
+ end
2828
+
2829
+ # Update properties of this object
2830
+ def update!(**args)
2831
+ @name = args[:name] if args.key?(:name)
2832
+ end
2833
+ end
2834
+
2433
2835
  # The config variable value of data type multi int.
2434
2836
  class GoogleCloudApihubV1MultiIntValues
2435
2837
  include Google::Apis::Core::Hashable
@@ -2698,11 +3100,36 @@ module Google
2698
3100
  end
2699
3101
  end
2700
3102
 
3103
+ # HTTP Path parameter.
3104
+ class GoogleCloudApihubV1PathParam
3105
+ include Google::Apis::Core::Hashable
3106
+
3107
+ # Optional. Data type of path param
3108
+ # Corresponds to the JSON property `dataType`
3109
+ # @return [String]
3110
+ attr_accessor :data_type
3111
+
3112
+ # Optional. Segment location in the path, 1-indexed
3113
+ # Corresponds to the JSON property `position`
3114
+ # @return [Fixnum]
3115
+ attr_accessor :position
3116
+
3117
+ def initialize(**args)
3118
+ update!(**args)
3119
+ end
3120
+
3121
+ # Update properties of this object
3122
+ def update!(**args)
3123
+ @data_type = args[:data_type] if args.key?(:data_type)
3124
+ @position = args[:position] if args.key?(:position)
3125
+ end
3126
+ end
3127
+
2701
3128
  # A plugin resource in the API Hub.
2702
3129
  class GoogleCloudApihubV1Plugin
2703
3130
  include Google::Apis::Core::Hashable
2704
3131
 
2705
- # Optional. The configuration of actions supported by the plugin.
3132
+ # Required. The configuration of actions supported by the plugin.
2706
3133
  # Corresponds to the JSON property `actionsConfig`
2707
3134
  # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1PluginActionConfig>]
2708
3135
  attr_accessor :actions_config
@@ -2734,6 +3161,11 @@ module Google
2734
3161
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation]
2735
3162
  attr_accessor :documentation
2736
3163
 
3164
+ # Optional. The type of the gateway.
3165
+ # Corresponds to the JSON property `gatewayType`
3166
+ # @return [String]
3167
+ attr_accessor :gateway_type
3168
+
2737
3169
  # The information related to the service implemented by the plugin developer,
2738
3170
  # used to invoke the plugin's functionality.
2739
3171
  # Corresponds to the JSON property `hostingService`
@@ -2787,6 +3219,7 @@ module Google
2787
3219
  @description = args[:description] if args.key?(:description)
2788
3220
  @display_name = args[:display_name] if args.key?(:display_name)
2789
3221
  @documentation = args[:documentation] if args.key?(:documentation)
3222
+ @gateway_type = args[:gateway_type] if args.key?(:gateway_type)
2790
3223
  @hosting_service = args[:hosting_service] if args.key?(:hosting_service)
2791
3224
  @name = args[:name] if args.key?(:name)
2792
3225
  @ownership_type = args[:ownership_type] if args.key?(:ownership_type)
@@ -2885,6 +3318,14 @@ module Google
2885
3318
  # @return [String]
2886
3319
  attr_accessor :name
2887
3320
 
3321
+ # Optional. The source project id of the plugin instance. This will be the id of
3322
+ # runtime project in case of gcp based plugins and org id in case of non gcp
3323
+ # based plugins. This field will be a required field for Google provided on-ramp
3324
+ # plugins.
3325
+ # Corresponds to the JSON property `sourceProjectId`
3326
+ # @return [String]
3327
+ attr_accessor :source_project_id
3328
+
2888
3329
  # Output only. The current state of the plugin instance (e.g., enabled, disabled,
2889
3330
  # provisioning).
2890
3331
  # Corresponds to the JSON property `state`
@@ -2909,6 +3350,7 @@ module Google
2909
3350
  @display_name = args[:display_name] if args.key?(:display_name)
2910
3351
  @error_message = args[:error_message] if args.key?(:error_message)
2911
3352
  @name = args[:name] if args.key?(:name)
3353
+ @source_project_id = args[:source_project_id] if args.key?(:source_project_id)
2912
3354
  @state = args[:state] if args.key?(:state)
2913
3355
  @update_time = args[:update_time] if args.key?(:update_time)
2914
3356
  end
@@ -2935,6 +3377,11 @@ module Google
2935
3377
  # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ExecutionStatus]
2936
3378
  attr_accessor :hub_instance_action
2937
3379
 
3380
+ # The configuration of resources created for a given plugin instance action.
3381
+ # Corresponds to the JSON property `resourceConfig`
3382
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ResourceConfig]
3383
+ attr_accessor :resource_config
3384
+
2938
3385
  # Optional. The schedule for this plugin instance action. This can only be set
2939
3386
  # if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
2940
3387
  # Corresponds to the JSON property `scheduleCronExpression`
@@ -2947,6 +3394,12 @@ module Google
2947
3394
  # @return [String]
2948
3395
  attr_accessor :schedule_time_zone
2949
3396
 
3397
+ # Optional. The service account used to publish data. Note, the service account
3398
+ # will only be accepted for non GCP plugins like OPDK.
3399
+ # Corresponds to the JSON property `serviceAccount`
3400
+ # @return [String]
3401
+ attr_accessor :service_account
3402
+
2950
3403
  # Output only. The current state of the plugin action in the plugin instance.
2951
3404
  # Corresponds to the JSON property `state`
2952
3405
  # @return [String]
@@ -2961,8 +3414,10 @@ module Google
2961
3414
  @action_id = args[:action_id] if args.key?(:action_id)
2962
3415
  @curation_config = args[:curation_config] if args.key?(:curation_config)
2963
3416
  @hub_instance_action = args[:hub_instance_action] if args.key?(:hub_instance_action)
3417
+ @resource_config = args[:resource_config] if args.key?(:resource_config)
2964
3418
  @schedule_cron_expression = args[:schedule_cron_expression] if args.key?(:schedule_cron_expression)
2965
3419
  @schedule_time_zone = args[:schedule_time_zone] if args.key?(:schedule_time_zone)
3420
+ @service_account = args[:service_account] if args.key?(:service_account)
2966
3421
  @state = args[:state] if args.key?(:state)
2967
3422
  end
2968
3423
  end
@@ -3045,6 +3500,38 @@ module Google
3045
3500
  end
3046
3501
  end
3047
3502
 
3503
+ # An aggregation of HTTP query parameter occurrences.
3504
+ class GoogleCloudApihubV1QueryParam
3505
+ include Google::Apis::Core::Hashable
3506
+
3507
+ # Optional. The number of occurrences of this query parameter across
3508
+ # transactions.
3509
+ # Corresponds to the JSON property `count`
3510
+ # @return [Fixnum]
3511
+ attr_accessor :count
3512
+
3513
+ # Optional. Data type of path param
3514
+ # Corresponds to the JSON property `dataType`
3515
+ # @return [String]
3516
+ attr_accessor :data_type
3517
+
3518
+ # Required. Name of query param
3519
+ # Corresponds to the JSON property `name`
3520
+ # @return [String]
3521
+ attr_accessor :name
3522
+
3523
+ def initialize(**args)
3524
+ update!(**args)
3525
+ end
3526
+
3527
+ # Update properties of this object
3528
+ def update!(**args)
3529
+ @count = args[:count] if args.key?(:count)
3530
+ @data_type = args[:data_type] if args.key?(:data_type)
3531
+ @name = args[:name] if args.key?(:name)
3532
+ end
3533
+ end
3534
+
3048
3535
  # Object describing where in the file the issue was found.
3049
3536
  class GoogleCloudApihubV1Range
3050
3537
  include Google::Apis::Core::Hashable
@@ -3070,6 +3557,32 @@ module Google
3070
3557
  end
3071
3558
  end
3072
3559
 
3560
+ # The configuration of resources created for a given plugin instance action.
3561
+ class GoogleCloudApihubV1ResourceConfig
3562
+ include Google::Apis::Core::Hashable
3563
+
3564
+ # Output only. The type of the action.
3565
+ # Corresponds to the JSON property `actionType`
3566
+ # @return [String]
3567
+ attr_accessor :action_type
3568
+
3569
+ # Output only. The pubsub topic to publish the data to. Format is projects/`
3570
+ # project`/topics/`topic`
3571
+ # Corresponds to the JSON property `pubsubTopic`
3572
+ # @return [String]
3573
+ attr_accessor :pubsub_topic
3574
+
3575
+ def initialize(**args)
3576
+ update!(**args)
3577
+ end
3578
+
3579
+ # Update properties of this object
3580
+ def update!(**args)
3581
+ @action_type = args[:action_type] if args.key?(:action_type)
3582
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
3583
+ end
3584
+ end
3585
+
3073
3586
  # Runtime project attachment represents an attachment from the runtime project
3074
3587
  # to the host project. Api Hub looks for deployments in the attached runtime
3075
3588
  # projects and creates corresponding resources in Api Hub for the discovered
@@ -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.4.0"
19
+ GEM_VERSION = "0.6.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 = "20250611"
25
+ REVISION = "20250731"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleCloudApihubV1DiscoveredApiObservation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudApihubV1DiscoveredApiOperation
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class GoogleCloudApihubV1Documentation
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class GoogleCloudApihubV1Header
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class GoogleCloudApihubV1HostProjectRegistration
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -292,6 +310,24 @@ module Google
292
310
  include Google::Apis::Core::JsonObjectSupport
293
311
  end
294
312
 
313
+ class GoogleCloudApihubV1HttpOperationDetails
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudApihubV1HttpRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudApihubV1HttpResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
295
331
  class GoogleCloudApihubV1Issue
296
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
333
 
@@ -352,6 +388,18 @@ module Google
352
388
  include Google::Apis::Core::JsonObjectSupport
353
389
  end
354
390
 
391
+ class GoogleCloudApihubV1ListDiscoveredApiObservationsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudApihubV1ListDiscoveredApiOperationsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
355
403
  class GoogleCloudApihubV1ListExternalApisResponse
356
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
405
 
@@ -406,6 +454,12 @@ module Google
406
454
  include Google::Apis::Core::JsonObjectSupport
407
455
  end
408
456
 
457
+ class GoogleCloudApihubV1MatchResult
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
409
463
  class GoogleCloudApihubV1MultiIntValues
410
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
465
 
@@ -460,6 +514,12 @@ module Google
460
514
  include Google::Apis::Core::JsonObjectSupport
461
515
  end
462
516
 
517
+ class GoogleCloudApihubV1PathParam
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
463
523
  class GoogleCloudApihubV1Plugin
464
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
525
 
@@ -502,12 +562,24 @@ module Google
502
562
  include Google::Apis::Core::JsonObjectSupport
503
563
  end
504
564
 
565
+ class GoogleCloudApihubV1QueryParam
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
505
571
  class GoogleCloudApihubV1Range
506
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
573
 
508
574
  include Google::Apis::Core::JsonObjectSupport
509
575
  end
510
576
 
577
+ class GoogleCloudApihubV1ResourceConfig
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
511
583
  class GoogleCloudApihubV1RuntimeProjectAttachment
512
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
585
 
@@ -1049,12 +1121,18 @@ module Google
1049
1121
  collection :endpoints, as: 'endpoints'
1050
1122
  property :environment, as: 'environment', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1051
1123
 
1124
+ property :management_url, as: 'managementUrl', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1125
+
1052
1126
  property :name, as: 'name'
1053
1127
  property :resource_uri, as: 'resourceUri'
1054
1128
  property :slo, as: 'slo', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1055
1129
 
1130
+ property :source_environment, as: 'sourceEnvironment'
1056
1131
  collection :source_metadata, as: 'sourceMetadata', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata::Representation
1057
1132
 
1133
+ property :source_project, as: 'sourceProject'
1134
+ property :source_uri, as: 'sourceUri', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AttributeValues::Representation
1135
+
1058
1136
  property :update_time, as: 'updateTime'
1059
1137
  end
1060
1138
  end
@@ -1083,6 +1161,46 @@ module Google
1083
1161
  end
1084
1162
  end
1085
1163
 
1164
+ class GoogleCloudApihubV1DiscoveredApiObservation
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ property :api_operation_count, :numeric_string => true, as: 'apiOperationCount'
1168
+ property :create_time, as: 'createTime'
1169
+ property :hostname, as: 'hostname'
1170
+ property :known_operations_count, :numeric_string => true, as: 'knownOperationsCount'
1171
+ property :last_event_detected_time, as: 'lastEventDetectedTime'
1172
+ property :name, as: 'name'
1173
+ property :origin, as: 'origin'
1174
+ collection :server_ips, as: 'serverIps'
1175
+ collection :source_locations, as: 'sourceLocations'
1176
+ property :source_metadata, as: 'sourceMetadata', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata::Representation
1177
+
1178
+ collection :source_types, as: 'sourceTypes'
1179
+ property :style, as: 'style'
1180
+ property :unknown_operations_count, :numeric_string => true, as: 'unknownOperationsCount'
1181
+ property :update_time, as: 'updateTime'
1182
+ end
1183
+ end
1184
+
1185
+ class GoogleCloudApihubV1DiscoveredApiOperation
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :classification, as: 'classification'
1189
+ property :count, :numeric_string => true, as: 'count'
1190
+ property :create_time, as: 'createTime'
1191
+ property :first_seen_time, as: 'firstSeenTime'
1192
+ property :http_operation, as: 'httpOperation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationDetails, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperationDetails::Representation
1193
+
1194
+ property :last_seen_time, as: 'lastSeenTime'
1195
+ collection :match_results, as: 'matchResults', class: Google::Apis::ApihubV1::GoogleCloudApihubV1MatchResult, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1MatchResult::Representation
1196
+
1197
+ property :name, as: 'name'
1198
+ property :source_metadata, as: 'sourceMetadata', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceMetadata::Representation
1199
+
1200
+ property :update_time, as: 'updateTime'
1201
+ end
1202
+ end
1203
+
1086
1204
  class GoogleCloudApihubV1Documentation
1087
1205
  # @private
1088
1206
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1160,6 +1278,15 @@ module Google
1160
1278
  end
1161
1279
  end
1162
1280
 
1281
+ class GoogleCloudApihubV1Header
1282
+ # @private
1283
+ class Representation < Google::Apis::Core::JsonRepresentation
1284
+ property :count, :numeric_string => true, as: 'count'
1285
+ property :data_type, as: 'dataType'
1286
+ property :name, as: 'name'
1287
+ end
1288
+ end
1289
+
1163
1290
  class GoogleCloudApihubV1HostProjectRegistration
1164
1291
  # @private
1165
1292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1185,6 +1312,39 @@ module Google
1185
1312
  end
1186
1313
  end
1187
1314
 
1315
+ class GoogleCloudApihubV1HttpOperationDetails
1316
+ # @private
1317
+ class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :http_operation, as: 'httpOperation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpOperation::Representation
1319
+
1320
+ collection :path_params, as: 'pathParams', class: Google::Apis::ApihubV1::GoogleCloudApihubV1PathParam, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1PathParam::Representation
1321
+
1322
+ hash :query_params, as: 'queryParams', class: Google::Apis::ApihubV1::GoogleCloudApihubV1QueryParam, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1QueryParam::Representation
1323
+
1324
+ property :request, as: 'request', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpRequest, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpRequest::Representation
1325
+
1326
+ property :response, as: 'response', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpResponse, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HttpResponse::Representation
1327
+
1328
+ end
1329
+ end
1330
+
1331
+ class GoogleCloudApihubV1HttpRequest
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ hash :headers, as: 'headers', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Header, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Header::Representation
1335
+
1336
+ end
1337
+ end
1338
+
1339
+ class GoogleCloudApihubV1HttpResponse
1340
+ # @private
1341
+ class Representation < Google::Apis::Core::JsonRepresentation
1342
+ hash :headers, as: 'headers', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Header, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Header::Representation
1343
+
1344
+ hash :response_codes, as: 'responseCodes'
1345
+ end
1346
+ end
1347
+
1188
1348
  class GoogleCloudApihubV1Issue
1189
1349
  # @private
1190
1350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1281,6 +1441,24 @@ module Google
1281
1441
  end
1282
1442
  end
1283
1443
 
1444
+ class GoogleCloudApihubV1ListDiscoveredApiObservationsResponse
1445
+ # @private
1446
+ class Representation < Google::Apis::Core::JsonRepresentation
1447
+ collection :discovered_api_observations, as: 'discoveredApiObservations', class: Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation::Representation
1448
+
1449
+ property :next_page_token, as: 'nextPageToken'
1450
+ end
1451
+ end
1452
+
1453
+ class GoogleCloudApihubV1ListDiscoveredApiOperationsResponse
1454
+ # @private
1455
+ class Representation < Google::Apis::Core::JsonRepresentation
1456
+ collection :discovered_api_operations, as: 'discoveredApiOperations', class: Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation::Representation
1457
+
1458
+ property :next_page_token, as: 'nextPageToken'
1459
+ end
1460
+ end
1461
+
1284
1462
  class GoogleCloudApihubV1ListExternalApisResponse
1285
1463
  # @private
1286
1464
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1360,6 +1538,13 @@ module Google
1360
1538
  end
1361
1539
  end
1362
1540
 
1541
+ class GoogleCloudApihubV1MatchResult
1542
+ # @private
1543
+ class Representation < Google::Apis::Core::JsonRepresentation
1544
+ property :name, as: 'name'
1545
+ end
1546
+ end
1547
+
1363
1548
  class GoogleCloudApihubV1MultiIntValues
1364
1549
  # @private
1365
1550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1442,6 +1627,14 @@ module Google
1442
1627
  end
1443
1628
  end
1444
1629
 
1630
+ class GoogleCloudApihubV1PathParam
1631
+ # @private
1632
+ class Representation < Google::Apis::Core::JsonRepresentation
1633
+ property :data_type, as: 'dataType'
1634
+ property :position, as: 'position'
1635
+ end
1636
+ end
1637
+
1445
1638
  class GoogleCloudApihubV1Plugin
1446
1639
  # @private
1447
1640
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1454,6 +1647,7 @@ module Google
1454
1647
  property :display_name, as: 'displayName'
1455
1648
  property :documentation, as: 'documentation', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Documentation::Representation
1456
1649
 
1650
+ property :gateway_type, as: 'gatewayType'
1457
1651
  property :hosting_service, as: 'hostingService', class: Google::Apis::ApihubV1::GoogleCloudApihubV1HostingService, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1HostingService::Representation
1458
1652
 
1459
1653
  property :name, as: 'name'
@@ -1489,6 +1683,7 @@ module Google
1489
1683
  property :display_name, as: 'displayName'
1490
1684
  property :error_message, as: 'errorMessage'
1491
1685
  property :name, as: 'name'
1686
+ property :source_project_id, as: 'sourceProjectId'
1492
1687
  property :state, as: 'state'
1493
1688
  property :update_time, as: 'updateTime'
1494
1689
  end
@@ -1502,8 +1697,11 @@ module Google
1502
1697
 
1503
1698
  property :hub_instance_action, as: 'hubInstanceAction', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ExecutionStatus, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ExecutionStatus::Representation
1504
1699
 
1700
+ property :resource_config, as: 'resourceConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ResourceConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ResourceConfig::Representation
1701
+
1505
1702
  property :schedule_cron_expression, as: 'scheduleCronExpression'
1506
1703
  property :schedule_time_zone, as: 'scheduleTimeZone'
1704
+ property :service_account, as: 'serviceAccount'
1507
1705
  property :state, as: 'state'
1508
1706
  end
1509
1707
  end
@@ -1532,6 +1730,15 @@ module Google
1532
1730
  end
1533
1731
  end
1534
1732
 
1733
+ class GoogleCloudApihubV1QueryParam
1734
+ # @private
1735
+ class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :count, :numeric_string => true, as: 'count'
1737
+ property :data_type, as: 'dataType'
1738
+ property :name, as: 'name'
1739
+ end
1740
+ end
1741
+
1535
1742
  class GoogleCloudApihubV1Range
1536
1743
  # @private
1537
1744
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1542,6 +1749,14 @@ module Google
1542
1749
  end
1543
1750
  end
1544
1751
 
1752
+ class GoogleCloudApihubV1ResourceConfig
1753
+ # @private
1754
+ class Representation < Google::Apis::Core::JsonRepresentation
1755
+ property :action_type, as: 'actionType'
1756
+ property :pubsub_topic, as: 'pubsubTopic'
1757
+ end
1758
+ end
1759
+
1545
1760
  class GoogleCloudApihubV1RuntimeProjectAttachment
1546
1761
  # @private
1547
1762
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2285,7 +2285,10 @@ module Google
2285
2285
  # https://tools.ietf.org/html/rfc3339] format. Allowed comparison operators: `>`
2286
2286
  # and `<`. * `resource_uri` - A URI to the deployment resource. Allowed
2287
2287
  # comparison operators: `=`. * `api_versions` - The API versions linked to this
2288
- # deployment. Allowed comparison operators: `:`. * `deployment_type.enum_values.
2288
+ # deployment. Allowed comparison operators: `:`. * `source_project` - The
2289
+ # project/organization at source for the deployment. Allowed comparison
2290
+ # operators: `=`. * `source_environment` - The environment at source for the
2291
+ # deployment. Allowed comparison operators: `=`. * `deployment_type.enum_values.
2289
2292
  # values.id` - The allowed value id of the deployment_type attribute associated
2290
2293
  # with the Deployment. Allowed comparison operators: `:`. * `deployment_type.
2291
2294
  # enum_values.values.display_name` - The allowed value display name of the
@@ -2426,6 +2429,159 @@ module Google
2426
2429
  execute_or_queue_command(command, &block)
2427
2430
  end
2428
2431
 
2432
+ # Gets a DiscoveredAPIObservation in a given project, location and
2433
+ # ApiObservation.
2434
+ # @param [String] name
2435
+ # Required. The name of the DiscoveredApiObservation to retrieve. Format:
2436
+ # projects/`project`/locations/`location`/discoveredApiObservations/`
2437
+ # discovered_api_observation`
2438
+ # @param [String] fields
2439
+ # Selector specifying which fields to include in a partial response.
2440
+ # @param [String] quota_user
2441
+ # Available to use for quota purposes for server-side applications. Can be any
2442
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2443
+ # @param [Google::Apis::RequestOptions] options
2444
+ # Request-specific options
2445
+ #
2446
+ # @yield [result, err] Result & error if block supplied
2447
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation] parsed result object
2448
+ # @yieldparam err [StandardError] error object if request failed
2449
+ #
2450
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation]
2451
+ #
2452
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2453
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2454
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2455
+ def get_project_location_discovered_api_observation(name, fields: nil, quota_user: nil, options: nil, &block)
2456
+ command = make_simple_command(:get, 'v1/{+name}', options)
2457
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation::Representation
2458
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiObservation
2459
+ command.params['name'] = name unless name.nil?
2460
+ command.query['fields'] = fields unless fields.nil?
2461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2462
+ execute_or_queue_command(command, &block)
2463
+ end
2464
+
2465
+ # Lists all the DiscoveredAPIObservations in a given project and location.
2466
+ # @param [String] parent
2467
+ # Required. The parent, which owns this collection of ApiObservations. Format:
2468
+ # projects/`project`/locations/`location`
2469
+ # @param [Fixnum] page_size
2470
+ # Optional. The maximum number of ApiObservations to return. The service may
2471
+ # return fewer than this value. If unspecified, at most 10 ApiObservations will
2472
+ # be returned. The maximum value is 1000; values above 1000 will be coerced to
2473
+ # 1000.
2474
+ # @param [String] page_token
2475
+ # Optional. A page token, received from a previous `ListApiObservations` call.
2476
+ # Provide this to retrieve the subsequent page. When paginating, all other
2477
+ # parameters provided to `ListApiObservations` must match the call that provided
2478
+ # the page token.
2479
+ # @param [String] fields
2480
+ # Selector specifying which fields to include in a partial response.
2481
+ # @param [String] quota_user
2482
+ # Available to use for quota purposes for server-side applications. Can be any
2483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2484
+ # @param [Google::Apis::RequestOptions] options
2485
+ # Request-specific options
2486
+ #
2487
+ # @yield [result, err] Result & error if block supplied
2488
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiObservationsResponse] parsed result object
2489
+ # @yieldparam err [StandardError] error object if request failed
2490
+ #
2491
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiObservationsResponse]
2492
+ #
2493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2496
+ def list_project_location_discovered_api_observations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2497
+ command = make_simple_command(:get, 'v1/{+parent}/discoveredApiObservations', options)
2498
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiObservationsResponse::Representation
2499
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiObservationsResponse
2500
+ command.params['parent'] = parent unless parent.nil?
2501
+ command.query['pageSize'] = page_size unless page_size.nil?
2502
+ command.query['pageToken'] = page_token unless page_token.nil?
2503
+ command.query['fields'] = fields unless fields.nil?
2504
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2505
+ execute_or_queue_command(command, &block)
2506
+ end
2507
+
2508
+ # Gets a DiscoveredAPIOperation in a given project, location, ApiObservation and
2509
+ # ApiOperation.
2510
+ # @param [String] name
2511
+ # Required. The name of the DiscoveredApiOperation to retrieve. Format: projects/
2512
+ # `project`/locations/`location`/discoveredApiObservations/`
2513
+ # discovered_api_observation`/discoveredApiOperations/`discovered_api_operation`
2514
+ # @param [String] fields
2515
+ # Selector specifying which fields to include in a partial response.
2516
+ # @param [String] quota_user
2517
+ # Available to use for quota purposes for server-side applications. Can be any
2518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2519
+ # @param [Google::Apis::RequestOptions] options
2520
+ # Request-specific options
2521
+ #
2522
+ # @yield [result, err] Result & error if block supplied
2523
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation] parsed result object
2524
+ # @yieldparam err [StandardError] error object if request failed
2525
+ #
2526
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation]
2527
+ #
2528
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2529
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2530
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2531
+ def get_project_location_discovered_api_observation_discovered_api_operation(name, fields: nil, quota_user: nil, options: nil, &block)
2532
+ command = make_simple_command(:get, 'v1/{+name}', options)
2533
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation::Representation
2534
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1DiscoveredApiOperation
2535
+ command.params['name'] = name unless name.nil?
2536
+ command.query['fields'] = fields unless fields.nil?
2537
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2538
+ execute_or_queue_command(command, &block)
2539
+ end
2540
+
2541
+ # Lists all the DiscoveredAPIOperations in a given project, location and
2542
+ # ApiObservation.
2543
+ # @param [String] parent
2544
+ # Required. The parent, which owns this collection of DiscoveredApiOperations.
2545
+ # Format: projects/`project`/locations/`location`/discoveredApiObservations/`
2546
+ # discovered_api_observation`
2547
+ # @param [Fixnum] page_size
2548
+ # Optional. DiscoveredApiOperations will be returned. The maximum value is 1000;
2549
+ # values above 1000 will be coerced to 1000.
2550
+ # @param [String] page_token
2551
+ # Optional. A page token, received from a previous `
2552
+ # ListDiscoveredApiApiOperations` call. Provide this to retrieve the subsequent
2553
+ # page. When paginating, all other parameters provided to `
2554
+ # ListDiscoveredApiApiOperations` must match the call that provided the page
2555
+ # token.
2556
+ # @param [String] fields
2557
+ # Selector specifying which fields to include in a partial response.
2558
+ # @param [String] quota_user
2559
+ # Available to use for quota purposes for server-side applications. Can be any
2560
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2561
+ # @param [Google::Apis::RequestOptions] options
2562
+ # Request-specific options
2563
+ #
2564
+ # @yield [result, err] Result & error if block supplied
2565
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiOperationsResponse] parsed result object
2566
+ # @yieldparam err [StandardError] error object if request failed
2567
+ #
2568
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiOperationsResponse]
2569
+ #
2570
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2571
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2572
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2573
+ def list_project_location_discovered_api_observation_discovered_api_operations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2574
+ command = make_simple_command(:get, 'v1/{+parent}/discoveredApiOperations', options)
2575
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiOperationsResponse::Representation
2576
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1ListDiscoveredApiOperationsResponse
2577
+ command.params['parent'] = parent unless parent.nil?
2578
+ command.query['pageSize'] = page_size unless page_size.nil?
2579
+ command.query['pageToken'] = page_token unless page_token.nil?
2580
+ command.query['fields'] = fields unless fields.nil?
2581
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2582
+ execute_or_queue_command(command, &block)
2583
+ end
2584
+
2429
2585
  # Create an External API resource in the API hub.
2430
2586
  # @param [String] parent
2431
2587
  # Required. The parent resource for the External API resource. Format: `projects/
@@ -3458,6 +3614,47 @@ module Google
3458
3614
  execute_or_queue_command(command, &block)
3459
3615
  end
3460
3616
 
3617
+ # Updates a plugin instance in the API hub. The following fields in the
3618
+ # plugin_instance can be updated currently: * display_name *
3619
+ # schedule_cron_expression The update_mask should be used to specify the fields
3620
+ # being updated. To update the auth_config and additional_config of the plugin
3621
+ # instance, use the ApplyPluginInstanceConfig method.
3622
+ # @param [String] name
3623
+ # Identifier. The unique name of the plugin instance resource. Format: `projects/
3624
+ # `project`/locations/`location`/plugins/`plugin`/instances/`instance``
3625
+ # @param [Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance] google_cloud_apihub_v1_plugin_instance_object
3626
+ # @param [String] update_mask
3627
+ # Optional. The list of fields to update.
3628
+ # @param [String] fields
3629
+ # Selector specifying which fields to include in a partial response.
3630
+ # @param [String] quota_user
3631
+ # Available to use for quota purposes for server-side applications. Can be any
3632
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3633
+ # @param [Google::Apis::RequestOptions] options
3634
+ # Request-specific options
3635
+ #
3636
+ # @yield [result, err] Result & error if block supplied
3637
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance] parsed result object
3638
+ # @yieldparam err [StandardError] error object if request failed
3639
+ #
3640
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance]
3641
+ #
3642
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3643
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3644
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3645
+ def patch_project_location_plugin_instance(name, google_cloud_apihub_v1_plugin_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3646
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3647
+ command.request_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance::Representation
3648
+ command.request_object = google_cloud_apihub_v1_plugin_instance_object
3649
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance::Representation
3650
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1PluginInstance
3651
+ command.params['name'] = name unless name.nil?
3652
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3653
+ command.query['fields'] = fields unless fields.nil?
3654
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3655
+ execute_or_queue_command(command, &block)
3656
+ end
3657
+
3461
3658
  # Get the contents of the style guide.
3462
3659
  # @param [String] name
3463
3660
  # Required. The name of the StyleGuide whose contents need to be retrieved.
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.4.0
4
+ version: 0.6.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.4.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.6.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: