google-apis-apigee_v1 0.44.0 → 0.47.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34c3628e7bd159ca6e116dcaa1a3e13f567bc93211552054e36f358035390b4f
4
- data.tar.gz: bbe9354fa34bd669c9188e9914a3494405aa10f2f019b0d65f59aa341816e4a7
3
+ metadata.gz: 989c147d0930822de073acc2c3c05c1884d353e9bf3a8400817e57903b03db2d
4
+ data.tar.gz: 7112d0b7d63537f73fef4fc7817af83a559b0e81445d5eadc28cd3cef6683b9a
5
5
  SHA512:
6
- metadata.gz: f8bd1032d809896d1ec8af53b4aa5f519c214c52cbd25dc25a94a6a678afe2fbf71e2f89642ea1e5d35bdf37147d332b7b1de11ce786b3be6ae28ac49e0274a1
7
- data.tar.gz: a2d003bff757b41f1dd7b09d95d105e851379a3561d6193f5bbfe6607874837b3a7638b14e1d54ab1677ef605fd4786f93d5110c456446fc03f76e05493630ea
6
+ metadata.gz: a9687d8371569a5a2e6652f11f0689e49fa51af49ee059d5a58b6de82a28cde8e38898fec09bea592fd4dcf14262bf1553b0d662c2a414704d4c40becba7812b
7
+ data.tar.gz: 1c6c0a25df5e1996d9309a01226b55f7eecf147aa10374b43578bd483fa9469c6e14f95c3c924565ae5e3ba61ab88a364cd7a58a5edfe30c0e1dd153a0c9a41b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.47.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.46.0 (2022-05-18)
9
+
10
+ * Regenerated from discovery document revision 20220513
11
+
12
+ ### v0.45.0 (2022-05-10)
13
+
14
+ * Regenerated from discovery document revision 20220509
15
+
3
16
  ### v0.44.0 (2022-05-03)
4
17
 
5
18
  * Regenerated from discovery document revision 20220428
@@ -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. This
2242
- # field is not populated in List APIs.
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 not populated in List
2248
- # APIs.
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 not populated for List APIs. **
2254
- # Note**: **This field is deprecated**. Runtime versions 1.3 and above report
2255
- # instance level status rather than pod status.
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 not populated in
2270
- # List APIs.
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 not populated in List APIs.
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
@@ -4168,12 +4169,41 @@ module Google
4168
4169
  end
4169
4170
  end
4170
4171
 
4172
+ # Key value map pair where the value represents the data associated with the
4173
+ # corresponding key.
4174
+ class GoogleCloudApigeeV1KeyValueEntry
4175
+ include Google::Apis::Core::Hashable
4176
+
4177
+ # Resource URI that can be used to identify the scope of the key value map
4178
+ # entries.
4179
+ # Corresponds to the JSON property `name`
4180
+ # @return [String]
4181
+ attr_accessor :name
4182
+
4183
+ # Required. Data or payload that is being retrieved and associated with the
4184
+ # unique key.
4185
+ # Corresponds to the JSON property `value`
4186
+ # @return [String]
4187
+ attr_accessor :value
4188
+
4189
+ def initialize(**args)
4190
+ update!(**args)
4191
+ end
4192
+
4193
+ # Update properties of this object
4194
+ def update!(**args)
4195
+ @name = args[:name] if args.key?(:name)
4196
+ @value = args[:value] if args.key?(:value)
4197
+ end
4198
+ end
4199
+
4171
4200
  # Collection of key/value string pairs.
4172
4201
  class GoogleCloudApigeeV1KeyValueMap
4173
4202
  include Google::Apis::Core::Hashable
4174
4203
 
4175
- # Optional. Flag that specifies whether entry values will be encrypted. Enable
4176
- # to encrypt entry values.
4204
+ # Optional. Flag that specifies whether entry values will be encrypted. You must
4205
+ # set this value to `true`. Apigee X and hybrid do not support unencrytped key
4206
+ # value maps.
4177
4207
  # Corresponds to the JSON property `encrypted`
4178
4208
  # @return [Boolean]
4179
4209
  attr_accessor :encrypted
@@ -4735,6 +4765,33 @@ module Google
4735
4765
  end
4736
4766
  end
4737
4767
 
4768
+ # The request structure for listing Key value map keys and its corrresponding
4769
+ # values.
4770
+ class GoogleCloudApigeeV1ListKeyValueEntriesResponse
4771
+ include Google::Apis::Core::Hashable
4772
+
4773
+ # One or more key value map keys and values.
4774
+ # Corresponds to the JSON property `keyValueEntries`
4775
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry>]
4776
+ attr_accessor :key_value_entries
4777
+
4778
+ # Token that can be sent as `next_page_token` to retrieve the next page. If this
4779
+ # field is omitted, there are no subsequent pages.
4780
+ # Corresponds to the JSON property `nextPageToken`
4781
+ # @return [String]
4782
+ attr_accessor :next_page_token
4783
+
4784
+ def initialize(**args)
4785
+ update!(**args)
4786
+ end
4787
+
4788
+ # Update properties of this object
4789
+ def update!(**args)
4790
+ @key_value_entries = args[:key_value_entries] if args.key?(:key_value_entries)
4791
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4792
+ end
4793
+ end
4794
+
4738
4795
  # Response for ListNatAddresses.
4739
4796
  class GoogleCloudApigeeV1ListNatAddressesResponse
4740
4797
  include Google::Apis::Core::Hashable
@@ -5439,6 +5496,12 @@ module Google
5439
5496
  class GoogleCloudApigeeV1OrganizationProjectMapping
5440
5497
  include Google::Apis::Core::Hashable
5441
5498
 
5499
+ # Output only. The Google Cloud region where control plane data is located. For
5500
+ # more information, see https://cloud.google.com/about/locations/.
5501
+ # Corresponds to the JSON property `location`
5502
+ # @return [String]
5503
+ attr_accessor :location
5504
+
5442
5505
  # Name of the Apigee organization.
5443
5506
  # Corresponds to the JSON property `organization`
5444
5507
  # @return [String]
@@ -5461,6 +5524,7 @@ module Google
5461
5524
 
5462
5525
  # Update properties of this object
5463
5526
  def update!(**args)
5527
+ @location = args[:location] if args.key?(:location)
5464
5528
  @organization = args[:organization] if args.key?(:organization)
5465
5529
  @project_id = args[:project_id] if args.key?(:project_id)
5466
5530
  @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.44.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220428"
25
+ REVISION = "20220602"
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
 
@@ -2281,6 +2293,14 @@ module Google
2281
2293
  end
2282
2294
  end
2283
2295
 
2296
+ class GoogleCloudApigeeV1KeyValueEntry
2297
+ # @private
2298
+ class Representation < Google::Apis::Core::JsonRepresentation
2299
+ property :name, as: 'name'
2300
+ property :value, as: 'value'
2301
+ end
2302
+ end
2303
+
2284
2304
  class GoogleCloudApigeeV1KeyValueMap
2285
2305
  # @private
2286
2306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2487,6 +2507,15 @@ module Google
2487
2507
  end
2488
2508
  end
2489
2509
 
2510
+ class GoogleCloudApigeeV1ListKeyValueEntriesResponse
2511
+ # @private
2512
+ class Representation < Google::Apis::Core::JsonRepresentation
2513
+ collection :key_value_entries, as: 'keyValueEntries', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
2514
+
2515
+ property :next_page_token, as: 'nextPageToken'
2516
+ end
2517
+ end
2518
+
2490
2519
  class GoogleCloudApigeeV1ListNatAddressesResponse
2491
2520
  # @private
2492
2521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2683,6 +2712,7 @@ module Google
2683
2712
  class GoogleCloudApigeeV1OrganizationProjectMapping
2684
2713
  # @private
2685
2714
  class Representation < Google::Apis::Core::JsonRepresentation
2715
+ property :location, as: 'location'
2686
2716
  property :organization, as: 'organization'
2687
2717
  property :project_id, as: 'projectId'
2688
2718
  collection :project_ids, as: 'projectIds'
@@ -120,10 +120,20 @@ module Google
120
120
  execute_or_queue_command(command, &block)
121
121
  end
122
122
 
123
- # Delete an Apigee organization. Only supported for SubscriptionType TRIAL.
123
+ # Delete an Apigee organization. For organizations with BillingType EVALUATION,
124
+ # an immediate deletion is performed. For paid organizations, a soft-deletion is
125
+ # performed. The organization can be restored within the soft-deletion period -
126
+ # which can be controlled using the retention field in the request.
124
127
  # @param [String] name
125
128
  # Required. Name of the organization. Use the following structure in your
126
129
  # request: `organizations/`org``
130
+ # @param [String] retention
131
+ # Optional. This setting is only applicable for organizations that are soft-
132
+ # deleted (i.e. BillingType is not EVALUATION). It controls how long
133
+ # Organization data will be retained after the initial delete operation
134
+ # completes. During this period, the Organization may be restored to its last
135
+ # known state. After this period, the Organization will no longer be able to be
136
+ # restored.
127
137
  # @param [String] fields
128
138
  # Selector specifying which fields to include in a partial response.
129
139
  # @param [String] quota_user
@@ -141,11 +151,12 @@ module Google
141
151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
144
- def delete_organization(name, fields: nil, quota_user: nil, options: nil, &block)
154
+ def delete_organization(name, retention: nil, fields: nil, quota_user: nil, options: nil, &block)
145
155
  command = make_simple_command(:delete, 'v1/{+name}', options)
146
156
  command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
147
157
  command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
148
158
  command.params['name'] = name unless name.nil?
159
+ command.query['retention'] = retention unless retention.nil?
149
160
  command.query['fields'] = fields unless fields.nil?
150
161
  command.query['quotaUser'] = quota_user unless quota_user.nil?
151
162
  execute_or_queue_command(command, &block)
@@ -219,6 +230,37 @@ module Google
219
230
  execute_or_queue_command(command, &block)
220
231
  end
221
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
+
222
264
  # Get runtime config for an organization.
223
265
  # @param [String] name
224
266
  # Required. Name of the runtime config for the organization in the following
@@ -401,43 +443,6 @@ module Google
401
443
  execute_or_queue_command(command, &block)
402
444
  end
403
445
 
404
- # Tests the permissions of a user on an organization, and returns a subset of
405
- # permissions that the user has on the organization. If the organization does
406
- # not exist, an empty permission set is returned (a NOT_FOUND error is not
407
- # returned).
408
- # @param [String] resource
409
- # REQUIRED: The resource for which the policy detail is being requested. See the
410
- # operation documentation for the appropriate value for this field.
411
- # @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
412
- # @param [String] fields
413
- # Selector specifying which fields to include in a partial response.
414
- # @param [String] quota_user
415
- # Available to use for quota purposes for server-side applications. Can be any
416
- # arbitrary string assigned to a user, but should not exceed 40 characters.
417
- # @param [Google::Apis::RequestOptions] options
418
- # Request-specific options
419
- #
420
- # @yield [result, err] Result & error if block supplied
421
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
422
- # @yieldparam err [StandardError] error object if request failed
423
- #
424
- # @return [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse]
425
- #
426
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
427
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
428
- # @raise [Google::Apis::AuthorizationError] Authorization is required
429
- def test_organization_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
430
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
431
- command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest::Representation
432
- command.request_object = google_iam_v1_test_iam_permissions_request_object
433
- command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse::Representation
434
- command.response_class = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse
435
- command.params['resource'] = resource unless resource.nil?
436
- command.query['fields'] = fields unless fields.nil?
437
- command.query['quotaUser'] = quota_user unless quota_user.nil?
438
- execute_or_queue_command(command, &block)
439
- end
440
-
441
446
  # Updates the properties for an Apigee organization. No other fields in the
442
447
  # organization profile will be updated.
443
448
  # @param [String] name
@@ -1556,6 +1561,160 @@ module Google
1556
1561
  execute_or_queue_command(command, &block)
1557
1562
  end
1558
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
+
1559
1718
  # Deletes an API proxy revision and all policies, resources, endpoints, and
1560
1719
  # revisions associated with it. The API proxy revision must be undeployed before
1561
1720
  # you can delete it.
@@ -3994,7 +4153,8 @@ module Google
3994
4153
  execute_or_queue_command(command, &block)
3995
4154
  end
3996
4155
 
3997
- # 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.
3998
4158
  # @param [String] name
3999
4159
  # Required. Name of the environment. Use the following structure in your request:
4000
4160
  # `organizations/`org`/environments/`env``
@@ -4124,8 +4284,9 @@ module Google
4124
4284
  # api-platform/system-administration/manage-users-roles). You must have the `
4125
4285
  # apigee.environments.getIamPolicy` permission to call this API.
4126
4286
  # @param [String] resource
4127
- # REQUIRED: The resource for which the policy is being requested. See the
4128
- # operation documentation for the appropriate value for this field.
4287
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
4288
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4289
+ # appropriate value for this field.
4129
4290
  # @param [Fixnum] options_requested_policy_version
4130
4291
  # Optional. The maximum policy version that will be used to format the policy.
4131
4292
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -4202,8 +4363,9 @@ module Google
4202
4363
  # administration/manage-users-roles). You must have the `apigee.environments.
4203
4364
  # setIamPolicy` permission to call this API.
4204
4365
  # @param [String] resource
4205
- # REQUIRED: The resource for which the policy is being specified. See the
4206
- # operation documentation for the appropriate value for this field.
4366
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
4367
+ # names](https://cloud.google.com/apis/design/resource_names) for the
4368
+ # appropriate value for this field.
4207
4369
  # @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
4208
4370
  # @param [String] fields
4209
4371
  # Selector specifying which fields to include in a partial response.
@@ -4271,8 +4433,9 @@ module Google
4271
4433
  # permissions that the user has on the environment. If the environment does not
4272
4434
  # exist, an empty permission set is returned (a NOT_FOUND error is not returned).
4273
4435
  # @param [String] resource
4274
- # REQUIRED: The resource for which the policy detail is being requested. See the
4275
- # operation documentation for the appropriate value for this field.
4436
+ # REQUIRED: The resource for which the policy detail is being requested. See [
4437
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
4438
+ # appropriate value for this field.
4276
4439
  # @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
4277
4440
  # @param [String] fields
4278
4441
  # Selector specifying which fields to include in a partial response.
@@ -5903,6 +6066,160 @@ module Google
5903
6066
  execute_or_queue_command(command, &block)
5904
6067
  end
5905
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
+
5906
6223
  # Similar to GetStats except that the response is less verbose.
5907
6224
  # @param [String] name
5908
6225
  # Required. Resource name for which the interactive query will be executed. Use
@@ -8059,6 +8376,160 @@ module Google
8059
8376
  execute_or_queue_command(command, &block)
8060
8377
  end
8061
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
+
8062
8533
  # Gets the latest state of a long-running operation. Clients can use this method
8063
8534
  # to poll the operation result at intervals as recommended by the API service.
8064
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.44.0
4
+ version: 0.47.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.47.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.5
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