google-apis-apigee_v1 0.17.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/apigee_v1/classes.rb +357 -31
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +176 -15
- data/lib/google/apis/apigee_v1/service.rb +475 -2
- data/lib/google/apis/apigee_v1.rb +1 -1
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210902"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ApigeeV1
|
24
24
|
|
25
|
+
class EdgeConfigstoreBundleBadBundle
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class EdgeConfigstoreBundleBadBundleViolation
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class GoogleApiHttpBody
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -130,6 +142,12 @@ module Google
|
|
130
142
|
include Google::Apis::Core::JsonObjectSupport
|
131
143
|
end
|
132
144
|
|
145
|
+
class GoogleCloudApigeeV1ArchiveDeployment
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class GoogleCloudApigeeV1AsyncQuery
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
@@ -202,6 +220,12 @@ module Google
|
|
202
220
|
include Google::Apis::Core::JsonObjectSupport
|
203
221
|
end
|
204
222
|
|
223
|
+
class GoogleCloudApigeeV1CreditDeveloperBalanceRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
205
229
|
class GoogleCloudApigeeV1CustomReport
|
206
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
231
|
|
@@ -322,6 +346,24 @@ module Google
|
|
322
346
|
include Google::Apis::Core::JsonObjectSupport
|
323
347
|
end
|
324
348
|
|
349
|
+
class GoogleCloudApigeeV1DeveloperBalance
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class GoogleCloudApigeeV1DeveloperBalanceWallet
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class GoogleCloudApigeeV1DeveloperMonetizationConfig
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
325
367
|
class GoogleCloudApigeeV1DeveloperSubscription
|
326
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
369
|
|
@@ -400,6 +442,30 @@ module Google
|
|
400
442
|
include Google::Apis::Core::JsonObjectSupport
|
401
443
|
end
|
402
444
|
|
445
|
+
class GoogleCloudApigeeV1GenerateDownloadUrlRequest
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
451
|
+
class GoogleCloudApigeeV1GenerateDownloadUrlResponse
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
457
|
+
class GoogleCloudApigeeV1GenerateUploadUrlRequest
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class GoogleCloudApigeeV1GenerateUploadUrlResponse
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
403
469
|
class GoogleCloudApigeeV1GetSyncAuthorizationRequest
|
404
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
471
|
|
@@ -460,12 +526,6 @@ module Google
|
|
460
526
|
include Google::Apis::Core::JsonObjectSupport
|
461
527
|
end
|
462
528
|
|
463
|
-
class GoogleCloudApigeeV1IntegrationConfig
|
464
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
-
|
466
|
-
include Google::Apis::Core::JsonObjectSupport
|
467
|
-
end
|
468
|
-
|
469
529
|
class GoogleCloudApigeeV1KeyAliasReference
|
470
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
531
|
|
@@ -514,6 +574,12 @@ module Google
|
|
514
574
|
include Google::Apis::Core::JsonObjectSupport
|
515
575
|
end
|
516
576
|
|
577
|
+
class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
517
583
|
class GoogleCloudApigeeV1ListAsyncQueriesResponse
|
518
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
585
|
|
@@ -1120,6 +1186,22 @@ module Google
|
|
1120
1186
|
include Google::Apis::Core::JsonObjectSupport
|
1121
1187
|
end
|
1122
1188
|
|
1189
|
+
class EdgeConfigstoreBundleBadBundle
|
1190
|
+
# @private
|
1191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1192
|
+
collection :violations, as: 'violations', class: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation, decorator: Google::Apis::ApigeeV1::EdgeConfigstoreBundleBadBundleViolation::Representation
|
1193
|
+
|
1194
|
+
end
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
class EdgeConfigstoreBundleBadBundleViolation
|
1198
|
+
# @private
|
1199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1200
|
+
property :description, as: 'description'
|
1201
|
+
property :filename, as: 'filename'
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1123
1205
|
class GoogleApiHttpBody
|
1124
1206
|
# @private
|
1125
1207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1177,8 +1259,6 @@ module Google
|
|
1177
1259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1178
1260
|
property :advanced_api_ops_config, as: 'advancedApiOpsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig::Representation
|
1179
1261
|
|
1180
|
-
property :integration_config, as: 'integrationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig::Representation
|
1181
|
-
|
1182
1262
|
property :monetization_config, as: 'monetizationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig::Representation
|
1183
1263
|
|
1184
1264
|
end
|
@@ -1268,6 +1348,7 @@ module Google
|
|
1268
1348
|
class GoogleCloudApigeeV1ApiProxy
|
1269
1349
|
# @private
|
1270
1350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1351
|
+
hash :labels, as: 'labels'
|
1271
1352
|
property :latest_revision_id, as: 'latestRevisionId'
|
1272
1353
|
property :meta_data, as: 'metaData', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata::Representation
|
1273
1354
|
|
@@ -1338,6 +1419,18 @@ module Google
|
|
1338
1419
|
end
|
1339
1420
|
end
|
1340
1421
|
|
1422
|
+
class GoogleCloudApigeeV1ArchiveDeployment
|
1423
|
+
# @private
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1425
|
+
property :created_at, :numeric_string => true, as: 'createdAt'
|
1426
|
+
property :gcs_uri, as: 'gcsUri'
|
1427
|
+
hash :labels, as: 'labels'
|
1428
|
+
property :name, as: 'name'
|
1429
|
+
property :operation, as: 'operation'
|
1430
|
+
property :updated_at, :numeric_string => true, as: 'updatedAt'
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1341
1434
|
class GoogleCloudApigeeV1AsyncQuery
|
1342
1435
|
# @private
|
1343
1436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1477,6 +1570,15 @@ module Google
|
|
1477
1570
|
end
|
1478
1571
|
end
|
1479
1572
|
|
1573
|
+
class GoogleCloudApigeeV1CreditDeveloperBalanceRequest
|
1574
|
+
# @private
|
1575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1576
|
+
property :transaction_amount, as: 'transactionAmount', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1577
|
+
|
1578
|
+
property :transaction_id, as: 'transactionId'
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1480
1582
|
class GoogleCloudApigeeV1CustomReport
|
1481
1583
|
# @private
|
1482
1584
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1625,6 +1727,7 @@ module Google
|
|
1625
1727
|
property :revision, as: 'revision'
|
1626
1728
|
collection :route_conflicts, as: 'routeConflicts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict::Representation
|
1627
1729
|
|
1730
|
+
property :service_account, as: 'serviceAccount'
|
1628
1731
|
property :state, as: 'state'
|
1629
1732
|
end
|
1630
1733
|
end
|
@@ -1745,6 +1848,30 @@ module Google
|
|
1745
1848
|
end
|
1746
1849
|
end
|
1747
1850
|
|
1851
|
+
class GoogleCloudApigeeV1DeveloperBalance
|
1852
|
+
# @private
|
1853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1854
|
+
collection :wallets, as: 'wallets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalanceWallet, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalanceWallet::Representation
|
1855
|
+
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
class GoogleCloudApigeeV1DeveloperBalanceWallet
|
1860
|
+
# @private
|
1861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1862
|
+
property :balance, as: 'balance', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1863
|
+
|
1864
|
+
property :last_credit_time, :numeric_string => true, as: 'lastCreditTime'
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
class GoogleCloudApigeeV1DeveloperMonetizationConfig
|
1869
|
+
# @private
|
1870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1871
|
+
property :billing_type, as: 'billingType'
|
1872
|
+
end
|
1873
|
+
end
|
1874
|
+
|
1748
1875
|
class GoogleCloudApigeeV1DeveloperSubscription
|
1749
1876
|
# @private
|
1750
1877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1778,7 +1905,9 @@ module Google
|
|
1778
1905
|
class GoogleCloudApigeeV1Environment
|
1779
1906
|
# @private
|
1780
1907
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1908
|
+
property :api_proxy_type, as: 'apiProxyType'
|
1781
1909
|
property :created_at, :numeric_string => true, as: 'createdAt'
|
1910
|
+
property :deployment_type, as: 'deploymentType'
|
1782
1911
|
property :description, as: 'description'
|
1783
1912
|
property :display_name, as: 'displayName'
|
1784
1913
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
@@ -1792,6 +1921,7 @@ module Google
|
|
1792
1921
|
class GoogleCloudApigeeV1EnvironmentConfig
|
1793
1922
|
# @private
|
1794
1923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1924
|
+
property :arc_config_location, as: 'arcConfigLocation'
|
1795
1925
|
property :create_time, as: 'createTime'
|
1796
1926
|
collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig::Representation
|
1797
1927
|
|
@@ -1802,6 +1932,7 @@ module Google
|
|
1802
1932
|
hash :feature_flags, as: 'featureFlags'
|
1803
1933
|
collection :flowhooks, as: 'flowhooks', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig::Representation
|
1804
1934
|
|
1935
|
+
property :gateway_config_location, as: 'gatewayConfigLocation'
|
1805
1936
|
collection :keystores, as: 'keystores', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig::Representation
|
1806
1937
|
|
1807
1938
|
property :name, as: 'name'
|
@@ -1906,6 +2037,32 @@ module Google
|
|
1906
2037
|
end
|
1907
2038
|
end
|
1908
2039
|
|
2040
|
+
class GoogleCloudApigeeV1GenerateDownloadUrlRequest
|
2041
|
+
# @private
|
2042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2043
|
+
end
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
class GoogleCloudApigeeV1GenerateDownloadUrlResponse
|
2047
|
+
# @private
|
2048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2049
|
+
property :download_uri, as: 'downloadUri'
|
2050
|
+
end
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
class GoogleCloudApigeeV1GenerateUploadUrlRequest
|
2054
|
+
# @private
|
2055
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2056
|
+
end
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
class GoogleCloudApigeeV1GenerateUploadUrlResponse
|
2060
|
+
# @private
|
2061
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2062
|
+
property :upload_uri, as: 'uploadUri'
|
2063
|
+
end
|
2064
|
+
end
|
2065
|
+
|
1909
2066
|
class GoogleCloudApigeeV1GetSyncAuthorizationRequest
|
1910
2067
|
# @private
|
1911
2068
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1967,6 +2124,7 @@ module Google
|
|
1967
2124
|
property :name, as: 'name'
|
1968
2125
|
property :peering_cidr_range, as: 'peeringCidrRange'
|
1969
2126
|
property :port, as: 'port'
|
2127
|
+
property :runtime_version, as: 'runtimeVersion'
|
1970
2128
|
property :state, as: 'state'
|
1971
2129
|
end
|
1972
2130
|
end
|
@@ -2009,13 +2167,6 @@ module Google
|
|
2009
2167
|
end
|
2010
2168
|
end
|
2011
2169
|
|
2012
|
-
class GoogleCloudApigeeV1IntegrationConfig
|
2013
|
-
# @private
|
2014
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2015
|
-
property :enabled, as: 'enabled'
|
2016
|
-
end
|
2017
|
-
end
|
2018
|
-
|
2019
2170
|
class GoogleCloudApigeeV1KeyAliasReference
|
2020
2171
|
# @private
|
2021
2172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2085,6 +2236,15 @@ module Google
|
|
2085
2236
|
end
|
2086
2237
|
end
|
2087
2238
|
|
2239
|
+
class GoogleCloudApigeeV1ListArchiveDeploymentsResponse
|
2240
|
+
# @private
|
2241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2242
|
+
collection :archive_deployments, as: 'archiveDeployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
|
2243
|
+
|
2244
|
+
property :next_page_token, as: 'nextPageToken'
|
2245
|
+
end
|
2246
|
+
end
|
2247
|
+
|
2088
2248
|
class GoogleCloudApigeeV1ListAsyncQueriesResponse
|
2089
2249
|
# @private
|
2090
2250
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2874,6 +3034,7 @@ module Google
|
|
2874
3034
|
class GoogleCloudApigeeV1TargetServerConfig
|
2875
3035
|
# @private
|
2876
3036
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3037
|
+
property :enabled, as: 'enabled'
|
2877
3038
|
property :host, as: 'host'
|
2878
3039
|
property :name, as: 'name'
|
2879
3040
|
property :port, as: 'port'
|
@@ -1386,6 +1386,43 @@ module Google
|
|
1386
1386
|
execute_or_queue_command(command, &block)
|
1387
1387
|
end
|
1388
1388
|
|
1389
|
+
# Updates an existing API proxy.
|
1390
|
+
# @param [String] name
|
1391
|
+
# Required. API proxy to update in the following format: `organizations/`org`/
|
1392
|
+
# apis/`api``
|
1393
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] google_cloud_apigee_v1_api_proxy_object
|
1394
|
+
# @param [String] update_mask
|
1395
|
+
# Required. The list of fields to update.
|
1396
|
+
# @param [String] fields
|
1397
|
+
# Selector specifying which fields to include in a partial response.
|
1398
|
+
# @param [String] quota_user
|
1399
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1400
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1401
|
+
# @param [Google::Apis::RequestOptions] options
|
1402
|
+
# Request-specific options
|
1403
|
+
#
|
1404
|
+
# @yield [result, err] Result & error if block supplied
|
1405
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] parsed result object
|
1406
|
+
# @yieldparam err [StandardError] error object if request failed
|
1407
|
+
#
|
1408
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy]
|
1409
|
+
#
|
1410
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1411
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1412
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1413
|
+
def patch_organization_api(name, google_cloud_apigee_v1_api_proxy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1414
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1415
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
|
1416
|
+
command.request_object = google_cloud_apigee_v1_api_proxy_object
|
1417
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
|
1418
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
|
1419
|
+
command.params['name'] = name unless name.nil?
|
1420
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1421
|
+
command.query['fields'] = fields unless fields.nil?
|
1422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1423
|
+
execute_or_queue_command(command, &block)
|
1424
|
+
end
|
1425
|
+
|
1389
1426
|
# Lists all deployments of an API proxy.
|
1390
1427
|
# @param [String] parent
|
1391
1428
|
# Required. Name of the API proxy for which to return deployment information in
|
@@ -2086,6 +2123,69 @@ module Google
|
|
2086
2123
|
execute_or_queue_command(command, &block)
|
2087
2124
|
end
|
2088
2125
|
|
2126
|
+
# Gets the account balance for the developer.
|
2127
|
+
# @param [String] name
|
2128
|
+
# Required. Account balance for the developer. Use the following structure in
|
2129
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
2130
|
+
# @param [String] fields
|
2131
|
+
# Selector specifying which fields to include in a partial response.
|
2132
|
+
# @param [String] quota_user
|
2133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2135
|
+
# @param [Google::Apis::RequestOptions] options
|
2136
|
+
# Request-specific options
|
2137
|
+
#
|
2138
|
+
# @yield [result, err] Result & error if block supplied
|
2139
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
2140
|
+
# @yieldparam err [StandardError] error object if request failed
|
2141
|
+
#
|
2142
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
2143
|
+
#
|
2144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2147
|
+
def get_organization_developer_balance(name, fields: nil, quota_user: nil, options: nil, &block)
|
2148
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2149
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
2150
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
2151
|
+
command.params['name'] = name unless name.nil?
|
2152
|
+
command.query['fields'] = fields unless fields.nil?
|
2153
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2154
|
+
execute_or_queue_command(command, &block)
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# Gets the monetization configuration for the developer.
|
2158
|
+
# @param [String] name
|
2159
|
+
# Required. Monetization configuration for the developer. Use the following
|
2160
|
+
# structure in your request: `organizations/`org`/developers/`developer`/
|
2161
|
+
# monetizationConfig`
|
2162
|
+
# @param [String] fields
|
2163
|
+
# Selector specifying which fields to include in a partial response.
|
2164
|
+
# @param [String] quota_user
|
2165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2167
|
+
# @param [Google::Apis::RequestOptions] options
|
2168
|
+
# Request-specific options
|
2169
|
+
#
|
2170
|
+
# @yield [result, err] Result & error if block supplied
|
2171
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
|
2172
|
+
# @yieldparam err [StandardError] error object if request failed
|
2173
|
+
#
|
2174
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
|
2175
|
+
#
|
2176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
+
def get_organization_developer_monetization_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
2180
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2181
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2182
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
|
2183
|
+
command.params['name'] = name unless name.nil?
|
2184
|
+
command.query['fields'] = fields unless fields.nil?
|
2185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2186
|
+
execute_or_queue_command(command, &block)
|
2187
|
+
end
|
2188
|
+
|
2089
2189
|
# Lists all developers in an organization by email address. By default, the
|
2090
2190
|
# response does not include company developers. Set the `includeCompany` query
|
2091
2191
|
# parameter to `true` to include company developers. **Note**: A maximum of 1000
|
@@ -2232,6 +2332,41 @@ module Google
|
|
2232
2332
|
execute_or_queue_command(command, &block)
|
2233
2333
|
end
|
2234
2334
|
|
2335
|
+
# Updates the monetization configuration for the developer.
|
2336
|
+
# @param [String] name
|
2337
|
+
# Required. Monetization configuration for the developer. Use the following
|
2338
|
+
# structure in your request: `organizations/`org`/developers/`developer`/
|
2339
|
+
# monetizationConfig`
|
2340
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] google_cloud_apigee_v1_developer_monetization_config_object
|
2341
|
+
# @param [String] fields
|
2342
|
+
# Selector specifying which fields to include in a partial response.
|
2343
|
+
# @param [String] quota_user
|
2344
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2345
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2346
|
+
# @param [Google::Apis::RequestOptions] options
|
2347
|
+
# Request-specific options
|
2348
|
+
#
|
2349
|
+
# @yield [result, err] Result & error if block supplied
|
2350
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
|
2351
|
+
# @yieldparam err [StandardError] error object if request failed
|
2352
|
+
#
|
2353
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
|
2354
|
+
#
|
2355
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2356
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2357
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2358
|
+
def update_organization_developer_monetization_config(name, google_cloud_apigee_v1_developer_monetization_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2359
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
2360
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2361
|
+
command.request_object = google_cloud_apigee_v1_developer_monetization_config_object
|
2362
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
|
2363
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
|
2364
|
+
command.params['name'] = name unless name.nil?
|
2365
|
+
command.query['fields'] = fields unless fields.nil?
|
2366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2367
|
+
execute_or_queue_command(command, &block)
|
2368
|
+
end
|
2369
|
+
|
2235
2370
|
# Updates attributes for a developer app. This API replaces the current
|
2236
2371
|
# attributes with those specified in the request.
|
2237
2372
|
# @param [String] name
|
@@ -3121,6 +3256,40 @@ module Google
|
|
3121
3256
|
execute_or_queue_command(command, &block)
|
3122
3257
|
end
|
3123
3258
|
|
3259
|
+
# Credits the account balance for the developer.
|
3260
|
+
# @param [String] name
|
3261
|
+
# Required. Account balance for the developer. Use the following structure in
|
3262
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
3263
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest] google_cloud_apigee_v1_credit_developer_balance_request_object
|
3264
|
+
# @param [String] fields
|
3265
|
+
# Selector specifying which fields to include in a partial response.
|
3266
|
+
# @param [String] quota_user
|
3267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3269
|
+
# @param [Google::Apis::RequestOptions] options
|
3270
|
+
# Request-specific options
|
3271
|
+
#
|
3272
|
+
# @yield [result, err] Result & error if block supplied
|
3273
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
3274
|
+
# @yieldparam err [StandardError] error object if request failed
|
3275
|
+
#
|
3276
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
3277
|
+
#
|
3278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3281
|
+
def credit_organization_developer_balance(name, google_cloud_apigee_v1_credit_developer_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3282
|
+
command = make_simple_command(:post, 'v1/{+name}:credit', options)
|
3283
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest::Representation
|
3284
|
+
command.request_object = google_cloud_apigee_v1_credit_developer_balance_request_object
|
3285
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
3286
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
3287
|
+
command.params['name'] = name unless name.nil?
|
3288
|
+
command.query['fields'] = fields unless fields.nil?
|
3289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3290
|
+
execute_or_queue_command(command, &block)
|
3291
|
+
end
|
3292
|
+
|
3124
3293
|
# Creates a subscription to an API product.
|
3125
3294
|
# @param [String] parent
|
3126
3295
|
# Required. Email address of the developer that is purchasing a subscription to
|
@@ -4315,6 +4484,10 @@ module Google
|
|
4315
4484
|
# GenerateDeployChangeReport) may be used to examine routing changes before
|
4316
4485
|
# issuing the deployment request, and its response will indicate if a sequenced
|
4317
4486
|
# rollout is recommended for the deployment.
|
4487
|
+
# @param [String] service_account
|
4488
|
+
# Google Cloud IAM service account. The service account represents the identity
|
4489
|
+
# of the deployed proxy, and determines what permissions it has. The format must
|
4490
|
+
# be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
|
4318
4491
|
# @param [String] fields
|
4319
4492
|
# Selector specifying which fields to include in a partial response.
|
4320
4493
|
# @param [String] quota_user
|
@@ -4332,13 +4505,14 @@ module Google
|
|
4332
4505
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4333
4506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4334
4507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4335
|
-
def deploy_organization_environment_api_revision(name, override: nil, sequenced_rollout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4508
|
+
def deploy_organization_environment_api_revision(name, override: nil, sequenced_rollout: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4336
4509
|
command = make_simple_command(:post, 'v1/{+name}/deployments', options)
|
4337
4510
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
|
4338
4511
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
|
4339
4512
|
command.params['name'] = name unless name.nil?
|
4340
4513
|
command.query['override'] = override unless override.nil?
|
4341
4514
|
command.query['sequencedRollout'] = sequenced_rollout unless sequenced_rollout.nil?
|
4515
|
+
command.query['serviceAccount'] = service_account unless service_account.nil?
|
4342
4516
|
command.query['fields'] = fields unless fields.nil?
|
4343
4517
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4344
4518
|
execute_or_queue_command(command, &block)
|
@@ -4687,6 +4861,261 @@ module Google
|
|
4687
4861
|
execute_or_queue_command(command, &block)
|
4688
4862
|
end
|
4689
4863
|
|
4864
|
+
# Creates a new ArchiveDeployment.
|
4865
|
+
# @param [String] parent
|
4866
|
+
# Required. The Environment this Archive Deployment will be created in.
|
4867
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
|
4868
|
+
# @param [String] fields
|
4869
|
+
# Selector specifying which fields to include in a partial response.
|
4870
|
+
# @param [String] quota_user
|
4871
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4872
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4873
|
+
# @param [Google::Apis::RequestOptions] options
|
4874
|
+
# Request-specific options
|
4875
|
+
#
|
4876
|
+
# @yield [result, err] Result & error if block supplied
|
4877
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
4878
|
+
# @yieldparam err [StandardError] error object if request failed
|
4879
|
+
#
|
4880
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
4881
|
+
#
|
4882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4885
|
+
def create_organization_environment_archive_deployment(parent, google_cloud_apigee_v1_archive_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4886
|
+
command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments', options)
|
4887
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
|
4888
|
+
command.request_object = google_cloud_apigee_v1_archive_deployment_object
|
4889
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
4890
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
4891
|
+
command.params['parent'] = parent unless parent.nil?
|
4892
|
+
command.query['fields'] = fields unless fields.nil?
|
4893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4894
|
+
execute_or_queue_command(command, &block)
|
4895
|
+
end
|
4896
|
+
|
4897
|
+
# Deletes an archive deployment.
|
4898
|
+
# @param [String] name
|
4899
|
+
# Required. Name of the Archive Deployment in the following format: `
|
4900
|
+
# organizations/`org`/environments/`env`/archiveDeployments/`id``.
|
4901
|
+
# @param [String] fields
|
4902
|
+
# Selector specifying which fields to include in a partial response.
|
4903
|
+
# @param [String] quota_user
|
4904
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4905
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4906
|
+
# @param [Google::Apis::RequestOptions] options
|
4907
|
+
# Request-specific options
|
4908
|
+
#
|
4909
|
+
# @yield [result, err] Result & error if block supplied
|
4910
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
4911
|
+
# @yieldparam err [StandardError] error object if request failed
|
4912
|
+
#
|
4913
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
4914
|
+
#
|
4915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4918
|
+
def delete_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
4919
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
4920
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
4921
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
4922
|
+
command.params['name'] = name unless name.nil?
|
4923
|
+
command.query['fields'] = fields unless fields.nil?
|
4924
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4925
|
+
execute_or_queue_command(command, &block)
|
4926
|
+
end
|
4927
|
+
|
4928
|
+
# Generates a signed URL for downloading the original zip file used to create an
|
4929
|
+
# Archive Deployment. The URL is only valid for a limited period and should be
|
4930
|
+
# used within minutes after generation. Each call returns a new upload URL.
|
4931
|
+
# @param [String] name
|
4932
|
+
# Required. The name of the Archive Deployment you want to download.
|
4933
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest] google_cloud_apigee_v1_generate_download_url_request_object
|
4934
|
+
# @param [String] fields
|
4935
|
+
# Selector specifying which fields to include in a partial response.
|
4936
|
+
# @param [String] quota_user
|
4937
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4938
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4939
|
+
# @param [Google::Apis::RequestOptions] options
|
4940
|
+
# Request-specific options
|
4941
|
+
#
|
4942
|
+
# @yield [result, err] Result & error if block supplied
|
4943
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse] parsed result object
|
4944
|
+
# @yieldparam err [StandardError] error object if request failed
|
4945
|
+
#
|
4946
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse]
|
4947
|
+
#
|
4948
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4949
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4950
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4951
|
+
def generate_organization_environment_archive_deployment_download_url(name, google_cloud_apigee_v1_generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4952
|
+
command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
|
4953
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest::Representation
|
4954
|
+
command.request_object = google_cloud_apigee_v1_generate_download_url_request_object
|
4955
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse::Representation
|
4956
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse
|
4957
|
+
command.params['name'] = name unless name.nil?
|
4958
|
+
command.query['fields'] = fields unless fields.nil?
|
4959
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4960
|
+
execute_or_queue_command(command, &block)
|
4961
|
+
end
|
4962
|
+
|
4963
|
+
# Generates a signed URL for uploading an Archive zip file to Google Cloud
|
4964
|
+
# Storage. Once the upload is complete, the signed URL should be passed to
|
4965
|
+
# CreateArchiveDeployment. When uploading to the generated signed URL, please
|
4966
|
+
# follow these restrictions: * Source file type should be a zip file. * Source
|
4967
|
+
# file size should not exceed 1GB limit. * No credentials should be attached -
|
4968
|
+
# the signed URLs provide access to the target bucket using internal service
|
4969
|
+
# identity; if credentials were attached, the identity from the credentials
|
4970
|
+
# would be used, but that identity does not have permissions to upload files to
|
4971
|
+
# the URL. When making a HTTP PUT request, these two headers need to be
|
4972
|
+
# specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,
|
4973
|
+
# 1073741824` And this header SHOULD NOT be specified: * `Authorization: Bearer
|
4974
|
+
# YOUR_TOKEN`
|
4975
|
+
# @param [String] parent
|
4976
|
+
# Required. The organization and environment to upload to.
|
4977
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest] google_cloud_apigee_v1_generate_upload_url_request_object
|
4978
|
+
# @param [String] fields
|
4979
|
+
# Selector specifying which fields to include in a partial response.
|
4980
|
+
# @param [String] quota_user
|
4981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4983
|
+
# @param [Google::Apis::RequestOptions] options
|
4984
|
+
# Request-specific options
|
4985
|
+
#
|
4986
|
+
# @yield [result, err] Result & error if block supplied
|
4987
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse] parsed result object
|
4988
|
+
# @yieldparam err [StandardError] error object if request failed
|
4989
|
+
#
|
4990
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse]
|
4991
|
+
#
|
4992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4995
|
+
def generate_organization_environment_archive_deployment_upload_url(parent, google_cloud_apigee_v1_generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4996
|
+
command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments:generateUploadUrl', options)
|
4997
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest::Representation
|
4998
|
+
command.request_object = google_cloud_apigee_v1_generate_upload_url_request_object
|
4999
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse::Representation
|
5000
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse
|
5001
|
+
command.params['parent'] = parent unless parent.nil?
|
5002
|
+
command.query['fields'] = fields unless fields.nil?
|
5003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5004
|
+
execute_or_queue_command(command, &block)
|
5005
|
+
end
|
5006
|
+
|
5007
|
+
# Gets the specified ArchiveDeployment.
|
5008
|
+
# @param [String] name
|
5009
|
+
# Required. Name of the Archive Deployment in the following format: `
|
5010
|
+
# organizations/`org`/environments/`env`/archiveDeployments/`id``.
|
5011
|
+
# @param [String] fields
|
5012
|
+
# Selector specifying which fields to include in a partial response.
|
5013
|
+
# @param [String] quota_user
|
5014
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5015
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5016
|
+
# @param [Google::Apis::RequestOptions] options
|
5017
|
+
# Request-specific options
|
5018
|
+
#
|
5019
|
+
# @yield [result, err] Result & error if block supplied
|
5020
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
|
5021
|
+
# @yieldparam err [StandardError] error object if request failed
|
5022
|
+
#
|
5023
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
|
5024
|
+
#
|
5025
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5026
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5027
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5028
|
+
def get_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
5029
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5030
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
|
5031
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
|
5032
|
+
command.params['name'] = name unless name.nil?
|
5033
|
+
command.query['fields'] = fields unless fields.nil?
|
5034
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5035
|
+
execute_or_queue_command(command, &block)
|
5036
|
+
end
|
5037
|
+
|
5038
|
+
# Lists the ArchiveDeployments in the specified Environment.
|
5039
|
+
# @param [String] parent
|
5040
|
+
# Required. Name of the Environment for which to list Archive Deployments in the
|
5041
|
+
# format: `organizations/`org`/environments/`env``.
|
5042
|
+
# @param [String] filter
|
5043
|
+
# Optional. An optional query used to return a subset of Archive Deployments
|
5044
|
+
# using the semantics defined in https://google.aip.dev/160.
|
5045
|
+
# @param [Fixnum] page_size
|
5046
|
+
# Optional. Maximum number of Archive Deployments to return. If unspecified, at
|
5047
|
+
# most 25 deployments will be returned.
|
5048
|
+
# @param [String] page_token
|
5049
|
+
# Optional. Page token, returned from a previous ListArchiveDeployments call,
|
5050
|
+
# that you can use to retrieve the next page.
|
5051
|
+
# @param [String] fields
|
5052
|
+
# Selector specifying which fields to include in a partial response.
|
5053
|
+
# @param [String] quota_user
|
5054
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5055
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5056
|
+
# @param [Google::Apis::RequestOptions] options
|
5057
|
+
# Request-specific options
|
5058
|
+
#
|
5059
|
+
# @yield [result, err] Result & error if block supplied
|
5060
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse] parsed result object
|
5061
|
+
# @yieldparam err [StandardError] error object if request failed
|
5062
|
+
#
|
5063
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse]
|
5064
|
+
#
|
5065
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5066
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5067
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5068
|
+
def list_organization_environment_archive_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5069
|
+
command = make_simple_command(:get, 'v1/{+parent}/archiveDeployments', options)
|
5070
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse::Representation
|
5071
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse
|
5072
|
+
command.params['parent'] = parent unless parent.nil?
|
5073
|
+
command.query['filter'] = filter unless filter.nil?
|
5074
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5075
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5076
|
+
command.query['fields'] = fields unless fields.nil?
|
5077
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5078
|
+
execute_or_queue_command(command, &block)
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
# Updates an existing ArchiveDeployment. Labels can modified but most of the
|
5082
|
+
# other fields are not modifiable.
|
5083
|
+
# @param [String] name
|
5084
|
+
# Name of the Archive Deployment in the following format: `organizations/`org`/
|
5085
|
+
# environments/`env`/archiveDeployments/`id``.
|
5086
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
|
5087
|
+
# @param [String] update_mask
|
5088
|
+
# Required. The list of fields to be updated.
|
5089
|
+
# @param [String] fields
|
5090
|
+
# Selector specifying which fields to include in a partial response.
|
5091
|
+
# @param [String] quota_user
|
5092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5094
|
+
# @param [Google::Apis::RequestOptions] options
|
5095
|
+
# Request-specific options
|
5096
|
+
#
|
5097
|
+
# @yield [result, err] Result & error if block supplied
|
5098
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
|
5099
|
+
# @yieldparam err [StandardError] error object if request failed
|
5100
|
+
#
|
5101
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
|
5102
|
+
#
|
5103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5106
|
+
def patch_organization_environment_archive_deployment(name, google_cloud_apigee_v1_archive_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5107
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
5108
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
|
5109
|
+
command.request_object = google_cloud_apigee_v1_archive_deployment_object
|
5110
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
|
5111
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
|
5112
|
+
command.params['name'] = name unless name.nil?
|
5113
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
5114
|
+
command.query['fields'] = fields unless fields.nil?
|
5115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5116
|
+
execute_or_queue_command(command, &block)
|
5117
|
+
end
|
5118
|
+
|
4690
5119
|
# Deletes a cache.
|
4691
5120
|
# @param [String] name
|
4692
5121
|
# Required. Cache resource name of the form: `organizations/`organization_id`/
|
@@ -5930,6 +6359,10 @@ module Google
|
|
5930
6359
|
# replace other deployed revisions. By default, `override` is `false` and the
|
5931
6360
|
# deployment is rejected if other revisions of the shared flow are deployed in
|
5932
6361
|
# the environment.
|
6362
|
+
# @param [String] service_account
|
6363
|
+
# Google Cloud IAM service account. The service account represents the identity
|
6364
|
+
# of the deployed proxy, and determines what permissions it has. The format must
|
6365
|
+
# be ``ACCOUNT_ID`@`PROJECT`.iam.gserviceaccount.com`.
|
5933
6366
|
# @param [String] fields
|
5934
6367
|
# Selector specifying which fields to include in a partial response.
|
5935
6368
|
# @param [String] quota_user
|
@@ -5947,12 +6380,13 @@ module Google
|
|
5947
6380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5948
6381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5949
6382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5950
|
-
def deploy_organization_environment_sharedflow_revision(name, override: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6383
|
+
def deploy_organization_environment_sharedflow_revision(name, override: nil, service_account: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5951
6384
|
command = make_simple_command(:post, 'v1/{+name}/deployments', options)
|
5952
6385
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment::Representation
|
5953
6386
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment
|
5954
6387
|
command.params['name'] = name unless name.nil?
|
5955
6388
|
command.query['override'] = override unless override.nil?
|
6389
|
+
command.query['serviceAccount'] = service_account unless service_account.nil?
|
5956
6390
|
command.query['fields'] = fields unless fields.nil?
|
5957
6391
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5958
6392
|
execute_or_queue_command(command, &block)
|
@@ -6861,6 +7295,45 @@ module Google
|
|
6861
7295
|
execute_or_queue_command(command, &block)
|
6862
7296
|
end
|
6863
7297
|
|
7298
|
+
# Updates an Apigee runtime instance. You can update the fields described in
|
7299
|
+
# NodeConfig. No other fields will be updated. **Note:** Not supported for
|
7300
|
+
# Apigee hybrid.
|
7301
|
+
# @param [String] name
|
7302
|
+
# Required. Name of the instance. Use the following structure in your request: `
|
7303
|
+
# organizations/`org`/instances/`instance``.
|
7304
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance] google_cloud_apigee_v1_instance_object
|
7305
|
+
# @param [String] update_mask
|
7306
|
+
# List of fields to be updated.
|
7307
|
+
# @param [String] fields
|
7308
|
+
# Selector specifying which fields to include in a partial response.
|
7309
|
+
# @param [String] quota_user
|
7310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7312
|
+
# @param [Google::Apis::RequestOptions] options
|
7313
|
+
# Request-specific options
|
7314
|
+
#
|
7315
|
+
# @yield [result, err] Result & error if block supplied
|
7316
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
7317
|
+
# @yieldparam err [StandardError] error object if request failed
|
7318
|
+
#
|
7319
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
7320
|
+
#
|
7321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7324
|
+
def patch_organization_instance(name, google_cloud_apigee_v1_instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7325
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
7326
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance::Representation
|
7327
|
+
command.request_object = google_cloud_apigee_v1_instance_object
|
7328
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
7329
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
7330
|
+
command.params['name'] = name unless name.nil?
|
7331
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
7332
|
+
command.query['fields'] = fields unless fields.nil?
|
7333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7334
|
+
execute_or_queue_command(command, &block)
|
7335
|
+
end
|
7336
|
+
|
6864
7337
|
# Reports the latest status for a runtime instance.
|
6865
7338
|
# @param [String] instance
|
6866
7339
|
# The name of the instance reporting this status. For SaaS the request will be
|