google-apis-apigee_v1 0.5.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/apigee_v1.rb +1 -1
- data/lib/google/apis/apigee_v1/classes.rb +674 -25
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +284 -0
- data/lib/google/apis/apigee_v1/service.rb +399 -16
- metadata +4 -4
@@ -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`
|
@@ -963,6 +998,202 @@ module Google
|
|
963
998
|
execute_or_queue_command(command, &block)
|
964
999
|
end
|
965
1000
|
|
1001
|
+
# Create a rate plan that is associated with an API product in an organization.
|
1002
|
+
# Using rate plans, API product owners can monetize their API products by
|
1003
|
+
# configuring one or more of the following: - Billing frequency - Initial setup
|
1004
|
+
# fees for using an API product - Payment funding model (postpaid only) - Fixed
|
1005
|
+
# recurring or consumption-based charges for using an API product - Revenue
|
1006
|
+
# sharing with developer partners An API product can have multiple rate plans
|
1007
|
+
# associated with it but *only one* rate plan can be active at any point of time.
|
1008
|
+
# **Note: From the developer's perspective, they purchase API products not rate
|
1009
|
+
# plans.
|
1010
|
+
# @param [String] parent
|
1011
|
+
# Required. Name of the API product that is associated with the rate plan. Use
|
1012
|
+
# the following structure in your request: `organizations/`org`/apiproducts/`
|
1013
|
+
# apiproduct``
|
1014
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] google_cloud_apigee_v1_rate_plan_object
|
1015
|
+
# @param [String] fields
|
1016
|
+
# Selector specifying which fields to include in a partial response.
|
1017
|
+
# @param [String] quota_user
|
1018
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1019
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1020
|
+
# @param [Google::Apis::RequestOptions] options
|
1021
|
+
# Request-specific options
|
1022
|
+
#
|
1023
|
+
# @yield [result, err] Result & error if block supplied
|
1024
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] parsed result object
|
1025
|
+
# @yieldparam err [StandardError] error object if request failed
|
1026
|
+
#
|
1027
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan]
|
1028
|
+
#
|
1029
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1030
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1031
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1032
|
+
def create_organization_apiproduct_rateplan(parent, google_cloud_apigee_v1_rate_plan_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1033
|
+
command = make_simple_command(:post, 'v1/{+parent}/rateplans', options)
|
1034
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1035
|
+
command.request_object = google_cloud_apigee_v1_rate_plan_object
|
1036
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1037
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan
|
1038
|
+
command.params['parent'] = parent unless parent.nil?
|
1039
|
+
command.query['fields'] = fields unless fields.nil?
|
1040
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1041
|
+
execute_or_queue_command(command, &block)
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# Deletes a rate plan.
|
1045
|
+
# @param [String] name
|
1046
|
+
# Required. ID of the rate plan. Use the following structure in your request: `
|
1047
|
+
# organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
|
1048
|
+
# @param [String] fields
|
1049
|
+
# Selector specifying which fields to include in a partial response.
|
1050
|
+
# @param [String] quota_user
|
1051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1053
|
+
# @param [Google::Apis::RequestOptions] options
|
1054
|
+
# Request-specific options
|
1055
|
+
#
|
1056
|
+
# @yield [result, err] Result & error if block supplied
|
1057
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] parsed result object
|
1058
|
+
# @yieldparam err [StandardError] error object if request failed
|
1059
|
+
#
|
1060
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan]
|
1061
|
+
#
|
1062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1065
|
+
def delete_organization_apiproduct_rateplan(name, fields: nil, quota_user: nil, options: nil, &block)
|
1066
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1067
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1068
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan
|
1069
|
+
command.params['name'] = name unless name.nil?
|
1070
|
+
command.query['fields'] = fields unless fields.nil?
|
1071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1072
|
+
execute_or_queue_command(command, &block)
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# Gets the details of a rate plan.
|
1076
|
+
# @param [String] name
|
1077
|
+
# Required. Name of the rate plan. Use the following structure in your request: `
|
1078
|
+
# organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
|
1079
|
+
# @param [String] fields
|
1080
|
+
# Selector specifying which fields to include in a partial response.
|
1081
|
+
# @param [String] quota_user
|
1082
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1083
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1084
|
+
# @param [Google::Apis::RequestOptions] options
|
1085
|
+
# Request-specific options
|
1086
|
+
#
|
1087
|
+
# @yield [result, err] Result & error if block supplied
|
1088
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] parsed result object
|
1089
|
+
# @yieldparam err [StandardError] error object if request failed
|
1090
|
+
#
|
1091
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan]
|
1092
|
+
#
|
1093
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1094
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1095
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1096
|
+
def get_organization_apiproduct_rateplan(name, fields: nil, quota_user: nil, options: nil, &block)
|
1097
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1098
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1099
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan
|
1100
|
+
command.params['name'] = name unless name.nil?
|
1101
|
+
command.query['fields'] = fields unless fields.nil?
|
1102
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
+
execute_or_queue_command(command, &block)
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# Lists all the rate plans for an API product.
|
1107
|
+
# @param [String] parent
|
1108
|
+
# Required. Name of the API product. Use the following structure in your request:
|
1109
|
+
# `organizations/`org`/apiproducts/`apiproduct`` Use `organizations/`org`/
|
1110
|
+
# apiproducts/-` to return rate plans for all API products within the
|
1111
|
+
# organization.
|
1112
|
+
# @param [Fixnum] count
|
1113
|
+
# Number of rate plans to return in the API call. Use with the `startKey`
|
1114
|
+
# parameter to provide more targeted filtering. The maximum limit is 1000.
|
1115
|
+
# Defaults to 100.
|
1116
|
+
# @param [Boolean] expand
|
1117
|
+
# Flag that specifies whether to expand the results. Set to `true` to get
|
1118
|
+
# expanded details about each API. Defaults to `false`.
|
1119
|
+
# @param [String] order_by
|
1120
|
+
# Name of the attribute used for sorting. Valid values include: * `name`: Name
|
1121
|
+
# of the rate plan. * `state`: State of the rate plan (`DRAFT`, `PUBLISHED`). * `
|
1122
|
+
# startTime`: Time when the rate plan becomes active. * `endTime`: Time when the
|
1123
|
+
# rate plan expires. **Note**: Not supported by Apigee at this time.
|
1124
|
+
# @param [String] start_key
|
1125
|
+
# Name of the rate plan from which to start displaying the list of rate plans.
|
1126
|
+
# If omitted, the list starts from the first item. For example, to view the rate
|
1127
|
+
# plans from 51-150, set the value of `startKey` to the name of the 51st rate
|
1128
|
+
# plan and set the value of `count` to 100.
|
1129
|
+
# @param [String] state
|
1130
|
+
# State of the rate plans (`DRAFT`, `PUBLISHED`) that you want to display.
|
1131
|
+
# @param [String] fields
|
1132
|
+
# Selector specifying which fields to include in a partial response.
|
1133
|
+
# @param [String] quota_user
|
1134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1136
|
+
# @param [Google::Apis::RequestOptions] options
|
1137
|
+
# Request-specific options
|
1138
|
+
#
|
1139
|
+
# @yield [result, err] Result & error if block supplied
|
1140
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListRatePlansResponse] parsed result object
|
1141
|
+
# @yieldparam err [StandardError] error object if request failed
|
1142
|
+
#
|
1143
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListRatePlansResponse]
|
1144
|
+
#
|
1145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1148
|
+
def list_organization_apiproduct_rateplans(parent, count: nil, expand: nil, order_by: nil, start_key: nil, state: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1149
|
+
command = make_simple_command(:get, 'v1/{+parent}/rateplans', options)
|
1150
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListRatePlansResponse::Representation
|
1151
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListRatePlansResponse
|
1152
|
+
command.params['parent'] = parent unless parent.nil?
|
1153
|
+
command.query['count'] = count unless count.nil?
|
1154
|
+
command.query['expand'] = expand unless expand.nil?
|
1155
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1156
|
+
command.query['startKey'] = start_key unless start_key.nil?
|
1157
|
+
command.query['state'] = state unless state.nil?
|
1158
|
+
command.query['fields'] = fields unless fields.nil?
|
1159
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1160
|
+
execute_or_queue_command(command, &block)
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# Updates an existing rate plan.
|
1164
|
+
# @param [String] name
|
1165
|
+
# Required. Name of the rate plan. Use the following structure in your request: `
|
1166
|
+
# organizations/`org`/apiproducts/`apiproduct`/rateplans/`rateplan``
|
1167
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] google_cloud_apigee_v1_rate_plan_object
|
1168
|
+
# @param [String] fields
|
1169
|
+
# Selector specifying which fields to include in a partial response.
|
1170
|
+
# @param [String] quota_user
|
1171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1173
|
+
# @param [Google::Apis::RequestOptions] options
|
1174
|
+
# Request-specific options
|
1175
|
+
#
|
1176
|
+
# @yield [result, err] Result & error if block supplied
|
1177
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan] parsed result object
|
1178
|
+
# @yieldparam err [StandardError] error object if request failed
|
1179
|
+
#
|
1180
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan]
|
1181
|
+
#
|
1182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1185
|
+
def update_organization_apiproduct_rateplan(name, google_cloud_apigee_v1_rate_plan_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1186
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
1187
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1188
|
+
command.request_object = google_cloud_apigee_v1_rate_plan_object
|
1189
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan::Representation
|
1190
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1RatePlan
|
1191
|
+
command.params['name'] = name unless name.nil?
|
1192
|
+
command.query['fields'] = fields unless fields.nil?
|
1193
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1194
|
+
execute_or_queue_command(command, &block)
|
1195
|
+
end
|
1196
|
+
|
966
1197
|
# Creates an API proxy. The API proxy created will not be accessible at runtime
|
967
1198
|
# until it is deployed to an environment. Create a new API proxy by setting the `
|
968
1199
|
# name` query parameter to the name of the API proxy. Import an API proxy
|
@@ -1254,12 +1485,11 @@ module Google
|
|
1254
1485
|
end
|
1255
1486
|
|
1256
1487
|
# 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).
|
1488
|
+
# the specified revision as a zip file, set the `format` query parameter to `
|
1489
|
+
# bundle`. If you are using curl, specify `-o filename.zip` to save the output
|
1490
|
+
# to a file; otherwise, it displays to `stdout`. Then, develop the API proxy
|
1491
|
+
# configuration locally and upload the updated API proxy configuration revision,
|
1492
|
+
# as described in [updateApiProxyRevision](updateApiProxyRevision).
|
1263
1493
|
# @param [String] name
|
1264
1494
|
# Required. API proxy revision in the following format: `organizations/`org`/
|
1265
1495
|
# apis/`api`/revisions/`rev``
|
@@ -2857,6 +3087,150 @@ module Google
|
|
2857
3087
|
execute_or_queue_command(command, &block)
|
2858
3088
|
end
|
2859
3089
|
|
3090
|
+
# Creates a subscription to an API product.
|
3091
|
+
# @param [String] parent
|
3092
|
+
# Required. Email address of the developer that is purchasing a subscription to
|
3093
|
+
# the API product. Use the following structure in your request: `organizations/`
|
3094
|
+
# org`/developers/`developer_email``
|
3095
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription] google_cloud_apigee_v1_developer_subscription_object
|
3096
|
+
# @param [String] fields
|
3097
|
+
# Selector specifying which fields to include in a partial response.
|
3098
|
+
# @param [String] quota_user
|
3099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3101
|
+
# @param [Google::Apis::RequestOptions] options
|
3102
|
+
# Request-specific options
|
3103
|
+
#
|
3104
|
+
# @yield [result, err] Result & error if block supplied
|
3105
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription] parsed result object
|
3106
|
+
# @yieldparam err [StandardError] error object if request failed
|
3107
|
+
#
|
3108
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription]
|
3109
|
+
#
|
3110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3113
|
+
def create_organization_developer_subscription(parent, google_cloud_apigee_v1_developer_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3114
|
+
command = make_simple_command(:post, 'v1/{+parent}/subscriptions', options)
|
3115
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription::Representation
|
3116
|
+
command.request_object = google_cloud_apigee_v1_developer_subscription_object
|
3117
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription::Representation
|
3118
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription
|
3119
|
+
command.params['parent'] = parent unless parent.nil?
|
3120
|
+
command.query['fields'] = fields unless fields.nil?
|
3121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3122
|
+
execute_or_queue_command(command, &block)
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Expires an API product subscription immediately.
|
3126
|
+
# @param [String] name
|
3127
|
+
# Required. Name of the API product subscription. Use the following structure in
|
3128
|
+
# your request: `organizations/`org`/developers/`developer_email`/subscriptions/`
|
3129
|
+
# subscription``
|
3130
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest] google_cloud_apigee_v1_expire_developer_subscription_request_object
|
3131
|
+
# @param [String] fields
|
3132
|
+
# Selector specifying which fields to include in a partial response.
|
3133
|
+
# @param [String] quota_user
|
3134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3136
|
+
# @param [Google::Apis::RequestOptions] options
|
3137
|
+
# Request-specific options
|
3138
|
+
#
|
3139
|
+
# @yield [result, err] Result & error if block supplied
|
3140
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription] parsed result object
|
3141
|
+
# @yieldparam err [StandardError] error object if request failed
|
3142
|
+
#
|
3143
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription]
|
3144
|
+
#
|
3145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3148
|
+
def expire_organization_developer_subscription(name, google_cloud_apigee_v1_expire_developer_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3149
|
+
command = make_simple_command(:post, 'v1/{+name}:expire', options)
|
3150
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest::Representation
|
3151
|
+
command.request_object = google_cloud_apigee_v1_expire_developer_subscription_request_object
|
3152
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription::Representation
|
3153
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription
|
3154
|
+
command.params['name'] = name unless name.nil?
|
3155
|
+
command.query['fields'] = fields unless fields.nil?
|
3156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3157
|
+
execute_or_queue_command(command, &block)
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# Gets details for an API product subscription.
|
3161
|
+
# @param [String] name
|
3162
|
+
# Required. Name of the API product subscription. Use the following structure in
|
3163
|
+
# your request: `organizations/`org`/developers/`developer_email`/subscriptions/`
|
3164
|
+
# subscription``
|
3165
|
+
# @param [String] fields
|
3166
|
+
# Selector specifying which fields to include in a partial response.
|
3167
|
+
# @param [String] quota_user
|
3168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3170
|
+
# @param [Google::Apis::RequestOptions] options
|
3171
|
+
# Request-specific options
|
3172
|
+
#
|
3173
|
+
# @yield [result, err] Result & error if block supplied
|
3174
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription] parsed result object
|
3175
|
+
# @yieldparam err [StandardError] error object if request failed
|
3176
|
+
#
|
3177
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription]
|
3178
|
+
#
|
3179
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3180
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3181
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3182
|
+
def get_organization_developer_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
3183
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3184
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription::Representation
|
3185
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperSubscription
|
3186
|
+
command.params['name'] = name unless name.nil?
|
3187
|
+
command.query['fields'] = fields unless fields.nil?
|
3188
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3189
|
+
execute_or_queue_command(command, &block)
|
3190
|
+
end
|
3191
|
+
|
3192
|
+
# Lists all API product subscriptions for a developer.
|
3193
|
+
# @param [String] parent
|
3194
|
+
# Required. Email address of the developer. Use the following structure in your
|
3195
|
+
# request: `organizations/`org`/developers/`developer_email``
|
3196
|
+
# @param [Fixnum] count
|
3197
|
+
# Number of API product subscriptions to return in the API call. Use with `
|
3198
|
+
# startKey` to provide more targeted filtering. Defaults to 100. The maximum
|
3199
|
+
# limit is 1000.
|
3200
|
+
# @param [String] start_key
|
3201
|
+
# Name of the API product subscription from which to start displaying the list
|
3202
|
+
# of subscriptions. If omitted, the list starts from the first item. For example,
|
3203
|
+
# to view the API product subscriptions from 51-150, set the value of `startKey`
|
3204
|
+
# to the name of the 51st subscription and set the value of `count` to 100.
|
3205
|
+
# @param [String] fields
|
3206
|
+
# Selector specifying which fields to include in a partial response.
|
3207
|
+
# @param [String] quota_user
|
3208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3210
|
+
# @param [Google::Apis::RequestOptions] options
|
3211
|
+
# Request-specific options
|
3212
|
+
#
|
3213
|
+
# @yield [result, err] Result & error if block supplied
|
3214
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse] parsed result object
|
3215
|
+
# @yieldparam err [StandardError] error object if request failed
|
3216
|
+
#
|
3217
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse]
|
3218
|
+
#
|
3219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3222
|
+
def list_organization_developer_subscriptions(parent, count: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3223
|
+
command = make_simple_command(:get, 'v1/{+parent}/subscriptions', options)
|
3224
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse::Representation
|
3225
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDeveloperSubscriptionsResponse
|
3226
|
+
command.params['parent'] = parent unless parent.nil?
|
3227
|
+
command.query['count'] = count unless count.nil?
|
3228
|
+
command.query['startKey'] = start_key unless start_key.nil?
|
3229
|
+
command.query['fields'] = fields unless fields.nil?
|
3230
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3231
|
+
execute_or_queue_command(command, &block)
|
3232
|
+
end
|
3233
|
+
|
2860
3234
|
# Creates a new environment group.
|
2861
3235
|
# @param [String] parent
|
2862
3236
|
# Required. Name of the organization in which to create the environment group in
|
@@ -3701,15 +4075,19 @@ module Google
|
|
3701
4075
|
execute_or_queue_command(command, &block)
|
3702
4076
|
end
|
3703
4077
|
|
3704
|
-
#
|
3705
|
-
# queries and reports. Each schema element contains the name of the field
|
3706
|
-
#
|
4078
|
+
# Gets a list of metrics and dimensions that can be used to create analytics
|
4079
|
+
# queries and reports. Each schema element contains the name of the field, its
|
4080
|
+
# associated type, and a flag indicating whether it is a standard or custom
|
4081
|
+
# field.
|
3707
4082
|
# @param [String] name
|
3708
|
-
# Required.
|
4083
|
+
# Required. Path to the schema. Use the following structure in your request: `
|
3709
4084
|
# organizations/`org`/environments/`env`/analytics/admin/schemav2`.
|
4085
|
+
# @param [Boolean] disable_cache
|
4086
|
+
# Flag that specifies whether the schema is be read from the database or cache.
|
4087
|
+
# Set to `true` to read the schema from the database. Defaults to cache.
|
3710
4088
|
# @param [String] type
|
3711
|
-
# Required.
|
3712
|
-
#
|
4089
|
+
# Required. Name of the dataset for which you want to retrieve the schema. For
|
4090
|
+
# example: `fact` or `agg_cus1`
|
3713
4091
|
# @param [String] fields
|
3714
4092
|
# Selector specifying which fields to include in a partial response.
|
3715
4093
|
# @param [String] quota_user
|
@@ -3727,11 +4105,12 @@ module Google
|
|
3727
4105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3728
4106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3729
4107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3730
|
-
def get_organization_environment_analytic_admin_schemav2(name, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4108
|
+
def get_organization_environment_analytic_admin_schemav2(name, disable_cache: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3731
4109
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
3732
4110
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema::Representation
|
3733
4111
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Schema
|
3734
4112
|
command.params['name'] = name unless name.nil?
|
4113
|
+
command.query['disableCache'] = disable_cache unless disable_cache.nil?
|
3735
4114
|
command.query['type'] = type unless type.nil?
|
3736
4115
|
command.query['fields'] = fields unless fields.nil?
|
3737
4116
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -7463,9 +7842,13 @@ module Google
|
|
7463
7842
|
execute_or_queue_command(command, &block)
|
7464
7843
|
end
|
7465
7844
|
|
7466
|
-
# Gets a revision of a shared flow.
|
7467
|
-
#
|
7468
|
-
#
|
7845
|
+
# Gets a revision of a shared flow. To download the shared flow configuration
|
7846
|
+
# bundle for the specified revision as a zip file, set the `format` query
|
7847
|
+
# parameter to `bundle`. If you are using curl, specify `-o filename.zip` to
|
7848
|
+
# save the output to a file; otherwise, it displays to `stdout`. Then, develop
|
7849
|
+
# the shared flow configuration locally and upload the updated sharedFlow
|
7850
|
+
# configuration revision, as described in [updateSharedFlowRevision](
|
7851
|
+
# updateSharedFlowRevision).
|
7469
7852
|
# @param [String] name
|
7470
7853
|
# Required. The name of the shared flow revision to get. Must be of the form: `
|
7471
7854
|
# organizations/`organization_id`/sharedflows/`shared_flow_id`/revisions/`
|