google-apis-apigee_v1 0.4.0 → 0.9.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 +21 -0
- data/lib/google/apis/apigee_v1.rb +1 -1
- data/lib/google/apis/apigee_v1/classes.rb +379 -23
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +184 -0
- data/lib/google/apis/apigee_v1/service.rb +312 -16
- metadata +5 -5
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,18 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class GoogleCloudApigeeV1AddonsConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class GoogleCloudApigeeV1Alias
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -382,6 +394,24 @@ module Google
|
|
382
394
|
include Google::Apis::Core::JsonObjectSupport
|
383
395
|
end
|
384
396
|
|
397
|
+
class GoogleCloudApigeeV1GraphQlOperation
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class GoogleCloudApigeeV1GraphQlOperationConfig
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class GoogleCloudApigeeV1GraphQlOperationGroup
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
385
415
|
class GoogleCloudApigeeV1IngressConfig
|
386
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
417
|
|
@@ -418,6 +448,12 @@ module Google
|
|
418
448
|
include Google::Apis::Core::JsonObjectSupport
|
419
449
|
end
|
420
450
|
|
451
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
421
457
|
class GoogleCloudApigeeV1KeyAliasReference
|
422
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
459
|
|
@@ -574,6 +610,12 @@ module Google
|
|
574
610
|
include Google::Apis::Core::JsonObjectSupport
|
575
611
|
end
|
576
612
|
|
613
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
577
619
|
class GoogleCloudApigeeV1Metadata
|
578
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
621
|
|
@@ -586,6 +628,12 @@ module Google
|
|
586
628
|
include Google::Apis::Core::JsonObjectSupport
|
587
629
|
end
|
588
630
|
|
631
|
+
class GoogleCloudApigeeV1MonetizationConfig
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
+
|
634
|
+
include Google::Apis::Core::JsonObjectSupport
|
635
|
+
end
|
636
|
+
|
589
637
|
class GoogleCloudApigeeV1NatAddress
|
590
638
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
639
|
|
@@ -820,6 +868,12 @@ module Google
|
|
820
868
|
include Google::Apis::Core::JsonObjectSupport
|
821
869
|
end
|
822
870
|
|
871
|
+
class GoogleCloudApigeeV1SetAddonsRequest
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
823
877
|
class GoogleCloudApigeeV1SharedFlow
|
824
878
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
879
|
|
@@ -898,6 +952,24 @@ module Google
|
|
898
952
|
include Google::Apis::Core::JsonObjectSupport
|
899
953
|
end
|
900
954
|
|
955
|
+
class GoogleCloudApigeeV1TraceConfig
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
961
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
967
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
|
+
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
971
|
+
end
|
972
|
+
|
901
973
|
class GoogleCloudApigeeV1UpdateError
|
902
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
975
|
|
@@ -1040,6 +1112,25 @@ module Google
|
|
1040
1112
|
end
|
1041
1113
|
end
|
1042
1114
|
|
1115
|
+
class GoogleCloudApigeeV1AddonsConfig
|
1116
|
+
# @private
|
1117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1118
|
+
property :advanced_api_ops_config, as: 'advancedApiOpsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdvancedApiOpsConfig::Representation
|
1119
|
+
|
1120
|
+
property :integration_config, as: 'integrationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1IntegrationConfig::Representation
|
1121
|
+
|
1122
|
+
property :monetization_config, as: 'monetizationConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MonetizationConfig::Representation
|
1123
|
+
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :enabled, as: 'enabled'
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1043
1134
|
class GoogleCloudApigeeV1Alias
|
1044
1135
|
# @private
|
1045
1136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1092,6 +1183,8 @@ module Google
|
|
1092
1183
|
property :description, as: 'description'
|
1093
1184
|
property :display_name, as: 'displayName'
|
1094
1185
|
collection :environments, as: 'environments'
|
1186
|
+
property :graphql_operation_group, as: 'graphqlOperationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationGroup::Representation
|
1187
|
+
|
1095
1188
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
1096
1189
|
property :name, as: 'name'
|
1097
1190
|
property :operation_group, as: 'operationGroup', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationGroup::Representation
|
@@ -1740,6 +1833,36 @@ module Google
|
|
1740
1833
|
end
|
1741
1834
|
end
|
1742
1835
|
|
1836
|
+
class GoogleCloudApigeeV1GraphQlOperation
|
1837
|
+
# @private
|
1838
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1839
|
+
property :operation, as: 'operation'
|
1840
|
+
collection :operation_types, as: 'operationTypes'
|
1841
|
+
end
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
class GoogleCloudApigeeV1GraphQlOperationConfig
|
1845
|
+
# @private
|
1846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1847
|
+
property :api_source, as: 'apiSource'
|
1848
|
+
collection :attributes, as: 'attributes', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute::Representation
|
1849
|
+
|
1850
|
+
collection :operations, as: 'operations', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperation::Representation
|
1851
|
+
|
1852
|
+
property :quota, as: 'quota', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Quota::Representation
|
1853
|
+
|
1854
|
+
end
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
class GoogleCloudApigeeV1GraphQlOperationGroup
|
1858
|
+
# @private
|
1859
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1860
|
+
property :operation_config_type, as: 'operationConfigType'
|
1861
|
+
collection :operation_configs, as: 'operationConfigs', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphQlOperationConfig::Representation
|
1862
|
+
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1743
1866
|
class GoogleCloudApigeeV1IngressConfig
|
1744
1867
|
# @private
|
1745
1868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1807,6 +1930,13 @@ module Google
|
|
1807
1930
|
end
|
1808
1931
|
end
|
1809
1932
|
|
1933
|
+
class GoogleCloudApigeeV1IntegrationConfig
|
1934
|
+
# @private
|
1935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1936
|
+
property :enabled, as: 'enabled'
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
|
1810
1940
|
class GoogleCloudApigeeV1KeyAliasReference
|
1811
1941
|
# @private
|
1812
1942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2027,6 +2157,15 @@ module Google
|
|
2027
2157
|
end
|
2028
2158
|
end
|
2029
2159
|
|
2160
|
+
class GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
2161
|
+
# @private
|
2162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2163
|
+
property :next_page_token, as: 'nextPageToken'
|
2164
|
+
collection :trace_config_overrides, as: 'traceConfigOverrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
2165
|
+
|
2166
|
+
end
|
2167
|
+
end
|
2168
|
+
|
2030
2169
|
class GoogleCloudApigeeV1Metadata
|
2031
2170
|
# @private
|
2032
2171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2043,6 +2182,13 @@ module Google
|
|
2043
2182
|
end
|
2044
2183
|
end
|
2045
2184
|
|
2185
|
+
class GoogleCloudApigeeV1MonetizationConfig
|
2186
|
+
# @private
|
2187
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2188
|
+
property :enabled, as: 'enabled'
|
2189
|
+
end
|
2190
|
+
end
|
2191
|
+
|
2046
2192
|
class GoogleCloudApigeeV1NatAddress
|
2047
2193
|
# @private
|
2048
2194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2121,6 +2267,8 @@ module Google
|
|
2121
2267
|
class GoogleCloudApigeeV1Organization
|
2122
2268
|
# @private
|
2123
2269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2270
|
+
property :addons_config, as: 'addonsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
2271
|
+
|
2124
2272
|
property :analytics_region, as: 'analyticsRegion'
|
2125
2273
|
collection :attributes, as: 'attributes'
|
2126
2274
|
property :authorized_network, as: 'authorizedNetwork'
|
@@ -2452,6 +2600,14 @@ module Google
|
|
2452
2600
|
end
|
2453
2601
|
end
|
2454
2602
|
|
2603
|
+
class GoogleCloudApigeeV1SetAddonsRequest
|
2604
|
+
# @private
|
2605
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2606
|
+
property :addons_config, as: 'addonsConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
2607
|
+
|
2608
|
+
end
|
2609
|
+
end
|
2610
|
+
|
2455
2611
|
class GoogleCloudApigeeV1SharedFlow
|
2456
2612
|
# @private
|
2457
2613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2607,6 +2763,34 @@ module Google
|
|
2607
2763
|
end
|
2608
2764
|
end
|
2609
2765
|
|
2766
|
+
class GoogleCloudApigeeV1TraceConfig
|
2767
|
+
# @private
|
2768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2769
|
+
property :endpoint, as: 'endpoint'
|
2770
|
+
property :exporter, as: 'exporter'
|
2771
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2772
|
+
|
2773
|
+
end
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
class GoogleCloudApigeeV1TraceConfigOverride
|
2777
|
+
# @private
|
2778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2779
|
+
property :api_proxy, as: 'apiProxy'
|
2780
|
+
property :name, as: 'name'
|
2781
|
+
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig::Representation
|
2782
|
+
|
2783
|
+
end
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
class GoogleCloudApigeeV1TraceSamplingConfig
|
2787
|
+
# @private
|
2788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2789
|
+
property :sampler, as: 'sampler'
|
2790
|
+
property :sampling_rate, as: 'samplingRate'
|
2791
|
+
end
|
2792
|
+
end
|
2793
|
+
|
2610
2794
|
class GoogleCloudApigeeV1UpdateError
|
2611
2795
|
# @private
|
2612
2796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -293,6 +293,41 @@ module Google
|
|
293
293
|
execute_or_queue_command(command, &block)
|
294
294
|
end
|
295
295
|
|
296
|
+
# Configures the add-ons for the Apigee organization. The existing add-on
|
297
|
+
# configuration will be fully replaced.
|
298
|
+
# @param [String] org
|
299
|
+
# Required. Name of the organization. Use the following structure in your
|
300
|
+
# request: `organizations/`org``
|
301
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonsRequest] google_cloud_apigee_v1_set_addons_request_object
|
302
|
+
# @param [String] fields
|
303
|
+
# Selector specifying which fields to include in a partial response.
|
304
|
+
# @param [String] quota_user
|
305
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
306
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
307
|
+
# @param [Google::Apis::RequestOptions] options
|
308
|
+
# Request-specific options
|
309
|
+
#
|
310
|
+
# @yield [result, err] Result & error if block supplied
|
311
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
312
|
+
# @yieldparam err [StandardError] error object if request failed
|
313
|
+
#
|
314
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
315
|
+
#
|
316
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
317
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
318
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
319
|
+
def set_organization_addons(org, google_cloud_apigee_v1_set_addons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
320
|
+
command = make_simple_command(:post, 'v1/{+org}:setAddons', options)
|
321
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonsRequest::Representation
|
322
|
+
command.request_object = google_cloud_apigee_v1_set_addons_request_object
|
323
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
324
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
325
|
+
command.params['org'] = org unless org.nil?
|
326
|
+
command.query['fields'] = fields unless fields.nil?
|
327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
328
|
+
execute_or_queue_command(command, &block)
|
329
|
+
end
|
330
|
+
|
296
331
|
# Sets the permissions required to allow the Synchronizer to download
|
297
332
|
# environment data from the control plane. You must call this API to enable
|
298
333
|
# proper functioning of hybrid. Pass the ETag when calling `setSyncAuthorization`
|
@@ -1254,12 +1289,11 @@ module Google
|
|
1254
1289
|
end
|
1255
1290
|
|
1256
1291
|
# Gets an API proxy revision. To download the API proxy configuration bundle for
|
1257
|
-
# the specified revision as a zip file,
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
#
|
1262
|
-
# in [updateApiProxyRevision](updateApiProxyRevision).
|
1292
|
+
# the specified revision as a zip file, set the `format` query parameter to `
|
1293
|
+
# bundle`. If you are using curl, specify `-o filename.zip` to save the output
|
1294
|
+
# to a file; otherwise, it displays to `stdout`. Then, develop the API proxy
|
1295
|
+
# configuration locally and upload the updated API proxy configuration revision,
|
1296
|
+
# as described in [updateApiProxyRevision](updateApiProxyRevision).
|
1263
1297
|
# @param [String] name
|
1264
1298
|
# Required. API proxy revision in the following format: `organizations/`org`/
|
1265
1299
|
# apis/`api`/revisions/`rev``
|
@@ -3373,6 +3407,37 @@ module Google
|
|
3373
3407
|
execute_or_queue_command(command, &block)
|
3374
3408
|
end
|
3375
3409
|
|
3410
|
+
# Get distributed trace configuration in an environment.
|
3411
|
+
# @param [String] name
|
3412
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3413
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3414
|
+
# @param [String] fields
|
3415
|
+
# Selector specifying which fields to include in a partial response.
|
3416
|
+
# @param [String] quota_user
|
3417
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3418
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3419
|
+
# @param [Google::Apis::RequestOptions] options
|
3420
|
+
# Request-specific options
|
3421
|
+
#
|
3422
|
+
# @yield [result, err] Result & error if block supplied
|
3423
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3424
|
+
# @yieldparam err [StandardError] error object if request failed
|
3425
|
+
#
|
3426
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3427
|
+
#
|
3428
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3429
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3430
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3431
|
+
def get_organization_environment_trace_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
3432
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3433
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3434
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3435
|
+
command.params['name'] = name unless name.nil?
|
3436
|
+
command.query['fields'] = fields unless fields.nil?
|
3437
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3438
|
+
execute_or_queue_command(command, &block)
|
3439
|
+
end
|
3440
|
+
|
3376
3441
|
# Sets the IAM policy on an environment, if the policy already exists it will be
|
3377
3442
|
# replaced. For more information, see [Manage users, roles, and permissions
|
3378
3443
|
# using the API](https://cloud.google.com/apigee/docs/api-platform/system-
|
@@ -3631,15 +3696,58 @@ module Google
|
|
3631
3696
|
execute_or_queue_command(command, &block)
|
3632
3697
|
end
|
3633
3698
|
|
3634
|
-
#
|
3635
|
-
#
|
3636
|
-
#
|
3699
|
+
# Updates the trace configurations in an environment. Note that the repeated
|
3700
|
+
# fields have replace semantics when included in the field mask and that they
|
3701
|
+
# will be overwritten by the value of the fields in the request body.
|
3702
|
+
# @param [String] name
|
3703
|
+
# Required. Name of the trace configuration. Use the following structure in your
|
3704
|
+
# request: "organizations/*/environments/*/traceConfig".
|
3705
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] google_cloud_apigee_v1_trace_config_object
|
3706
|
+
# @param [String] update_mask
|
3707
|
+
# List of fields to be updated.
|
3708
|
+
# @param [String] fields
|
3709
|
+
# Selector specifying which fields to include in a partial response.
|
3710
|
+
# @param [String] quota_user
|
3711
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3712
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3713
|
+
# @param [Google::Apis::RequestOptions] options
|
3714
|
+
# Request-specific options
|
3715
|
+
#
|
3716
|
+
# @yield [result, err] Result & error if block supplied
|
3717
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig] parsed result object
|
3718
|
+
# @yieldparam err [StandardError] error object if request failed
|
3719
|
+
#
|
3720
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig]
|
3721
|
+
#
|
3722
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3723
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3724
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3725
|
+
def update_organization_environment_trace_config(name, google_cloud_apigee_v1_trace_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3726
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3727
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3728
|
+
command.request_object = google_cloud_apigee_v1_trace_config_object
|
3729
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig::Representation
|
3730
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig
|
3731
|
+
command.params['name'] = name unless name.nil?
|
3732
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3733
|
+
command.query['fields'] = fields unless fields.nil?
|
3734
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3735
|
+
execute_or_queue_command(command, &block)
|
3736
|
+
end
|
3737
|
+
|
3738
|
+
# Gets a list of metrics and dimensions that can be used to create analytics
|
3739
|
+
# queries and reports. Each schema element contains the name of the field, its
|
3740
|
+
# associated type, and a flag indicating whether it is a standard or custom
|
3741
|
+
# field.
|
3637
3742
|
# @param [String] name
|
3638
|
-
# Required.
|
3743
|
+
# Required. Path to the schema. Use the following structure in your request: `
|
3639
3744
|
# organizations/`org`/environments/`env`/analytics/admin/schemav2`.
|
3745
|
+
# @param [Boolean] disable_cache
|
3746
|
+
# Flag that specifies whether the schema is be read from the database or cache.
|
3747
|
+
# Set to `true` to read the schema from the database. Defaults to cache.
|
3640
3748
|
# @param [String] type
|
3641
|
-
# Required.
|
3642
|
-
#
|
3749
|
+
# Required. Name of the dataset for which you want to retrieve the schema. For
|
3750
|
+
# example: `fact` or `agg_cus1`
|
3643
3751
|
# @param [String] fields
|
3644
3752
|
# Selector specifying which fields to include in a partial response.
|
3645
3753
|
# @param [String] quota_user
|
@@ -3657,11 +3765,12 @@ module Google
|
|
3657
3765
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3658
3766
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3659
3767
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3660
|
-
def get_organization_environment_analytic_admin_schemav2(name, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3768
|
+
def get_organization_environment_analytic_admin_schemav2(name, disable_cache: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3661
3769
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3662
3770
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema::Representation
|
3663
3771
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema
|
3664
3772
|
command.params['name'] = name unless name.nil?
|
3773
|
+
command.query['disableCache'] = disable_cache unless disable_cache.nil?
|
3665
3774
|
command.query['type'] = type unless type.nil?
|
3666
3775
|
command.query['fields'] = fields unless fields.nil?
|
3667
3776
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -5778,6 +5887,189 @@ module Google
|
|
5778
5887
|
execute_or_queue_command(command, &block)
|
5779
5888
|
end
|
5780
5889
|
|
5890
|
+
# Creates a trace configuration override. The response contains a system-
|
5891
|
+
# generated UUID, that can be used to view, update, or delete the configuration
|
5892
|
+
# override. Use the List API to view the existing trace configuration overrides.
|
5893
|
+
# @param [String] parent
|
5894
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5895
|
+
# following structure in your request. "organizations/*/environments/*/
|
5896
|
+
# traceConfig".
|
5897
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
5898
|
+
# @param [String] fields
|
5899
|
+
# Selector specifying which fields to include in a partial response.
|
5900
|
+
# @param [String] quota_user
|
5901
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5902
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5903
|
+
# @param [Google::Apis::RequestOptions] options
|
5904
|
+
# Request-specific options
|
5905
|
+
#
|
5906
|
+
# @yield [result, err] Result & error if block supplied
|
5907
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5908
|
+
# @yieldparam err [StandardError] error object if request failed
|
5909
|
+
#
|
5910
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5911
|
+
#
|
5912
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5913
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5914
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5915
|
+
def create_organization_environment_trace_config_override(parent, google_cloud_apigee_v1_trace_config_override_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5916
|
+
command = make_simple_command(:post, 'v1/{+parent}/overrides', options)
|
5917
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5918
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
5919
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5920
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5921
|
+
command.params['parent'] = parent unless parent.nil?
|
5922
|
+
command.query['fields'] = fields unless fields.nil?
|
5923
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5924
|
+
execute_or_queue_command(command, &block)
|
5925
|
+
end
|
5926
|
+
|
5927
|
+
# Deletes a distributed trace configuration override.
|
5928
|
+
# @param [String] name
|
5929
|
+
# Required. Name of the trace configuration override. Use the following
|
5930
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5931
|
+
# overrides/*".
|
5932
|
+
# @param [String] fields
|
5933
|
+
# Selector specifying which fields to include in a partial response.
|
5934
|
+
# @param [String] quota_user
|
5935
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5936
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5937
|
+
# @param [Google::Apis::RequestOptions] options
|
5938
|
+
# Request-specific options
|
5939
|
+
#
|
5940
|
+
# @yield [result, err] Result & error if block supplied
|
5941
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
5942
|
+
# @yieldparam err [StandardError] error object if request failed
|
5943
|
+
#
|
5944
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
5945
|
+
#
|
5946
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5947
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5948
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5949
|
+
def delete_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5950
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
5951
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
5952
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
5953
|
+
command.params['name'] = name unless name.nil?
|
5954
|
+
command.query['fields'] = fields unless fields.nil?
|
5955
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5956
|
+
execute_or_queue_command(command, &block)
|
5957
|
+
end
|
5958
|
+
|
5959
|
+
# Gets a trace configuration override.
|
5960
|
+
# @param [String] name
|
5961
|
+
# Required. Name of the trace configuration override. Use the following
|
5962
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
5963
|
+
# overrides/*".
|
5964
|
+
# @param [String] fields
|
5965
|
+
# Selector specifying which fields to include in a partial response.
|
5966
|
+
# @param [String] quota_user
|
5967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5969
|
+
# @param [Google::Apis::RequestOptions] options
|
5970
|
+
# Request-specific options
|
5971
|
+
#
|
5972
|
+
# @yield [result, err] Result & error if block supplied
|
5973
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
5974
|
+
# @yieldparam err [StandardError] error object if request failed
|
5975
|
+
#
|
5976
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
5977
|
+
#
|
5978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5981
|
+
def get_organization_environment_trace_config_override(name, fields: nil, quota_user: nil, options: nil, &block)
|
5982
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5983
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
5984
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
5985
|
+
command.params['name'] = name unless name.nil?
|
5986
|
+
command.query['fields'] = fields unless fields.nil?
|
5987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5988
|
+
execute_or_queue_command(command, &block)
|
5989
|
+
end
|
5990
|
+
|
5991
|
+
# Lists all of the distributed trace configuration overrides in an environment.
|
5992
|
+
# @param [String] parent
|
5993
|
+
# Required. Parent resource of the trace configuration override. Use the
|
5994
|
+
# following structure in your request: "organizations/*/environments/*/
|
5995
|
+
# traceConfig".
|
5996
|
+
# @param [Fixnum] page_size
|
5997
|
+
# Maximum number of trace configuration overrides to return. If not specified,
|
5998
|
+
# the maximum number returned is 25. The maximum number cannot exceed 100.
|
5999
|
+
# @param [String] page_token
|
6000
|
+
# A page token, returned from a previous `ListTraceConfigOverrides` call. Token
|
6001
|
+
# value that can be used to retrieve the subsequent page. When paginating, all
|
6002
|
+
# other parameters provided to `ListTraceConfigOverrides` must match those
|
6003
|
+
# specified in the call to obtain the page token.
|
6004
|
+
# @param [String] fields
|
6005
|
+
# Selector specifying which fields to include in a partial response.
|
6006
|
+
# @param [String] quota_user
|
6007
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6008
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6009
|
+
# @param [Google::Apis::RequestOptions] options
|
6010
|
+
# Request-specific options
|
6011
|
+
#
|
6012
|
+
# @yield [result, err] Result & error if block supplied
|
6013
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse] parsed result object
|
6014
|
+
# @yieldparam err [StandardError] error object if request failed
|
6015
|
+
#
|
6016
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse]
|
6017
|
+
#
|
6018
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6019
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6020
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6021
|
+
def list_organization_environment_trace_config_overrides(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6022
|
+
command = make_simple_command(:get, 'v1/{+parent}/overrides', options)
|
6023
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse::Representation
|
6024
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListTraceConfigOverridesResponse
|
6025
|
+
command.params['parent'] = parent unless parent.nil?
|
6026
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6027
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6028
|
+
command.query['fields'] = fields unless fields.nil?
|
6029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6030
|
+
execute_or_queue_command(command, &block)
|
6031
|
+
end
|
6032
|
+
|
6033
|
+
# Updates a distributed trace configuration override. Note that the repeated
|
6034
|
+
# fields have replace semantics when included in the field mask and that they
|
6035
|
+
# will be overwritten by the value of the fields in the request body.
|
6036
|
+
# @param [String] name
|
6037
|
+
# Required. Name of the trace configuration override. Use the following
|
6038
|
+
# structure in your request: "organizations/*/environments/*/traceConfig/
|
6039
|
+
# overrides/*".
|
6040
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] google_cloud_apigee_v1_trace_config_override_object
|
6041
|
+
# @param [String] update_mask
|
6042
|
+
# List of fields to be updated.
|
6043
|
+
# @param [String] fields
|
6044
|
+
# Selector specifying which fields to include in a partial response.
|
6045
|
+
# @param [String] quota_user
|
6046
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6047
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6048
|
+
# @param [Google::Apis::RequestOptions] options
|
6049
|
+
# Request-specific options
|
6050
|
+
#
|
6051
|
+
# @yield [result, err] Result & error if block supplied
|
6052
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride] parsed result object
|
6053
|
+
# @yieldparam err [StandardError] error object if request failed
|
6054
|
+
#
|
6055
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride]
|
6056
|
+
#
|
6057
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6058
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6059
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6060
|
+
def patch_organization_environment_trace_config_override(name, google_cloud_apigee_v1_trace_config_override_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6061
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
6062
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6063
|
+
command.request_object = google_cloud_apigee_v1_trace_config_override_object
|
6064
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride::Representation
|
6065
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfigOverride
|
6066
|
+
command.params['name'] = name unless name.nil?
|
6067
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
6068
|
+
command.query['fields'] = fields unless fields.nil?
|
6069
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6070
|
+
execute_or_queue_command(command, &block)
|
6071
|
+
end
|
6072
|
+
|
5781
6073
|
# Submit a query at host level to be processed in the background. If the
|
5782
6074
|
# submission of the query succeeds, the API returns a 201 status and an ID that
|
5783
6075
|
# refer to the query. In addition to the HTTP status 201, the `state` of "
|
@@ -7210,9 +7502,13 @@ module Google
|
|
7210
7502
|
execute_or_queue_command(command, &block)
|
7211
7503
|
end
|
7212
7504
|
|
7213
|
-
# Gets a revision of a shared flow.
|
7214
|
-
#
|
7215
|
-
#
|
7505
|
+
# Gets a revision of a shared flow. To download the shared flow configuration
|
7506
|
+
# bundle for the specified revision as a zip file, set the `format` query
|
7507
|
+
# parameter to `bundle`. If you are using curl, specify `-o filename.zip` to
|
7508
|
+
# save the output to a file; otherwise, it displays to `stdout`. Then, develop
|
7509
|
+
# the shared flow configuration locally and upload the updated sharedFlow
|
7510
|
+
# configuration revision, as described in [updateSharedFlowRevision](
|
7511
|
+
# updateSharedFlowRevision).
|
7216
7512
|
# @param [String] name
|
7217
7513
|
# Required. The name of the shared flow revision to get. Must be of the form: `
|
7218
7514
|
# organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|