google-apis-apigee_v1 0.45.0 → 0.48.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 +14 -0
- data/lib/google/apis/apigee_v1/classes.rb +92 -12
- data/lib/google/apis/apigee_v1/gem_version.rb +3 -3
- data/lib/google/apis/apigee_v1/representations.rb +32 -0
- data/lib/google/apis/apigee_v1/service.rb +495 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c9c235e8e13f9dc69cc3ec2e4c41eac16ace8ba4b36039b3789b3523ffec51c
|
4
|
+
data.tar.gz: 1e77b36b39b4b4c503aaa378dea53ca76a8f9816ffef4c9c6769e6e0ee74aeba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d7073849a8b577ed98555a85fb34bbf9dd5dd646f8cda6def2f2e94d59867d3fd1f299a3f02e221765badd891cc8d5dad55ca67295019b8932aac6754aee4d9
|
7
|
+
data.tar.gz: 2161932451251b09b9cb47d32a0be20305dff6158a465431ecbcec87641faa251cc8612dc95d6cc1dbc9cccd9842c9b59e56e7587493f25a4e09ed874cc5b514
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.48.0 (2022-06-18)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.7.0
|
6
|
+
* Regenerated from discovery document revision 20220609
|
7
|
+
|
8
|
+
### v0.47.0 (2022-06-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220602
|
11
|
+
* Regenerated using generator version 0.5.0
|
12
|
+
|
13
|
+
### v0.46.0 (2022-05-18)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20220513
|
16
|
+
|
3
17
|
### v0.45.0 (2022-05-10)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220509
|
@@ -2238,21 +2238,21 @@ module Google
|
|
2238
2238
|
# @return [String]
|
2239
2239
|
attr_accessor :environment
|
2240
2240
|
|
2241
|
-
# Errors reported for this deployment. Populated only when state == ERROR.
|
2242
|
-
# field is
|
2241
|
+
# Errors reported for this deployment. Populated only when state == ERROR. **
|
2242
|
+
# Note**: This field is displayed only when viewing deployment status.
|
2243
2243
|
# Corresponds to the JSON property `errors`
|
2244
2244
|
# @return [Array<Google::Apis::ApigeeV1::GoogleRpcStatus>]
|
2245
2245
|
attr_accessor :errors
|
2246
2246
|
|
2247
|
-
# Status reported by each runtime instance. This field is
|
2248
|
-
#
|
2247
|
+
# Status reported by each runtime instance. **Note**: This field is displayed
|
2248
|
+
# only when viewing deployment status.
|
2249
2249
|
# Corresponds to the JSON property `instances`
|
2250
2250
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus>]
|
2251
2251
|
attr_accessor :instances
|
2252
2252
|
|
2253
|
-
# Status reported by runtime pods. This field is
|
2254
|
-
#
|
2255
|
-
#
|
2253
|
+
# Status reported by runtime pods. **Note**: **This field is deprecated**.
|
2254
|
+
# Runtime versions 1.3 and above report instance level status rather than pod
|
2255
|
+
# status.
|
2256
2256
|
# Corresponds to the JSON property `pods`
|
2257
2257
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
|
2258
2258
|
attr_accessor :pods
|
@@ -2266,8 +2266,8 @@ module Google
|
|
2266
2266
|
# conflicts does not cause the state to be `ERROR`, but it will mean that some
|
2267
2267
|
# of the deployment's base paths are not routed to its environment. If the
|
2268
2268
|
# conflicts change, the state will transition to `PROGRESSING` until the latest
|
2269
|
-
# configuration is rolled out to all instances. This field is
|
2270
|
-
#
|
2269
|
+
# configuration is rolled out to all instances. **Note**: This field is
|
2270
|
+
# displayed only when viewing deployment status.
|
2271
2271
|
# Corresponds to the JSON property `routeConflicts`
|
2272
2272
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
|
2273
2273
|
attr_accessor :route_conflicts
|
@@ -2278,7 +2278,8 @@ module Google
|
|
2278
2278
|
# @return [String]
|
2279
2279
|
attr_accessor :service_account
|
2280
2280
|
|
2281
|
-
# Current state of the deployment. This field is
|
2281
|
+
# Current state of the deployment. **Note**: This field is displayed only when
|
2282
|
+
# viewing deployment status.
|
2282
2283
|
# Corresponds to the JSON property `state`
|
2283
2284
|
# @return [String]
|
2284
2285
|
attr_accessor :state
|
@@ -3048,6 +3049,13 @@ module Google
|
|
3048
3049
|
# @return [String]
|
3049
3050
|
attr_accessor :display_name
|
3050
3051
|
|
3052
|
+
# Optional. Url of the forward proxy to be applied to the runtime instances in
|
3053
|
+
# this environment. Must be in the format of `scheme`://`hostname`:`port`. Note
|
3054
|
+
# that scheme must be one of "http" or "https", and port must be supplied.
|
3055
|
+
# Corresponds to the JSON property `forwardProxyUri`
|
3056
|
+
# @return [String]
|
3057
|
+
attr_accessor :forward_proxy_uri
|
3058
|
+
|
3051
3059
|
# Output only. Last modification time of this environment as milliseconds since
|
3052
3060
|
# epoch.
|
3053
3061
|
# Corresponds to the JSON property `lastModifiedAt`
|
@@ -3083,6 +3091,7 @@ module Google
|
|
3083
3091
|
@deployment_type = args[:deployment_type] if args.key?(:deployment_type)
|
3084
3092
|
@description = args[:description] if args.key?(:description)
|
3085
3093
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3094
|
+
@forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
|
3086
3095
|
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
3087
3096
|
@name = args[:name] if args.key?(:name)
|
3088
3097
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3131,6 +3140,13 @@ module Google
|
|
3131
3140
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig>]
|
3132
3141
|
attr_accessor :flowhooks
|
3133
3142
|
|
3143
|
+
# The forward proxy's url to be used by the runtime. When set, runtime will send
|
3144
|
+
# requests to the target via the given forward proxy. This is only used by
|
3145
|
+
# programmable gateways.
|
3146
|
+
# Corresponds to the JSON property `forwardProxyUri`
|
3147
|
+
# @return [String]
|
3148
|
+
attr_accessor :forward_proxy_uri
|
3149
|
+
|
3134
3150
|
# The location for the gateway config blob as a URI, e.g. a Cloud Storage URI.
|
3135
3151
|
# This is only used by Envoy-based gateways.
|
3136
3152
|
# Corresponds to the JSON property `gatewayConfigLocation`
|
@@ -3211,6 +3227,7 @@ module Google
|
|
3211
3227
|
@deployments = args[:deployments] if args.key?(:deployments)
|
3212
3228
|
@feature_flags = args[:feature_flags] if args.key?(:feature_flags)
|
3213
3229
|
@flowhooks = args[:flowhooks] if args.key?(:flowhooks)
|
3230
|
+
@forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
|
3214
3231
|
@gateway_config_location = args[:gateway_config_location] if args.key?(:gateway_config_location)
|
3215
3232
|
@keystores = args[:keystores] if args.key?(:keystores)
|
3216
3233
|
@name = args[:name] if args.key?(:name)
|
@@ -4168,12 +4185,41 @@ module Google
|
|
4168
4185
|
end
|
4169
4186
|
end
|
4170
4187
|
|
4188
|
+
# Key value map pair where the value represents the data associated with the
|
4189
|
+
# corresponding key.
|
4190
|
+
class GoogleCloudApigeeV1KeyValueEntry
|
4191
|
+
include Google::Apis::Core::Hashable
|
4192
|
+
|
4193
|
+
# Resource URI that can be used to identify the scope of the key value map
|
4194
|
+
# entries.
|
4195
|
+
# Corresponds to the JSON property `name`
|
4196
|
+
# @return [String]
|
4197
|
+
attr_accessor :name
|
4198
|
+
|
4199
|
+
# Required. Data or payload that is being retrieved and associated with the
|
4200
|
+
# unique key.
|
4201
|
+
# Corresponds to the JSON property `value`
|
4202
|
+
# @return [String]
|
4203
|
+
attr_accessor :value
|
4204
|
+
|
4205
|
+
def initialize(**args)
|
4206
|
+
update!(**args)
|
4207
|
+
end
|
4208
|
+
|
4209
|
+
# Update properties of this object
|
4210
|
+
def update!(**args)
|
4211
|
+
@name = args[:name] if args.key?(:name)
|
4212
|
+
@value = args[:value] if args.key?(:value)
|
4213
|
+
end
|
4214
|
+
end
|
4215
|
+
|
4171
4216
|
# Collection of key/value string pairs.
|
4172
4217
|
class GoogleCloudApigeeV1KeyValueMap
|
4173
4218
|
include Google::Apis::Core::Hashable
|
4174
4219
|
|
4175
|
-
# Optional. Flag that specifies whether entry values will be encrypted.
|
4176
|
-
# to
|
4220
|
+
# Optional. Flag that specifies whether entry values will be encrypted. You must
|
4221
|
+
# set this value to `true`. Apigee X and hybrid do not support unencrytped key
|
4222
|
+
# value maps.
|
4177
4223
|
# Corresponds to the JSON property `encrypted`
|
4178
4224
|
# @return [Boolean]
|
4179
4225
|
attr_accessor :encrypted
|
@@ -4735,6 +4781,33 @@ module Google
|
|
4735
4781
|
end
|
4736
4782
|
end
|
4737
4783
|
|
4784
|
+
# The request structure for listing Key value map keys and its corrresponding
|
4785
|
+
# values.
|
4786
|
+
class GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
4787
|
+
include Google::Apis::Core::Hashable
|
4788
|
+
|
4789
|
+
# One or more key value map keys and values.
|
4790
|
+
# Corresponds to the JSON property `keyValueEntries`
|
4791
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry>]
|
4792
|
+
attr_accessor :key_value_entries
|
4793
|
+
|
4794
|
+
# Token that can be sent as `next_page_token` to retrieve the next page. If this
|
4795
|
+
# field is omitted, there are no subsequent pages.
|
4796
|
+
# Corresponds to the JSON property `nextPageToken`
|
4797
|
+
# @return [String]
|
4798
|
+
attr_accessor :next_page_token
|
4799
|
+
|
4800
|
+
def initialize(**args)
|
4801
|
+
update!(**args)
|
4802
|
+
end
|
4803
|
+
|
4804
|
+
# Update properties of this object
|
4805
|
+
def update!(**args)
|
4806
|
+
@key_value_entries = args[:key_value_entries] if args.key?(:key_value_entries)
|
4807
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4808
|
+
end
|
4809
|
+
end
|
4810
|
+
|
4738
4811
|
# Response for ListNatAddresses.
|
4739
4812
|
class GoogleCloudApigeeV1ListNatAddressesResponse
|
4740
4813
|
include Google::Apis::Core::Hashable
|
@@ -5439,6 +5512,12 @@ module Google
|
|
5439
5512
|
class GoogleCloudApigeeV1OrganizationProjectMapping
|
5440
5513
|
include Google::Apis::Core::Hashable
|
5441
5514
|
|
5515
|
+
# Output only. The Google Cloud region where control plane data is located. For
|
5516
|
+
# more information, see https://cloud.google.com/about/locations/.
|
5517
|
+
# Corresponds to the JSON property `location`
|
5518
|
+
# @return [String]
|
5519
|
+
attr_accessor :location
|
5520
|
+
|
5442
5521
|
# Name of the Apigee organization.
|
5443
5522
|
# Corresponds to the JSON property `organization`
|
5444
5523
|
# @return [String]
|
@@ -5461,6 +5540,7 @@ module Google
|
|
5461
5540
|
|
5462
5541
|
# Update properties of this object
|
5463
5542
|
def update!(**args)
|
5543
|
+
@location = args[:location] if args.key?(:location)
|
5464
5544
|
@organization = args[:organization] if args.key?(:organization)
|
5465
5545
|
@project_id = args[:project_id] if args.key?(:project_id)
|
5466
5546
|
@project_ids = args[:project_ids] if args.key?(:project_ids)
|
@@ -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.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.7.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220609"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -568,6 +568,12 @@ module Google
|
|
568
568
|
include Google::Apis::Core::JsonObjectSupport
|
569
569
|
end
|
570
570
|
|
571
|
+
class GoogleCloudApigeeV1KeyValueEntry
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
571
577
|
class GoogleCloudApigeeV1KeyValueMap
|
572
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
579
|
|
@@ -712,6 +718,12 @@ module Google
|
|
712
718
|
include Google::Apis::Core::JsonObjectSupport
|
713
719
|
end
|
714
720
|
|
721
|
+
class GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
715
727
|
class GoogleCloudApigeeV1ListNatAddressesResponse
|
716
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
729
|
|
@@ -1988,6 +2000,7 @@ module Google
|
|
1988
2000
|
property :deployment_type, as: 'deploymentType'
|
1989
2001
|
property :description, as: 'description'
|
1990
2002
|
property :display_name, as: 'displayName'
|
2003
|
+
property :forward_proxy_uri, as: 'forwardProxyUri'
|
1991
2004
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
1992
2005
|
property :name, as: 'name'
|
1993
2006
|
property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation
|
@@ -2010,6 +2023,7 @@ module Google
|
|
2010
2023
|
hash :feature_flags, as: 'featureFlags'
|
2011
2024
|
collection :flowhooks, as: 'flowhooks', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig::Representation
|
2012
2025
|
|
2026
|
+
property :forward_proxy_uri, as: 'forwardProxyUri'
|
2013
2027
|
property :gateway_config_location, as: 'gatewayConfigLocation'
|
2014
2028
|
collection :keystores, as: 'keystores', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeystoreConfig::Representation
|
2015
2029
|
|
@@ -2281,6 +2295,14 @@ module Google
|
|
2281
2295
|
end
|
2282
2296
|
end
|
2283
2297
|
|
2298
|
+
class GoogleCloudApigeeV1KeyValueEntry
|
2299
|
+
# @private
|
2300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2301
|
+
property :name, as: 'name'
|
2302
|
+
property :value, as: 'value'
|
2303
|
+
end
|
2304
|
+
end
|
2305
|
+
|
2284
2306
|
class GoogleCloudApigeeV1KeyValueMap
|
2285
2307
|
# @private
|
2286
2308
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2487,6 +2509,15 @@ module Google
|
|
2487
2509
|
end
|
2488
2510
|
end
|
2489
2511
|
|
2512
|
+
class GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
2513
|
+
# @private
|
2514
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2515
|
+
collection :key_value_entries, as: 'keyValueEntries', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
2516
|
+
|
2517
|
+
property :next_page_token, as: 'nextPageToken'
|
2518
|
+
end
|
2519
|
+
end
|
2520
|
+
|
2490
2521
|
class GoogleCloudApigeeV1ListNatAddressesResponse
|
2491
2522
|
# @private
|
2492
2523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2683,6 +2714,7 @@ module Google
|
|
2683
2714
|
class GoogleCloudApigeeV1OrganizationProjectMapping
|
2684
2715
|
# @private
|
2685
2716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2717
|
+
property :location, as: 'location'
|
2686
2718
|
property :organization, as: 'organization'
|
2687
2719
|
property :project_id, as: 'projectId'
|
2688
2720
|
collection :project_ids, as: 'projectIds'
|
@@ -230,6 +230,37 @@ module Google
|
|
230
230
|
execute_or_queue_command(command, &block)
|
231
231
|
end
|
232
232
|
|
233
|
+
# Gets the project ID and region for an Apigee organization.
|
234
|
+
# @param [String] name
|
235
|
+
# Required. Apigee organization name in the following format: `organizations/`
|
236
|
+
# org``
|
237
|
+
# @param [String] fields
|
238
|
+
# Selector specifying which fields to include in a partial response.
|
239
|
+
# @param [String] quota_user
|
240
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
241
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
242
|
+
# @param [Google::Apis::RequestOptions] options
|
243
|
+
# Request-specific options
|
244
|
+
#
|
245
|
+
# @yield [result, err] Result & error if block supplied
|
246
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping] parsed result object
|
247
|
+
# @yieldparam err [StandardError] error object if request failed
|
248
|
+
#
|
249
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping]
|
250
|
+
#
|
251
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
252
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
253
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
254
|
+
def get_organization_project_mapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
255
|
+
command = make_simple_command(:get, 'v1/{+name}:getProjectMapping', options)
|
256
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping::Representation
|
257
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OrganizationProjectMapping
|
258
|
+
command.params['name'] = name unless name.nil?
|
259
|
+
command.query['fields'] = fields unless fields.nil?
|
260
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
261
|
+
execute_or_queue_command(command, &block)
|
262
|
+
end
|
263
|
+
|
233
264
|
# Get runtime config for an organization.
|
234
265
|
# @param [String] name
|
235
266
|
# Required. Name of the runtime config for the organization in the following
|
@@ -1530,6 +1561,160 @@ module Google
|
|
1530
1561
|
execute_or_queue_command(command, &block)
|
1531
1562
|
end
|
1532
1563
|
|
1564
|
+
# Creates key value entries in a key value map scoped to an organization,
|
1565
|
+
# environment, or API proxy.
|
1566
|
+
# @param [String] parent
|
1567
|
+
# Required. Scope as indicated by the URI in which to create the key value map
|
1568
|
+
# entry. Use **one** of the following structures in your request: * `
|
1569
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
|
1570
|
+
# organizations/`organization`/environments/`environment`/keyvaluemaps/`
|
1571
|
+
# keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
1572
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
|
1573
|
+
# @param [String] fields
|
1574
|
+
# Selector specifying which fields to include in a partial response.
|
1575
|
+
# @param [String] quota_user
|
1576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1578
|
+
# @param [Google::Apis::RequestOptions] options
|
1579
|
+
# Request-specific options
|
1580
|
+
#
|
1581
|
+
# @yield [result, err] Result & error if block supplied
|
1582
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
1583
|
+
# @yieldparam err [StandardError] error object if request failed
|
1584
|
+
#
|
1585
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
1586
|
+
#
|
1587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1590
|
+
def create_organization_api_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1591
|
+
command = make_simple_command(:post, 'v1/{+parent}/entries', options)
|
1592
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
1593
|
+
command.request_object = google_cloud_apigee_v1_key_value_entry_object
|
1594
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
1595
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
1596
|
+
command.params['parent'] = parent unless parent.nil?
|
1597
|
+
command.query['fields'] = fields unless fields.nil?
|
1598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1599
|
+
execute_or_queue_command(command, &block)
|
1600
|
+
end
|
1601
|
+
|
1602
|
+
# Deletes a key value entry from a key value map scoped to an organization,
|
1603
|
+
# environment, or API proxy. **Note:** After you delete the key value entry, the
|
1604
|
+
# policy consuming the entry will continue to function with its cached values
|
1605
|
+
# for a few minutes. This is expected behavior.
|
1606
|
+
# @param [String] name
|
1607
|
+
# Required. Scope as indicated by the URI in which to delete the key value map
|
1608
|
+
# entry. Use **one** of the following structures in your request: * `
|
1609
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
1610
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
1611
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
1612
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
1613
|
+
# @param [String] fields
|
1614
|
+
# Selector specifying which fields to include in a partial response.
|
1615
|
+
# @param [String] quota_user
|
1616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1618
|
+
# @param [Google::Apis::RequestOptions] options
|
1619
|
+
# Request-specific options
|
1620
|
+
#
|
1621
|
+
# @yield [result, err] Result & error if block supplied
|
1622
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
1623
|
+
# @yieldparam err [StandardError] error object if request failed
|
1624
|
+
#
|
1625
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
1626
|
+
#
|
1627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1630
|
+
def delete_organization_api_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
1631
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1632
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
1633
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
1634
|
+
command.params['name'] = name unless name.nil?
|
1635
|
+
command.query['fields'] = fields unless fields.nil?
|
1636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1637
|
+
execute_or_queue_command(command, &block)
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
# Get the Key value entry value for org, env or apis scoped Key value map.
|
1641
|
+
# @param [String] name
|
1642
|
+
# Required. Scope as indicated by the URI in which to fetch the key value map
|
1643
|
+
# entry/value. Use **one** of the following structures in your request: * `
|
1644
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
1645
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
1646
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
1647
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
1648
|
+
# @param [String] fields
|
1649
|
+
# Selector specifying which fields to include in a partial response.
|
1650
|
+
# @param [String] quota_user
|
1651
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1652
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1653
|
+
# @param [Google::Apis::RequestOptions] options
|
1654
|
+
# Request-specific options
|
1655
|
+
#
|
1656
|
+
# @yield [result, err] Result & error if block supplied
|
1657
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
1658
|
+
# @yieldparam err [StandardError] error object if request failed
|
1659
|
+
#
|
1660
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
1661
|
+
#
|
1662
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1663
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1664
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1665
|
+
def get_organization_api_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
1666
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1667
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
1668
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
1669
|
+
command.params['name'] = name unless name.nil?
|
1670
|
+
command.query['fields'] = fields unless fields.nil?
|
1671
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1672
|
+
execute_or_queue_command(command, &block)
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
# Lists key value entries for key values maps scoped to an organization,
|
1676
|
+
# environment, or API proxy.
|
1677
|
+
# @param [String] parent
|
1678
|
+
# Required. Scope as indicated by the URI in which to list key value maps. Use **
|
1679
|
+
# one** of the following structures in your request: * `organizations/`
|
1680
|
+
# organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
|
1681
|
+
# organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
|
1682
|
+
# organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
1683
|
+
# @param [Fixnum] page_size
|
1684
|
+
# Optional. Maximum number of key value entries to return. If unspecified, at
|
1685
|
+
# most 100 entries will be returned.
|
1686
|
+
# @param [String] page_token
|
1687
|
+
# Optional. Page token. If provides, must be a valid key value entry returned
|
1688
|
+
# from a previous call that can be used to retrieve the next page.
|
1689
|
+
# @param [String] fields
|
1690
|
+
# Selector specifying which fields to include in a partial response.
|
1691
|
+
# @param [String] quota_user
|
1692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1694
|
+
# @param [Google::Apis::RequestOptions] options
|
1695
|
+
# Request-specific options
|
1696
|
+
#
|
1697
|
+
# @yield [result, err] Result & error if block supplied
|
1698
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
|
1699
|
+
# @yieldparam err [StandardError] error object if request failed
|
1700
|
+
#
|
1701
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
|
1702
|
+
#
|
1703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1706
|
+
def list_organization_api_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1707
|
+
command = make_simple_command(:get, 'v1/{+parent}/entries', options)
|
1708
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
|
1709
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
1710
|
+
command.params['parent'] = parent unless parent.nil?
|
1711
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1712
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1713
|
+
command.query['fields'] = fields unless fields.nil?
|
1714
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1715
|
+
execute_or_queue_command(command, &block)
|
1716
|
+
end
|
1717
|
+
|
1533
1718
|
# Deletes an API proxy revision and all policies, resources, endpoints, and
|
1534
1719
|
# revisions associated with it. The API proxy revision must be undeployed before
|
1535
1720
|
# you can delete it.
|
@@ -3968,7 +4153,8 @@ module Google
|
|
3968
4153
|
execute_or_queue_command(command, &block)
|
3969
4154
|
end
|
3970
4155
|
|
3971
|
-
# Deletes an environment from an organization.
|
4156
|
+
# Deletes an environment from an organization. **Note**: You must delete all key
|
4157
|
+
# value maps and key value entries before you can delete an environment.
|
3972
4158
|
# @param [String] name
|
3973
4159
|
# Required. Name of the environment. Use the following structure in your request:
|
3974
4160
|
# `organizations/`org`/environments/`env``
|
@@ -5880,6 +6066,160 @@ module Google
|
|
5880
6066
|
execute_or_queue_command(command, &block)
|
5881
6067
|
end
|
5882
6068
|
|
6069
|
+
# Creates key value entries in a key value map scoped to an organization,
|
6070
|
+
# environment, or API proxy.
|
6071
|
+
# @param [String] parent
|
6072
|
+
# Required. Scope as indicated by the URI in which to create the key value map
|
6073
|
+
# entry. Use **one** of the following structures in your request: * `
|
6074
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
|
6075
|
+
# organizations/`organization`/environments/`environment`/keyvaluemaps/`
|
6076
|
+
# keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
6077
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
|
6078
|
+
# @param [String] fields
|
6079
|
+
# Selector specifying which fields to include in a partial response.
|
6080
|
+
# @param [String] quota_user
|
6081
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6082
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6083
|
+
# @param [Google::Apis::RequestOptions] options
|
6084
|
+
# Request-specific options
|
6085
|
+
#
|
6086
|
+
# @yield [result, err] Result & error if block supplied
|
6087
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
6088
|
+
# @yieldparam err [StandardError] error object if request failed
|
6089
|
+
#
|
6090
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
6091
|
+
#
|
6092
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6093
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6094
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6095
|
+
def create_organization_environment_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6096
|
+
command = make_simple_command(:post, 'v1/{+parent}/entries', options)
|
6097
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
6098
|
+
command.request_object = google_cloud_apigee_v1_key_value_entry_object
|
6099
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
6100
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
6101
|
+
command.params['parent'] = parent unless parent.nil?
|
6102
|
+
command.query['fields'] = fields unless fields.nil?
|
6103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6104
|
+
execute_or_queue_command(command, &block)
|
6105
|
+
end
|
6106
|
+
|
6107
|
+
# Deletes a key value entry from a key value map scoped to an organization,
|
6108
|
+
# environment, or API proxy. **Note:** After you delete the key value entry, the
|
6109
|
+
# policy consuming the entry will continue to function with its cached values
|
6110
|
+
# for a few minutes. This is expected behavior.
|
6111
|
+
# @param [String] name
|
6112
|
+
# Required. Scope as indicated by the URI in which to delete the key value map
|
6113
|
+
# entry. Use **one** of the following structures in your request: * `
|
6114
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
6115
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
6116
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
6117
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
6118
|
+
# @param [String] fields
|
6119
|
+
# Selector specifying which fields to include in a partial response.
|
6120
|
+
# @param [String] quota_user
|
6121
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6122
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6123
|
+
# @param [Google::Apis::RequestOptions] options
|
6124
|
+
# Request-specific options
|
6125
|
+
#
|
6126
|
+
# @yield [result, err] Result & error if block supplied
|
6127
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
6128
|
+
# @yieldparam err [StandardError] error object if request failed
|
6129
|
+
#
|
6130
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
6131
|
+
#
|
6132
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6133
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6134
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6135
|
+
def delete_organization_environment_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
6136
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
6137
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
6138
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
6139
|
+
command.params['name'] = name unless name.nil?
|
6140
|
+
command.query['fields'] = fields unless fields.nil?
|
6141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6142
|
+
execute_or_queue_command(command, &block)
|
6143
|
+
end
|
6144
|
+
|
6145
|
+
# Get the Key value entry value for org, env or apis scoped Key value map.
|
6146
|
+
# @param [String] name
|
6147
|
+
# Required. Scope as indicated by the URI in which to fetch the key value map
|
6148
|
+
# entry/value. Use **one** of the following structures in your request: * `
|
6149
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
6150
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
6151
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
6152
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
6153
|
+
# @param [String] fields
|
6154
|
+
# Selector specifying which fields to include in a partial response.
|
6155
|
+
# @param [String] quota_user
|
6156
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6157
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6158
|
+
# @param [Google::Apis::RequestOptions] options
|
6159
|
+
# Request-specific options
|
6160
|
+
#
|
6161
|
+
# @yield [result, err] Result & error if block supplied
|
6162
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
6163
|
+
# @yieldparam err [StandardError] error object if request failed
|
6164
|
+
#
|
6165
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
6166
|
+
#
|
6167
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6168
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6169
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6170
|
+
def get_organization_environment_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
6171
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
6172
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
6173
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
6174
|
+
command.params['name'] = name unless name.nil?
|
6175
|
+
command.query['fields'] = fields unless fields.nil?
|
6176
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6177
|
+
execute_or_queue_command(command, &block)
|
6178
|
+
end
|
6179
|
+
|
6180
|
+
# Lists key value entries for key values maps scoped to an organization,
|
6181
|
+
# environment, or API proxy.
|
6182
|
+
# @param [String] parent
|
6183
|
+
# Required. Scope as indicated by the URI in which to list key value maps. Use **
|
6184
|
+
# one** of the following structures in your request: * `organizations/`
|
6185
|
+
# organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
|
6186
|
+
# organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
|
6187
|
+
# organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
6188
|
+
# @param [Fixnum] page_size
|
6189
|
+
# Optional. Maximum number of key value entries to return. If unspecified, at
|
6190
|
+
# most 100 entries will be returned.
|
6191
|
+
# @param [String] page_token
|
6192
|
+
# Optional. Page token. If provides, must be a valid key value entry returned
|
6193
|
+
# from a previous call that can be used to retrieve the next page.
|
6194
|
+
# @param [String] fields
|
6195
|
+
# Selector specifying which fields to include in a partial response.
|
6196
|
+
# @param [String] quota_user
|
6197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6199
|
+
# @param [Google::Apis::RequestOptions] options
|
6200
|
+
# Request-specific options
|
6201
|
+
#
|
6202
|
+
# @yield [result, err] Result & error if block supplied
|
6203
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
|
6204
|
+
# @yieldparam err [StandardError] error object if request failed
|
6205
|
+
#
|
6206
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
|
6207
|
+
#
|
6208
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6209
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6210
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6211
|
+
def list_organization_environment_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6212
|
+
command = make_simple_command(:get, 'v1/{+parent}/entries', options)
|
6213
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
|
6214
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
6215
|
+
command.params['parent'] = parent unless parent.nil?
|
6216
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6217
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6218
|
+
command.query['fields'] = fields unless fields.nil?
|
6219
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6220
|
+
execute_or_queue_command(command, &block)
|
6221
|
+
end
|
6222
|
+
|
5883
6223
|
# Similar to GetStats except that the response is less verbose.
|
5884
6224
|
# @param [String] name
|
5885
6225
|
# Required. Resource name for which the interactive query will be executed. Use
|
@@ -8036,6 +8376,160 @@ module Google
|
|
8036
8376
|
execute_or_queue_command(command, &block)
|
8037
8377
|
end
|
8038
8378
|
|
8379
|
+
# Creates key value entries in a key value map scoped to an organization,
|
8380
|
+
# environment, or API proxy.
|
8381
|
+
# @param [String] parent
|
8382
|
+
# Required. Scope as indicated by the URI in which to create the key value map
|
8383
|
+
# entry. Use **one** of the following structures in your request: * `
|
8384
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
|
8385
|
+
# organizations/`organization`/environments/`environment`/keyvaluemaps/`
|
8386
|
+
# keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
8387
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
|
8388
|
+
# @param [String] fields
|
8389
|
+
# Selector specifying which fields to include in a partial response.
|
8390
|
+
# @param [String] quota_user
|
8391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8393
|
+
# @param [Google::Apis::RequestOptions] options
|
8394
|
+
# Request-specific options
|
8395
|
+
#
|
8396
|
+
# @yield [result, err] Result & error if block supplied
|
8397
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8398
|
+
# @yieldparam err [StandardError] error object if request failed
|
8399
|
+
#
|
8400
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8401
|
+
#
|
8402
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8403
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8404
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8405
|
+
def create_organization_keyvaluemap_entry(parent, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8406
|
+
command = make_simple_command(:post, 'v1/{+parent}/entries', options)
|
8407
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8408
|
+
command.request_object = google_cloud_apigee_v1_key_value_entry_object
|
8409
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8410
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8411
|
+
command.params['parent'] = parent unless parent.nil?
|
8412
|
+
command.query['fields'] = fields unless fields.nil?
|
8413
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8414
|
+
execute_or_queue_command(command, &block)
|
8415
|
+
end
|
8416
|
+
|
8417
|
+
# Deletes a key value entry from a key value map scoped to an organization,
|
8418
|
+
# environment, or API proxy. **Note:** After you delete the key value entry, the
|
8419
|
+
# policy consuming the entry will continue to function with its cached values
|
8420
|
+
# for a few minutes. This is expected behavior.
|
8421
|
+
# @param [String] name
|
8422
|
+
# Required. Scope as indicated by the URI in which to delete the key value map
|
8423
|
+
# entry. Use **one** of the following structures in your request: * `
|
8424
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
8425
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
8426
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
8427
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
8428
|
+
# @param [String] fields
|
8429
|
+
# Selector specifying which fields to include in a partial response.
|
8430
|
+
# @param [String] quota_user
|
8431
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8432
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8433
|
+
# @param [Google::Apis::RequestOptions] options
|
8434
|
+
# Request-specific options
|
8435
|
+
#
|
8436
|
+
# @yield [result, err] Result & error if block supplied
|
8437
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8438
|
+
# @yieldparam err [StandardError] error object if request failed
|
8439
|
+
#
|
8440
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8441
|
+
#
|
8442
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8443
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8444
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8445
|
+
def delete_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
8446
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
8447
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8448
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8449
|
+
command.params['name'] = name unless name.nil?
|
8450
|
+
command.query['fields'] = fields unless fields.nil?
|
8451
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8452
|
+
execute_or_queue_command(command, &block)
|
8453
|
+
end
|
8454
|
+
|
8455
|
+
# Get the Key value entry value for org, env or apis scoped Key value map.
|
8456
|
+
# @param [String] name
|
8457
|
+
# Required. Scope as indicated by the URI in which to fetch the key value map
|
8458
|
+
# entry/value. Use **one** of the following structures in your request: * `
|
8459
|
+
# organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap`/entries/`
|
8460
|
+
# entry``. * `organizations/`organization`/environments/`environment`/
|
8461
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry`` * `organizations/`organization`/
|
8462
|
+
# keyvaluemaps/`keyvaluemap`/entries/`entry``.
|
8463
|
+
# @param [String] fields
|
8464
|
+
# Selector specifying which fields to include in a partial response.
|
8465
|
+
# @param [String] quota_user
|
8466
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8467
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8468
|
+
# @param [Google::Apis::RequestOptions] options
|
8469
|
+
# Request-specific options
|
8470
|
+
#
|
8471
|
+
# @yield [result, err] Result & error if block supplied
|
8472
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
|
8473
|
+
# @yieldparam err [StandardError] error object if request failed
|
8474
|
+
#
|
8475
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
|
8476
|
+
#
|
8477
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8478
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8479
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8480
|
+
def get_organization_keyvaluemap_entry(name, fields: nil, quota_user: nil, options: nil, &block)
|
8481
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
8482
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
|
8483
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
|
8484
|
+
command.params['name'] = name unless name.nil?
|
8485
|
+
command.query['fields'] = fields unless fields.nil?
|
8486
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8487
|
+
execute_or_queue_command(command, &block)
|
8488
|
+
end
|
8489
|
+
|
8490
|
+
# Lists key value entries for key values maps scoped to an organization,
|
8491
|
+
# environment, or API proxy.
|
8492
|
+
# @param [String] parent
|
8493
|
+
# Required. Scope as indicated by the URI in which to list key value maps. Use **
|
8494
|
+
# one** of the following structures in your request: * `organizations/`
|
8495
|
+
# organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
|
8496
|
+
# organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
|
8497
|
+
# organizations/`organization`/keyvaluemaps/`keyvaluemap``.
|
8498
|
+
# @param [Fixnum] page_size
|
8499
|
+
# Optional. Maximum number of key value entries to return. If unspecified, at
|
8500
|
+
# most 100 entries will be returned.
|
8501
|
+
# @param [String] page_token
|
8502
|
+
# Optional. Page token. If provides, must be a valid key value entry returned
|
8503
|
+
# from a previous call that can be used to retrieve the next page.
|
8504
|
+
# @param [String] fields
|
8505
|
+
# Selector specifying which fields to include in a partial response.
|
8506
|
+
# @param [String] quota_user
|
8507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8509
|
+
# @param [Google::Apis::RequestOptions] options
|
8510
|
+
# Request-specific options
|
8511
|
+
#
|
8512
|
+
# @yield [result, err] Result & error if block supplied
|
8513
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse] parsed result object
|
8514
|
+
# @yieldparam err [StandardError] error object if request failed
|
8515
|
+
#
|
8516
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse]
|
8517
|
+
#
|
8518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8521
|
+
def list_organization_keyvaluemap_entries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8522
|
+
command = make_simple_command(:get, 'v1/{+parent}/entries', options)
|
8523
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse::Representation
|
8524
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListKeyValueEntriesResponse
|
8525
|
+
command.params['parent'] = parent unless parent.nil?
|
8526
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
8527
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
8528
|
+
command.query['fields'] = fields unless fields.nil?
|
8529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8530
|
+
execute_or_queue_command(command, &block)
|
8531
|
+
end
|
8532
|
+
|
8039
8533
|
# Gets the latest state of a long-running operation. Clients can use this method
|
8040
8534
|
# to poll the operation result at intervals as recommended by the API service.
|
8041
8535
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Apigee API V1
|