google-apis-apihub_v1 0.5.0 → 0.7.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/apihub_v1/classes.rb +438 -5
- data/lib/google/apis/apihub_v1/gem_version.rb +2 -2
- data/lib/google/apis/apihub_v1/representations.rb +190 -0
- data/lib/google/apis/apihub_v1/service.rb +159 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de3da0d5274b77ea2e9a5fc0e344540919fc2050cf27090ce2468b077af8a951
|
4
|
+
data.tar.gz: 04ef0b4e8ccb198294e4bf1f5f59a9864a6210dc20c85336b9b8551c23545ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '04708262ad39ae90e9f79298bebaf77493da2e04da1d54bdce7e27b0c79d8a91d6f5a146f0efc2c3d4d28085dc6bbd46747d2c5fc27cfc3ae69394b0d21394ee'
|
7
|
+
data.tar.gz: 6b592bd475623bf99b72c2bc94971027604900306cfceab6ed30bae686561630a2488225e61f5827505b008a55bdda7f428a4e865ac52ff8f77cb4d069f862ef
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-apihub_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2025-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250829
|
6
|
+
|
7
|
+
### v0.6.0 (2025-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250731
|
10
|
+
|
3
11
|
### v0.5.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250701
|
@@ -1472,9 +1472,11 @@ module Google
|
|
1472
1472
|
# @return [String]
|
1473
1473
|
attr_accessor :name
|
1474
1474
|
|
1475
|
-
# Required.
|
1476
|
-
#
|
1477
|
-
#
|
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`.
|
1478
1480
|
# Corresponds to the JSON property `resourceUri`
|
1479
1481
|
# @return [String]
|
1480
1482
|
attr_accessor :resource_uri
|
@@ -1614,6 +1616,187 @@ module Google
|
|
1614
1616
|
end
|
1615
1617
|
end
|
1616
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
|
+
|
1617
1800
|
# Documentation details.
|
1618
1801
|
class GoogleCloudApihubV1Documentation
|
1619
1802
|
include Google::Apis::Core::Hashable
|
@@ -1845,6 +2028,37 @@ module Google
|
|
1845
2028
|
end
|
1846
2029
|
end
|
1847
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
|
+
|
1848
2062
|
# Host project registration refers to the registration of a Google cloud project
|
1849
2063
|
# with Api Hub as a host project. This is the project where Api Hub is
|
1850
2064
|
# provisioned. It acts as the consumer project for the Api Hub instance
|
@@ -1933,6 +2147,93 @@ module Google
|
|
1933
2147
|
end
|
1934
2148
|
end
|
1935
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
|
+
|
1936
2237
|
# Issue contains the details of a single issue found by the linter.
|
1937
2238
|
class GoogleCloudApihubV1Issue
|
1938
2239
|
include Google::Apis::Core::Hashable
|
@@ -2233,6 +2534,59 @@ module Google
|
|
2233
2534
|
end
|
2234
2535
|
end
|
2235
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
|
+
|
2236
2590
|
# The ListExternalApis method's response.
|
2237
2591
|
class GoogleCloudApihubV1ListExternalApisResponse
|
2238
2592
|
include Google::Apis::Core::Hashable
|
@@ -2457,6 +2811,27 @@ module Google
|
|
2457
2811
|
end
|
2458
2812
|
end
|
2459
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
|
+
|
2460
2835
|
# The config variable value of data type multi int.
|
2461
2836
|
class GoogleCloudApihubV1MultiIntValues
|
2462
2837
|
include Google::Apis::Core::Hashable
|
@@ -2725,11 +3100,36 @@ module Google
|
|
2725
3100
|
end
|
2726
3101
|
end
|
2727
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
|
+
|
2728
3128
|
# A plugin resource in the API Hub.
|
2729
3129
|
class GoogleCloudApihubV1Plugin
|
2730
3130
|
include Google::Apis::Core::Hashable
|
2731
3131
|
|
2732
|
-
#
|
3132
|
+
# Required. The configuration of actions supported by the plugin.
|
2733
3133
|
# Corresponds to the JSON property `actionsConfig`
|
2734
3134
|
# @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1PluginActionConfig>]
|
2735
3135
|
attr_accessor :actions_config
|
@@ -2920,7 +3320,8 @@ module Google
|
|
2920
3320
|
|
2921
3321
|
# Optional. The source project id of the plugin instance. This will be the id of
|
2922
3322
|
# runtime project in case of gcp based plugins and org id in case of non gcp
|
2923
|
-
# based plugins. This
|
3323
|
+
# based plugins. This field will be a required field for Google provided on-ramp
|
3324
|
+
# plugins.
|
2924
3325
|
# Corresponds to the JSON property `sourceProjectId`
|
2925
3326
|
# @return [String]
|
2926
3327
|
attr_accessor :source_project_id
|
@@ -3099,6 +3500,38 @@ module Google
|
|
3099
3500
|
end
|
3100
3501
|
end
|
3101
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
|
+
|
3102
3535
|
# Object describing where in the file the issue was found.
|
3103
3536
|
class GoogleCloudApihubV1Range
|
3104
3537
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.7.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 = "
|
25
|
+
REVISION = "20250829"
|
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,6 +562,12 @@ 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
|
|
@@ -1095,6 +1161,46 @@ module Google
|
|
1095
1161
|
end
|
1096
1162
|
end
|
1097
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
|
+
|
1098
1204
|
class GoogleCloudApihubV1Documentation
|
1099
1205
|
# @private
|
1100
1206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1172,6 +1278,15 @@ module Google
|
|
1172
1278
|
end
|
1173
1279
|
end
|
1174
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
|
+
|
1175
1290
|
class GoogleCloudApihubV1HostProjectRegistration
|
1176
1291
|
# @private
|
1177
1292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1197,6 +1312,39 @@ module Google
|
|
1197
1312
|
end
|
1198
1313
|
end
|
1199
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
|
+
|
1200
1348
|
class GoogleCloudApihubV1Issue
|
1201
1349
|
# @private
|
1202
1350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1293,6 +1441,24 @@ module Google
|
|
1293
1441
|
end
|
1294
1442
|
end
|
1295
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
|
+
|
1296
1462
|
class GoogleCloudApihubV1ListExternalApisResponse
|
1297
1463
|
# @private
|
1298
1464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1372,6 +1538,13 @@ module Google
|
|
1372
1538
|
end
|
1373
1539
|
end
|
1374
1540
|
|
1541
|
+
class GoogleCloudApihubV1MatchResult
|
1542
|
+
# @private
|
1543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1544
|
+
property :name, as: 'name'
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1375
1548
|
class GoogleCloudApihubV1MultiIntValues
|
1376
1549
|
# @private
|
1377
1550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1454,6 +1627,14 @@ module Google
|
|
1454
1627
|
end
|
1455
1628
|
end
|
1456
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
|
+
|
1457
1638
|
class GoogleCloudApihubV1Plugin
|
1458
1639
|
# @private
|
1459
1640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1549,6 +1730,15 @@ module Google
|
|
1549
1730
|
end
|
1550
1731
|
end
|
1551
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
|
+
|
1552
1742
|
class GoogleCloudApihubV1Range
|
1553
1743
|
# @private
|
1554
1744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -119,8 +119,8 @@ module Google
|
|
119
119
|
# @param [String] name
|
120
120
|
# The resource that owns the locations collection, if applicable.
|
121
121
|
# @param [Array<String>, String] extra_location_types
|
122
|
-
# Optional.
|
123
|
-
#
|
122
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
123
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
124
124
|
# @param [String] filter
|
125
125
|
# A filter to narrow down results to a preferred subset. The filtering language
|
126
126
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -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: `:`. * `
|
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/
|
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
|
+
version: 0.7.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.7.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:
|