google-apis-apihub_v1 0.9.0 → 0.10.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: 267789b76644e09e81894d97a07c8e7f9ff0fe7cea57bac606af6ba1859160d2
4
- data.tar.gz: b1ec3e6baa811ee605269fd8a159d22189a784af9579857f82de6494afad38b9
3
+ metadata.gz: 766998d6603cd792e8f94af4033ac682ad1ac3537bbb163b7ca8e5f1411eaedd
4
+ data.tar.gz: adceff848530768cc68f460aca13f0bdb4a2220c8e12af7335d046c236a6498f
5
5
  SHA512:
6
- metadata.gz: a86fbffda5e052a6ae3cbfde6ed9fe7071371e0b1958156ef8eaf37e5c816df2e53d318cd82d8f73089e36ba38ffb5ae5bfb82223270cd6ba958d35be6e0af7c
7
- data.tar.gz: d19244384a0a477ada6e483213d4c8ce544214cb0826500196516509f2c65a0ae3da6ad3761e2101ebb3726e0c2a1f3bc14896d149182f6f8798fd93f821a24f
6
+ metadata.gz: 0c4f9cc68f446f8dce57853f38bd4ee2c41be8595785797cda3101234c12940b1c478a1ca48dd5489f41f0ba31abd88b893f3f9943202e34557f06363b99479e
7
+ data.tar.gz: 7d0985ae956be236569e08f6cf37a284d8482af8586b108e64821012c3671da11cc52ab803a79305e34798917de72667bb974c16914c18ffa95840c2e8738923
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apihub_v1
2
2
 
3
+ ### v0.10.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251110
6
+
3
7
  ### v0.9.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251025
@@ -101,6 +101,117 @@ module Google
101
101
  end
102
102
  end
103
103
 
104
+ # Addon resource.
105
+ class GoogleCloudApihubV1Addon
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # Configuration for the addon.
109
+ # Corresponds to the JSON property `config`
110
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig]
111
+ attr_accessor :config
112
+
113
+ # Output only. The time at which the addon was created.
114
+ # Corresponds to the JSON property `createTime`
115
+ # @return [String]
116
+ attr_accessor :create_time
117
+
118
+ # Required. The data source on which the addon operates. This determines which
119
+ # field in the `config` oneof is used.
120
+ # Corresponds to the JSON property `dataSource`
121
+ # @return [String]
122
+ attr_accessor :data_source
123
+
124
+ # Optional. The description of the addon.
125
+ # Corresponds to the JSON property `description`
126
+ # @return [String]
127
+ attr_accessor :description
128
+
129
+ # Required. The display name of the addon.
130
+ # Corresponds to the JSON property `displayName`
131
+ # @return [String]
132
+ attr_accessor :display_name
133
+
134
+ # Identifier. The name of the addon to enable. Format: `projects/`project`/
135
+ # locations/`location`/addons/`addon``.
136
+ # Corresponds to the JSON property `name`
137
+ # @return [String]
138
+ attr_accessor :name
139
+
140
+ # Output only. The state of the addon.
141
+ # Corresponds to the JSON property `state`
142
+ # @return [String]
143
+ attr_accessor :state
144
+
145
+ # Output only. The time at which the addon was last updated.
146
+ # Corresponds to the JSON property `updateTime`
147
+ # @return [String]
148
+ attr_accessor :update_time
149
+
150
+ def initialize(**args)
151
+ update!(**args)
152
+ end
153
+
154
+ # Update properties of this object
155
+ def update!(**args)
156
+ @config = args[:config] if args.key?(:config)
157
+ @create_time = args[:create_time] if args.key?(:create_time)
158
+ @data_source = args[:data_source] if args.key?(:data_source)
159
+ @description = args[:description] if args.key?(:description)
160
+ @display_name = args[:display_name] if args.key?(:display_name)
161
+ @name = args[:name] if args.key?(:name)
162
+ @state = args[:state] if args.key?(:state)
163
+ @update_time = args[:update_time] if args.key?(:update_time)
164
+ end
165
+ end
166
+
167
+ # Configuration for the addon.
168
+ class GoogleCloudApihubV1AddonConfig
169
+ include Google::Apis::Core::Hashable
170
+
171
+ # Configuration for addons which act on all data in the API hub. This is used to
172
+ # specify if the addon is enabled for all data in the API hub.
173
+ # Corresponds to the JSON property `allDataAddonConfig`
174
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AllDataAddonConfig]
175
+ attr_accessor :all_data_addon_config
176
+
177
+ # Configuration for gateway plugin addons. This is used to specify the list of
178
+ # gateway plugin configs for which the addon is enabled.
179
+ # Corresponds to the JSON property `gatewayPluginAddonConfig`
180
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginAddonConfig]
181
+ attr_accessor :gateway_plugin_addon_config
182
+
183
+ def initialize(**args)
184
+ update!(**args)
185
+ end
186
+
187
+ # Update properties of this object
188
+ def update!(**args)
189
+ @all_data_addon_config = args[:all_data_addon_config] if args.key?(:all_data_addon_config)
190
+ @gateway_plugin_addon_config = args[:gateway_plugin_addon_config] if args.key?(:gateway_plugin_addon_config)
191
+ end
192
+ end
193
+
194
+ # Configuration for addons which act on all data in the API hub. This is used to
195
+ # specify if the addon is enabled for all data in the API hub.
196
+ class GoogleCloudApihubV1AllDataAddonConfig
197
+ include Google::Apis::Core::Hashable
198
+
199
+ # Required. If true, the addon is enabled for all data in the API hub.
200
+ # Corresponds to the JSON property `enabled`
201
+ # @return [Boolean]
202
+ attr_accessor :enabled
203
+ alias_method :enabled?, :enabled
204
+
205
+ def initialize(**args)
206
+ update!(**args)
207
+ end
208
+
209
+ # Update properties of this object
210
+ def update!(**args)
211
+ @enabled = args[:enabled] if args.key?(:enabled)
212
+ end
213
+ end
214
+
104
215
  # The value that can be assigned to the attribute when the data type is enum.
105
216
  class GoogleCloudApihubV1AllowedValue
106
217
  include Google::Apis::Core::Hashable
@@ -565,6 +676,72 @@ module Google
565
676
  end
566
677
  end
567
678
 
679
+ # Configuration for Apigee Edge gateways. Applicability of a filter is
680
+ # determined by the filter being provided. If none of the filters are provided
681
+ # the addon will be enabled for all data brought in by the gateway plugin
682
+ # instance.
683
+ class GoogleCloudApihubV1ApigeeEdgeConfig
684
+ include Google::Apis::Core::Hashable
685
+
686
+ # Filter for environments.
687
+ # Corresponds to the JSON property `environmentFilter`
688
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter]
689
+ attr_accessor :environment_filter
690
+
691
+ def initialize(**args)
692
+ update!(**args)
693
+ end
694
+
695
+ # Update properties of this object
696
+ def update!(**args)
697
+ @environment_filter = args[:environment_filter] if args.key?(:environment_filter)
698
+ end
699
+ end
700
+
701
+ # Configuration for Apigee OPDK gateways. Applicability of a filter is
702
+ # determined by the filter being provided. If none of the filters are provided
703
+ # the addon will be enabled for all data brought in by the gateway plugin
704
+ # instance.
705
+ class GoogleCloudApihubV1ApigeeOpdkConfig
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # Filter for environments.
709
+ # Corresponds to the JSON property `environmentFilter`
710
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter]
711
+ attr_accessor :environment_filter
712
+
713
+ def initialize(**args)
714
+ update!(**args)
715
+ end
716
+
717
+ # Update properties of this object
718
+ def update!(**args)
719
+ @environment_filter = args[:environment_filter] if args.key?(:environment_filter)
720
+ end
721
+ end
722
+
723
+ # Configuration for Apigee X and Apigee Hybrid gateways. Applicability of a
724
+ # filter is determined by the filter being provided. If none of the filters are
725
+ # provided the addon will be enabled for all data brought in by the gateway
726
+ # plugin instance.
727
+ class GoogleCloudApihubV1ApigeeXHybridConfig
728
+ include Google::Apis::Core::Hashable
729
+
730
+ # Filter for environments.
731
+ # Corresponds to the JSON property `environmentFilter`
732
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter]
733
+ attr_accessor :environment_filter
734
+
735
+ def initialize(**args)
736
+ update!(**args)
737
+ end
738
+
739
+ # Update properties of this object
740
+ def update!(**args)
741
+ @environment_filter = args[:environment_filter] if args.key?(:environment_filter)
742
+ end
743
+ end
744
+
568
745
  # The details of the Application Integration endpoint to be triggered for
569
746
  # curation.
570
747
  class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
@@ -1891,6 +2068,34 @@ module Google
1891
2068
  end
1892
2069
  end
1893
2070
 
2071
+ # Filter for environments.
2072
+ class GoogleCloudApihubV1EnvironmentFilter
2073
+ include Google::Apis::Core::Hashable
2074
+
2075
+ # Optional. Indicates if this filter should match all environments or only a
2076
+ # subset of environments. If set to true, all environments are matched.
2077
+ # Corresponds to the JSON property `allEnvironments`
2078
+ # @return [Boolean]
2079
+ attr_accessor :all_environments
2080
+ alias_method :all_environments?, :all_environments
2081
+
2082
+ # Optional. If provided, only environments in this list are matched. This field
2083
+ # is ignored if `all_environments` is true.
2084
+ # Corresponds to the JSON property `environments`
2085
+ # @return [Array<String>]
2086
+ attr_accessor :environments
2087
+
2088
+ def initialize(**args)
2089
+ update!(**args)
2090
+ end
2091
+
2092
+ # Update properties of this object
2093
+ def update!(**args)
2094
+ @all_environments = args[:all_environments] if args.key?(:all_environments)
2095
+ @environments = args[:environments] if args.key?(:environments)
2096
+ end
2097
+ end
2098
+
1894
2099
  # The ExecutePluginInstanceAction method's request.
1895
2100
  class GoogleCloudApihubV1ExecutePluginInstanceActionRequest
1896
2101
  include Google::Apis::Core::Hashable
@@ -2009,6 +2214,76 @@ module Google
2009
2214
  end
2010
2215
  end
2011
2216
 
2217
+ # Configuration for gateway plugin addons. This is used to specify the list of
2218
+ # gateway plugin configs for which the addon is enabled.
2219
+ class GoogleCloudApihubV1GatewayPluginAddonConfig
2220
+ include Google::Apis::Core::Hashable
2221
+
2222
+ # Required. The list of gateway plugin configs for which the addon is enabled.
2223
+ # Each gateway plugin config should have a unique plugin instance.
2224
+ # Corresponds to the JSON property `gatewayPluginConfigs`
2225
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginConfig>]
2226
+ attr_accessor :gateway_plugin_configs
2227
+
2228
+ def initialize(**args)
2229
+ update!(**args)
2230
+ end
2231
+
2232
+ # Update properties of this object
2233
+ def update!(**args)
2234
+ @gateway_plugin_configs = args[:gateway_plugin_configs] if args.key?(:gateway_plugin_configs)
2235
+ end
2236
+ end
2237
+
2238
+ # Configuration for a gateway plugin. This is used to specify configs for
2239
+ # different gateways.
2240
+ class GoogleCloudApihubV1GatewayPluginConfig
2241
+ include Google::Apis::Core::Hashable
2242
+
2243
+ # Configuration for Apigee Edge gateways. Applicability of a filter is
2244
+ # determined by the filter being provided. If none of the filters are provided
2245
+ # the addon will be enabled for all data brought in by the gateway plugin
2246
+ # instance.
2247
+ # Corresponds to the JSON property `apigeeEdgeConfig`
2248
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeEdgeConfig]
2249
+ attr_accessor :apigee_edge_config
2250
+
2251
+ # Configuration for Apigee OPDK gateways. Applicability of a filter is
2252
+ # determined by the filter being provided. If none of the filters are provided
2253
+ # the addon will be enabled for all data brought in by the gateway plugin
2254
+ # instance.
2255
+ # Corresponds to the JSON property `apigeeOpdkConfig`
2256
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeOpdkConfig]
2257
+ attr_accessor :apigee_opdk_config
2258
+
2259
+ # Configuration for Apigee X and Apigee Hybrid gateways. Applicability of a
2260
+ # filter is determined by the filter being provided. If none of the filters are
2261
+ # provided the addon will be enabled for all data brought in by the gateway
2262
+ # plugin instance.
2263
+ # Corresponds to the JSON property `apigeeXHybridConfig`
2264
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXHybridConfig]
2265
+ attr_accessor :apigee_x_hybrid_config
2266
+
2267
+ # Required. The name of the gateway plugin instance for which the config is to
2268
+ # be specified. Format: projects/`project`/locations/`location`/plugins/`plugin`/
2269
+ # pluginInstances/`plugin_instance`
2270
+ # Corresponds to the JSON property `pluginInstance`
2271
+ # @return [String]
2272
+ attr_accessor :plugin_instance
2273
+
2274
+ def initialize(**args)
2275
+ update!(**args)
2276
+ end
2277
+
2278
+ # Update properties of this object
2279
+ def update!(**args)
2280
+ @apigee_edge_config = args[:apigee_edge_config] if args.key?(:apigee_edge_config)
2281
+ @apigee_opdk_config = args[:apigee_opdk_config] if args.key?(:apigee_opdk_config)
2282
+ @apigee_x_hybrid_config = args[:apigee_x_hybrid_config] if args.key?(:apigee_x_hybrid_config)
2283
+ @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance)
2284
+ end
2285
+ end
2286
+
2012
2287
  # Config for Google service account authentication.
2013
2288
  class GoogleCloudApihubV1GoogleServiceAccountConfig
2014
2289
  include Google::Apis::Core::Hashable
@@ -2380,6 +2655,32 @@ module Google
2380
2655
  end
2381
2656
  end
2382
2657
 
2658
+ # The ListAddons method's response.
2659
+ class GoogleCloudApihubV1ListAddonsResponse
2660
+ include Google::Apis::Core::Hashable
2661
+
2662
+ # The list of addons.
2663
+ # Corresponds to the JSON property `addons`
2664
+ # @return [Array<Google::Apis::ApihubV1::GoogleCloudApihubV1Addon>]
2665
+ attr_accessor :addons
2666
+
2667
+ # A token to retrieve the next page of results, or empty if there are no more
2668
+ # results in the list.
2669
+ # Corresponds to the JSON property `nextPageToken`
2670
+ # @return [String]
2671
+ attr_accessor :next_page_token
2672
+
2673
+ def initialize(**args)
2674
+ update!(**args)
2675
+ end
2676
+
2677
+ # Update properties of this object
2678
+ def update!(**args)
2679
+ @addons = args[:addons] if args.key?(:addons)
2680
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2681
+ end
2682
+ end
2683
+
2383
2684
  # The ListApiOperations method's response.
2384
2685
  class GoogleCloudApihubV1ListApiOperationsResponse
2385
2686
  include Google::Apis::Core::Hashable
@@ -2813,6 +3114,25 @@ module Google
2813
3114
  end
2814
3115
  end
2815
3116
 
3117
+ # The ManageAddonConfig method's request.
3118
+ class GoogleCloudApihubV1ManageAddonConfigRequest
3119
+ include Google::Apis::Core::Hashable
3120
+
3121
+ # Configuration for the addon.
3122
+ # Corresponds to the JSON property `config`
3123
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig]
3124
+ attr_accessor :config
3125
+
3126
+ def initialize(**args)
3127
+ update!(**args)
3128
+ end
3129
+
3130
+ # Update properties of this object
3131
+ def update!(**args)
3132
+ @config = args[:config] if args.key?(:config)
3133
+ end
3134
+ end
3135
+
2816
3136
  # The ManagePluginInstanceSourceData method's request.
2817
3137
  class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
2818
3138
  include Google::Apis::Core::Hashable
@@ -3373,6 +3693,13 @@ module Google
3373
3693
  # @return [String]
3374
3694
  attr_accessor :name
3375
3695
 
3696
+ # Optional. The source environment's config present in the gateway instance
3697
+ # linked to the plugin instance. The key is the `source_environment` name from
3698
+ # the SourceEnvironment message.
3699
+ # Corresponds to the JSON property `sourceEnvironmentsConfig`
3700
+ # @return [Hash<String,Google::Apis::ApihubV1::GoogleCloudApihubV1SourceEnvironment>]
3701
+ attr_accessor :source_environments_config
3702
+
3376
3703
  # Optional. The source project id of the plugin instance. This will be the id of
3377
3704
  # runtime project in case of gcp based plugins and org id in case of non gcp
3378
3705
  # based plugins. This field will be a required field for Google provided on-ramp
@@ -3405,6 +3732,7 @@ module Google
3405
3732
  @display_name = args[:display_name] if args.key?(:display_name)
3406
3733
  @error_message = args[:error_message] if args.key?(:error_message)
3407
3734
  @name = args[:name] if args.key?(:name)
3735
+ @source_environments_config = args[:source_environments_config] if args.key?(:source_environments_config)
3408
3736
  @source_project_id = args[:source_project_id] if args.key?(:source_project_id)
3409
3737
  @state = args[:state] if args.key?(:state)
3410
3738
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3832,6 +4160,46 @@ module Google
3832
4160
  end
3833
4161
  end
3834
4162
 
4163
+ # Message representing the source environment details.
4164
+ class GoogleCloudApihubV1SourceEnvironment
4165
+ include Google::Apis::Core::Hashable
4166
+
4167
+ # Optional. The time at which the environment was created at the source.
4168
+ # Corresponds to the JSON property `createTime`
4169
+ # @return [String]
4170
+ attr_accessor :create_time
4171
+
4172
+ # Required. The name of the environment at the source. This should map to
4173
+ # Deployment.
4174
+ # Corresponds to the JSON property `sourceEnvironment`
4175
+ # @return [String]
4176
+ attr_accessor :source_environment
4177
+
4178
+ # The location where additional information about source environments can be
4179
+ # found. The location should be relative path of the environment manifest with
4180
+ # respect to a plugin instance.
4181
+ # Corresponds to the JSON property `sourceEnvironmentUri`
4182
+ # @return [String]
4183
+ attr_accessor :source_environment_uri
4184
+
4185
+ # Optional. The time at which the environment was last updated at the source.
4186
+ # Corresponds to the JSON property `updateTime`
4187
+ # @return [String]
4188
+ attr_accessor :update_time
4189
+
4190
+ def initialize(**args)
4191
+ update!(**args)
4192
+ end
4193
+
4194
+ # Update properties of this object
4195
+ def update!(**args)
4196
+ @create_time = args[:create_time] if args.key?(:create_time)
4197
+ @source_environment = args[:source_environment] if args.key?(:source_environment)
4198
+ @source_environment_uri = args[:source_environment_uri] if args.key?(:source_environment_uri)
4199
+ @update_time = args[:update_time] if args.key?(:update_time)
4200
+ end
4201
+ end
4202
+
3835
4203
  # SourceMetadata represents the metadata for a resource at the source.
3836
4204
  class GoogleCloudApihubV1SourceMetadata
3837
4205
  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.9.0"
19
+ GEM_VERSION = "0.10.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 = "20251025"
25
+ REVISION = "20251110"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,24 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudApihubV1Addon
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudApihubV1AddonConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudApihubV1AllDataAddonConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class GoogleCloudApihubV1AllowedValue
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -88,6 +106,24 @@ module Google
88
106
  include Google::Apis::Core::JsonObjectSupport
89
107
  end
90
108
 
109
+ class GoogleCloudApihubV1ApigeeEdgeConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudApihubV1ApigeeOpdkConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudApihubV1ApigeeXHybridConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
91
127
  class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
92
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
129
 
@@ -262,6 +298,12 @@ module Google
262
298
  include Google::Apis::Core::JsonObjectSupport
263
299
  end
264
300
 
301
+ class GoogleCloudApihubV1EnvironmentFilter
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
265
307
  class GoogleCloudApihubV1ExecutePluginInstanceActionRequest
266
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
309
 
@@ -280,6 +322,18 @@ module Google
280
322
  include Google::Apis::Core::JsonObjectSupport
281
323
  end
282
324
 
325
+ class GoogleCloudApihubV1GatewayPluginAddonConfig
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudApihubV1GatewayPluginConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
283
337
  class GoogleCloudApihubV1GoogleServiceAccountConfig
284
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
339
 
@@ -352,6 +406,12 @@ module Google
352
406
  include Google::Apis::Core::JsonObjectSupport
353
407
  end
354
408
 
409
+ class GoogleCloudApihubV1ListAddonsResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
355
415
  class GoogleCloudApihubV1ListApiOperationsResponse
356
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
417
 
@@ -454,6 +514,12 @@ module Google
454
514
  include Google::Apis::Core::JsonObjectSupport
455
515
  end
456
516
 
517
+ class GoogleCloudApihubV1ManageAddonConfigRequest
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
457
523
  class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
458
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
525
 
@@ -628,6 +694,12 @@ module Google
628
694
  include Google::Apis::Core::JsonObjectSupport
629
695
  end
630
696
 
697
+ class GoogleCloudApihubV1SourceEnvironment
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
631
703
  class GoogleCloudApihubV1SourceMetadata
632
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
705
 
@@ -768,6 +840,38 @@ module Google
768
840
  end
769
841
  end
770
842
 
843
+ class GoogleCloudApihubV1Addon
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ property :config, as: 'config', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig::Representation
847
+
848
+ property :create_time, as: 'createTime'
849
+ property :data_source, as: 'dataSource'
850
+ property :description, as: 'description'
851
+ property :display_name, as: 'displayName'
852
+ property :name, as: 'name'
853
+ property :state, as: 'state'
854
+ property :update_time, as: 'updateTime'
855
+ end
856
+ end
857
+
858
+ class GoogleCloudApihubV1AddonConfig
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ property :all_data_addon_config, as: 'allDataAddonConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AllDataAddonConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AllDataAddonConfig::Representation
862
+
863
+ property :gateway_plugin_addon_config, as: 'gatewayPluginAddonConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginAddonConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginAddonConfig::Representation
864
+
865
+ end
866
+ end
867
+
868
+ class GoogleCloudApihubV1AllDataAddonConfig
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :enabled, as: 'enabled'
872
+ end
873
+ end
874
+
771
875
  class GoogleCloudApihubV1AllowedValue
772
876
  # @private
773
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -891,6 +995,30 @@ module Google
891
995
  end
892
996
  end
893
997
 
998
+ class GoogleCloudApihubV1ApigeeEdgeConfig
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ property :environment_filter, as: 'environmentFilter', class: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter::Representation
1002
+
1003
+ end
1004
+ end
1005
+
1006
+ class GoogleCloudApihubV1ApigeeOpdkConfig
1007
+ # @private
1008
+ class Representation < Google::Apis::Core::JsonRepresentation
1009
+ property :environment_filter, as: 'environmentFilter', class: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter::Representation
1010
+
1011
+ end
1012
+ end
1013
+
1014
+ class GoogleCloudApihubV1ApigeeXHybridConfig
1015
+ # @private
1016
+ class Representation < Google::Apis::Core::JsonRepresentation
1017
+ property :environment_filter, as: 'environmentFilter', class: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1EnvironmentFilter::Representation
1018
+
1019
+ end
1020
+ end
1021
+
894
1022
  class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails
895
1023
  # @private
896
1024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1249,6 +1377,14 @@ module Google
1249
1377
  end
1250
1378
  end
1251
1379
 
1380
+ class GoogleCloudApihubV1EnvironmentFilter
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :all_environments, as: 'allEnvironments'
1384
+ collection :environments, as: 'environments'
1385
+ end
1386
+ end
1387
+
1252
1388
  class GoogleCloudApihubV1ExecutePluginInstanceActionRequest
1253
1389
  # @private
1254
1390
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1283,6 +1419,27 @@ module Google
1283
1419
  end
1284
1420
  end
1285
1421
 
1422
+ class GoogleCloudApihubV1GatewayPluginAddonConfig
1423
+ # @private
1424
+ class Representation < Google::Apis::Core::JsonRepresentation
1425
+ collection :gateway_plugin_configs, as: 'gatewayPluginConfigs', class: Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1GatewayPluginConfig::Representation
1426
+
1427
+ end
1428
+ end
1429
+
1430
+ class GoogleCloudApihubV1GatewayPluginConfig
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :apigee_edge_config, as: 'apigeeEdgeConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeEdgeConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeEdgeConfig::Representation
1434
+
1435
+ property :apigee_opdk_config, as: 'apigeeOpdkConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeOpdkConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeOpdkConfig::Representation
1436
+
1437
+ property :apigee_x_hybrid_config, as: 'apigeeXHybridConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXHybridConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1ApigeeXHybridConfig::Representation
1438
+
1439
+ property :plugin_instance, as: 'pluginInstance'
1440
+ end
1441
+ end
1442
+
1286
1443
  class GoogleCloudApihubV1GoogleServiceAccountConfig
1287
1444
  # @private
1288
1445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1399,6 +1556,15 @@ module Google
1399
1556
  end
1400
1557
  end
1401
1558
 
1559
+ class GoogleCloudApihubV1ListAddonsResponse
1560
+ # @private
1561
+ class Representation < Google::Apis::Core::JsonRepresentation
1562
+ collection :addons, as: 'addons', class: Google::Apis::ApihubV1::GoogleCloudApihubV1Addon, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1Addon::Representation
1563
+
1564
+ property :next_page_token, as: 'nextPageToken'
1565
+ end
1566
+ end
1567
+
1402
1568
  class GoogleCloudApihubV1ListApiOperationsResponse
1403
1569
  # @private
1404
1570
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1550,6 +1716,14 @@ module Google
1550
1716
  end
1551
1717
  end
1552
1718
 
1719
+ class GoogleCloudApihubV1ManageAddonConfigRequest
1720
+ # @private
1721
+ class Representation < Google::Apis::Core::JsonRepresentation
1722
+ property :config, as: 'config', class: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1AddonConfig::Representation
1723
+
1724
+ end
1725
+ end
1726
+
1553
1727
  class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
1554
1728
  # @private
1555
1729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1711,6 +1885,8 @@ module Google
1711
1885
  property :display_name, as: 'displayName'
1712
1886
  property :error_message, as: 'errorMessage'
1713
1887
  property :name, as: 'name'
1888
+ hash :source_environments_config, as: 'sourceEnvironmentsConfig', class: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceEnvironment, decorator: Google::Apis::ApihubV1::GoogleCloudApihubV1SourceEnvironment::Representation
1889
+
1714
1890
  property :source_project_id, as: 'sourceProjectId'
1715
1891
  property :state, as: 'state'
1716
1892
  property :update_time, as: 'updateTime'
@@ -1836,6 +2012,16 @@ module Google
1836
2012
  end
1837
2013
  end
1838
2014
 
2015
+ class GoogleCloudApihubV1SourceEnvironment
2016
+ # @private
2017
+ class Representation < Google::Apis::Core::JsonRepresentation
2018
+ property :create_time, as: 'createTime'
2019
+ property :source_environment, as: 'sourceEnvironment'
2020
+ property :source_environment_uri, as: 'sourceEnvironmentUri'
2021
+ property :update_time, as: 'updateTime'
2022
+ end
2023
+ end
2024
+
1839
2025
  class GoogleCloudApihubV1SourceMetadata
1840
2026
  # @private
1841
2027
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -230,6 +230,122 @@ module Google
230
230
  execute_or_queue_command(command, &block)
231
231
  end
232
232
 
233
+ # Get an addon.
234
+ # @param [String] name
235
+ # Required. The name of the addon to get. Format: `projects/`project`/locations/`
236
+ # location`/addons/`addon``.
237
+ # @param [String] fields
238
+ # Selector specifying which fields to include in a partial response.
239
+ # @param [String] quota_user
240
+ # Available to use for quota purposes for server-side applications. Can be any
241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
242
+ # @param [Google::Apis::RequestOptions] options
243
+ # Request-specific options
244
+ #
245
+ # @yield [result, err] Result & error if block supplied
246
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1Addon] parsed result object
247
+ # @yieldparam err [StandardError] error object if request failed
248
+ #
249
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1Addon]
250
+ #
251
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
252
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
253
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
254
+ def get_project_location_addon(name, fields: nil, quota_user: nil, options: nil, &block)
255
+ command = make_simple_command(:get, 'v1/{+name}', options)
256
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1Addon::Representation
257
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1Addon
258
+ command.params['name'] = name unless name.nil?
259
+ command.query['fields'] = fields unless fields.nil?
260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
261
+ execute_or_queue_command(command, &block)
262
+ end
263
+
264
+ # List addons.
265
+ # @param [String] parent
266
+ # Required. The parent resource where this addon will be created. Format: `
267
+ # projects/`project`/locations/`location``.
268
+ # @param [String] filter
269
+ # Optional. An expression that filters the list of addons. The only supported
270
+ # filter is `plugin_instance_name`. It can be used to filter addons that are
271
+ # enabled for a given plugin instance. The format of the filter is `
272
+ # plugin_instance_name = "projects/`project`/locations/`location`/plugins/`
273
+ # plugin`/instances/`instance`"`.
274
+ # @param [Fixnum] page_size
275
+ # Optional. The maximum number of hub addons to return. The service may return
276
+ # fewer than this value. If unspecified, at most 50 hub addons will be returned.
277
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
278
+ # @param [String] page_token
279
+ # Optional. A page token, received from a previous `ListAddons` call. Provide
280
+ # this to retrieve the subsequent page. When paginating, all other parameters (
281
+ # except page_size) provided to `ListAddons` must match the call that provided
282
+ # the page token.
283
+ # @param [String] fields
284
+ # Selector specifying which fields to include in a partial response.
285
+ # @param [String] quota_user
286
+ # Available to use for quota purposes for server-side applications. Can be any
287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
288
+ # @param [Google::Apis::RequestOptions] options
289
+ # Request-specific options
290
+ #
291
+ # @yield [result, err] Result & error if block supplied
292
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleCloudApihubV1ListAddonsResponse] parsed result object
293
+ # @yieldparam err [StandardError] error object if request failed
294
+ #
295
+ # @return [Google::Apis::ApihubV1::GoogleCloudApihubV1ListAddonsResponse]
296
+ #
297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
300
+ def list_project_location_addons(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
301
+ command = make_simple_command(:get, 'v1/{+parent}/addons', options)
302
+ command.response_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ListAddonsResponse::Representation
303
+ command.response_class = Google::Apis::ApihubV1::GoogleCloudApihubV1ListAddonsResponse
304
+ command.params['parent'] = parent unless parent.nil?
305
+ command.query['filter'] = filter unless filter.nil?
306
+ command.query['pageSize'] = page_size unless page_size.nil?
307
+ command.query['pageToken'] = page_token unless page_token.nil?
308
+ command.query['fields'] = fields unless fields.nil?
309
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
310
+ execute_or_queue_command(command, &block)
311
+ end
312
+
313
+ # Manage addon config. This RPC is used for managing the config of the addon.
314
+ # Calling this RPC moves the addon into an updating state until the long-running
315
+ # operation succeeds.
316
+ # @param [String] name
317
+ # Required. The name of the addon for which the config is to be managed. Format:
318
+ # `projects/`project`/locations/`location`/addons/`addon``.
319
+ # @param [Google::Apis::ApihubV1::GoogleCloudApihubV1ManageAddonConfigRequest] google_cloud_apihub_v1_manage_addon_config_request_object
320
+ # @param [String] fields
321
+ # Selector specifying which fields to include in a partial response.
322
+ # @param [String] quota_user
323
+ # Available to use for quota purposes for server-side applications. Can be any
324
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
325
+ # @param [Google::Apis::RequestOptions] options
326
+ # Request-specific options
327
+ #
328
+ # @yield [result, err] Result & error if block supplied
329
+ # @yieldparam result [Google::Apis::ApihubV1::GoogleLongrunningOperation] parsed result object
330
+ # @yieldparam err [StandardError] error object if request failed
331
+ #
332
+ # @return [Google::Apis::ApihubV1::GoogleLongrunningOperation]
333
+ #
334
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
335
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
336
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
337
+ def manage_project_location_addon_config(name, google_cloud_apihub_v1_manage_addon_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
338
+ command = make_simple_command(:post, 'v1/{+name}:manageConfig', options)
339
+ command.request_representation = Google::Apis::ApihubV1::GoogleCloudApihubV1ManageAddonConfigRequest::Representation
340
+ command.request_object = google_cloud_apihub_v1_manage_addon_config_request_object
341
+ command.response_representation = Google::Apis::ApihubV1::GoogleLongrunningOperation::Representation
342
+ command.response_class = Google::Apis::ApihubV1::GoogleLongrunningOperation
343
+ command.params['name'] = name unless name.nil?
344
+ command.query['fields'] = fields unless fields.nil?
345
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
346
+ execute_or_queue_command(command, &block)
347
+ end
348
+
233
349
  # Provisions instance resources for the API Hub.
234
350
  # @param [String] parent
235
351
  # Required. The parent resource for the Api Hub instance resource. Format: `
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.9.0
4
+ version: 0.10.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.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apihub_v1/v0.10.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: