google-apis-apigee_v1 0.80.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1630b5d03fa930642e78e6d23e1f796bd5a51fde323e538719eeaea525c95448
4
- data.tar.gz: 8aa34c9272456c794c8e4f8e665d41cbc04983e0fa09c61579298a6d6845bd07
3
+ metadata.gz: eb79cd4784465fb32aed5f2ffd6d9f80b286c2a4d7c181157d002218a70e47e3
4
+ data.tar.gz: d06f9d74d73114327360b1fb63f35067d93ea3dfca44baccfdd1ee7301ecff41
5
5
  SHA512:
6
- metadata.gz: 6c718a34a3c2a71626b9d9a102865dbbd1717d4e67663220d4b74fc03a5c676c8a22d92bcc95ea6a26b42ef2816515703d46bd8deafb5a4436b7058a0d0b96c3
7
- data.tar.gz: 69afb172770b5163054dc5d27368f35b79fb352b67c0a464629afd7e93a5904c69255db91cbd9714a6a47415e11222a6cf1025fef98c12f93169fa30eb227919
6
+ metadata.gz: da470f7d9eefb2e78c2042b2a54b222c916c88869cfde23fd804cca5a9dca83c31443c6cb85bb40712cf1de581650b74be7a8984eecc047301bb228db8a2e860
7
+ data.tar.gz: a8152df98aa7ccbac690f0b2a6496bd6ce51f858a0bc6984d42e749a33261a8ae53ba1764e83989d13bc96fd0ed4616ba1cf6b1bae619f9c483206a0d1109c9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.82.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240112
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.81.0 (2023-12-24)
9
+
10
+ * Regenerated from discovery document revision 20231219
11
+
3
12
  ### v0.80.0 (2023-12-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20231130
@@ -3765,9 +3765,14 @@ module Google
3765
3765
  # @return [String]
3766
3766
  attr_accessor :display_name
3767
3767
 
3768
- # Optional. Url of the forward proxy to be applied to the runtime instances in
3768
+ # Optional. URI of the forward proxy to be applied to the runtime instances in
3769
3769
  # this environment. Must be in the format of `scheme`://`hostname`:`port`. Note
3770
- # that scheme must be one of "http" or "https", and port must be supplied.
3770
+ # that the scheme must be one of "http" or "https", and the port must be
3771
+ # supplied. To remove a forward proxy setting, update the field to an empty
3772
+ # value. Note: At this time, PUT operations to add forwardProxyUri to an
3773
+ # existing environment fail if the environment has nodeConfig set up. To
3774
+ # successfully add the forwardProxyUri setting in this case, include the
3775
+ # NodeConfig details with the request.
3771
3776
  # Corresponds to the JSON property `forwardProxyUri`
3772
3777
  # @return [String]
3773
3778
  attr_accessor :forward_proxy_uri
@@ -8764,7 +8769,7 @@ module Google
8764
8769
  # conditions elements are ANDed. For example if a SecurityAction has the
8765
8770
  # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8766
8771
  # this is interpreted as: enforce the action if the incoming request has ((
8767
- # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
8772
+ # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2")).
8768
8773
  # Corresponds to the JSON property `conditionConfig`
8769
8774
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig]
8770
8775
  attr_accessor :condition_config
@@ -8858,13 +8863,14 @@ module Google
8858
8863
  # conditions elements are ANDed. For example if a SecurityAction has the
8859
8864
  # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8860
8865
  # this is interpreted as: enforce the action if the incoming request has ((
8861
- # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2"))
8866
+ # api_key = "key1" OR api_key="key") AND (developer="dev1" OR developer="dev2")).
8862
8867
  class GoogleCloudApigeeV1SecurityActionConditionConfig
8863
8868
  include Google::Apis::Core::Hashable
8864
8869
 
8865
8870
  # Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
8866
8871
  # Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
8867
- # Anomaly Detection and Advanced API Scraper.
8872
+ # Anomaly Detection, Advanced API Scraper, Search Engine Crawlers, Public Cloud,
8873
+ # Public Cloud AWS, Public Cloud Azure, and Public Cloud GCP.
8868
8874
  # Corresponds to the JSON property `botReasons`
8869
8875
  # @return [Array<String>]
8870
8876
  attr_accessor :bot_reasons
@@ -9598,6 +9604,34 @@ module Google
9598
9604
  end
9599
9605
  end
9600
9606
 
9607
+ # SecuritySettings reflects the current state of the SecuritySettings feature.
9608
+ class GoogleCloudApigeeV1SecuritySettings
9609
+ include Google::Apis::Core::Hashable
9610
+
9611
+ # Optional. If true the user consents to the use of ML models for Abuse
9612
+ # detection.
9613
+ # Corresponds to the JSON property `mlRetrainingFeedbackEnabled`
9614
+ # @return [Boolean]
9615
+ attr_accessor :ml_retraining_feedback_enabled
9616
+ alias_method :ml_retraining_feedback_enabled?, :ml_retraining_feedback_enabled
9617
+
9618
+ # Identifier. Full resource name is always `organizations/`org`/securitySettings`
9619
+ # .
9620
+ # Corresponds to the JSON property `name`
9621
+ # @return [String]
9622
+ attr_accessor :name
9623
+
9624
+ def initialize(**args)
9625
+ update!(**args)
9626
+ end
9627
+
9628
+ # Update properties of this object
9629
+ def update!(**args)
9630
+ @ml_retraining_feedback_enabled = args[:ml_retraining_feedback_enabled] if args.key?(:ml_retraining_feedback_enabled)
9631
+ @name = args[:name] if args.key?(:name)
9632
+ end
9633
+ end
9634
+
9601
9635
  #
9602
9636
  class GoogleCloudApigeeV1ServiceIssuersMapping
9603
9637
  include Google::Apis::Core::Hashable
@@ -10638,21 +10672,43 @@ module Google
10638
10672
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
10639
10673
  # email address that represents a Google group. For example, `admins@example.com`
10640
10674
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
10641
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
10642
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
10643
- # representing a user that has been recently deleted. For example, `alice@
10644
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
10645
- # reverts to `user:`emailid`` and the recovered user retains the role in the
10646
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
10647
- # (plus unique identifier) representing a service account that has been recently
10648
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
10675
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
10676
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
10677
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
10678
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
10679
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
10680
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
10681
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
10682
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
10683
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
10684
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
10685
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
10686
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
10687
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
10688
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
10689
+ # googleapis.com/projects/`project_number`/locations/global/
10690
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
10691
+ # All identities in a workload identity pool with a certain attribute. * `
10692
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
10693
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
10694
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
10695
+ # identifier) representing a user that has been recently deleted. For example, `
10696
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
10697
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
10698
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
10699
+ # address (plus unique identifier) representing a service account that has been
10700
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
10649
10701
  # 123456789012345678901`. If the service account is undeleted, this value
10650
10702
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
10651
10703
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
10652
10704
  # An email address (plus unique identifier) representing a Google group that has
10653
10705
  # been recently deleted. For example, `admins@example.com?uid=
10654
10706
  # 123456789012345678901`. If the group is recovered, this value reverts to `
10655
- # group:`emailid`` and the recovered group retains the role in the binding.
10707
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
10708
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
10709
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
10710
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
10711
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
10656
10712
  # Corresponds to the JSON property `members`
10657
10713
  # @return [Array<String>]
10658
10714
  attr_accessor :members
@@ -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.80.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231130"
25
+ REVISION = "20240112"
26
26
  end
27
27
  end
28
28
  end
@@ -1426,6 +1426,12 @@ module Google
1426
1426
  include Google::Apis::Core::JsonObjectSupport
1427
1427
  end
1428
1428
 
1429
+ class GoogleCloudApigeeV1SecuritySettings
1430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1431
+
1432
+ include Google::Apis::Core::JsonObjectSupport
1433
+ end
1434
+
1429
1435
  class GoogleCloudApigeeV1ServiceIssuersMapping
1430
1436
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1437
 
@@ -4206,6 +4212,14 @@ module Google
4206
4212
  end
4207
4213
  end
4208
4214
 
4215
+ class GoogleCloudApigeeV1SecuritySettings
4216
+ # @private
4217
+ class Representation < Google::Apis::Core::JsonRepresentation
4218
+ property :ml_retraining_feedback_enabled, as: 'mlRetrainingFeedbackEnabled'
4219
+ property :name, as: 'name'
4220
+ end
4221
+ end
4222
+
4209
4223
  class GoogleCloudApigeeV1ServiceIssuersMapping
4210
4224
  # @private
4211
4225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -35,6 +35,8 @@ module Google
35
35
  #
36
36
  # @see https://cloud.google.com/apigee-api-management/
37
37
  class ApigeeService < Google::Apis::Core::BaseService
38
+ DEFAULT_ENDPOINT_TEMPLATE = "https://apigee.$UNIVERSE_DOMAIN$/"
39
+
38
40
  # @return [String]
39
41
  # API key. Your API key identifies your project and provides you with API access,
40
42
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -46,7 +48,7 @@ module Google
46
48
  attr_accessor :quota_user
47
49
 
48
50
  def initialize
49
- super('https://apigee.googleapis.com/', '',
51
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
50
52
  client_name: 'google-apis-apigee_v1',
51
53
  client_version: Google::Apis::ApigeeV1::GEM_VERSION)
52
54
  @batch_path = 'batch'
@@ -121,9 +123,14 @@ module Google
121
123
  end
122
124
 
123
125
  # 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.
126
+ # an immediate deletion is performed. For paid organizations (Subscription or
127
+ # Pay-as-you-go), a soft-deletion is performed. The organization can be restored
128
+ # within the soft-deletion period, which is specified using the `retention`
129
+ # field in the request or by filing a support ticket with Apigee. During the
130
+ # data retention period specified in the request, the Apigee organization cannot
131
+ # be recreated in the same Google Cloud project. **IMPORTANT: The default data
132
+ # retention setting for this operation is 7 days. To permanently delete the
133
+ # organization in 24 hours, set the retention parameter to `MINIMUM`.**
127
134
  # @param [String] name
128
135
  # Required. Name of the organization. Use the following structure in your
129
136
  # request: `organizations/`org``
@@ -133,7 +140,8 @@ module Google
133
140
  # Organization data will be retained after the initial delete operation
134
141
  # completes. During this period, the Organization may be restored to its last
135
142
  # known state. After this period, the Organization will no longer be able to be
136
- # restored.
143
+ # restored. **Note: During the data retention period specified using this field,
144
+ # the Apigee organization cannot be recreated in the same GCP project.**
137
145
  # @param [String] fields
138
146
  # Selector specifying which fields to include in a partial response.
139
147
  # @param [String] quota_user
@@ -292,6 +300,37 @@ module Google
292
300
  execute_or_queue_command(command, &block)
293
301
  end
294
302
 
303
+ # GetSecuritySettings gets the security settings for API Security.
304
+ # @param [String] name
305
+ # Required. The name of the SecuritySettings to retrieve. This will always be: '
306
+ # organizations/`org`/securitySettings'.
307
+ # @param [String] fields
308
+ # Selector specifying which fields to include in a partial response.
309
+ # @param [String] quota_user
310
+ # Available to use for quota purposes for server-side applications. Can be any
311
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
312
+ # @param [Google::Apis::RequestOptions] options
313
+ # Request-specific options
314
+ #
315
+ # @yield [result, err] Result & error if block supplied
316
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] parsed result object
317
+ # @yieldparam err [StandardError] error object if request failed
318
+ #
319
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings]
320
+ #
321
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
322
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
323
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
324
+ def get_organization_security_settings(name, fields: nil, quota_user: nil, options: nil, &block)
325
+ command = make_simple_command(:get, 'v1/{+name}', options)
326
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
327
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
328
+ command.params['name'] = name unless name.nil?
329
+ command.query['fields'] = fields unless fields.nil?
330
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
331
+ execute_or_queue_command(command, &block)
332
+ end
333
+
295
334
  # Lists the service accounts with the permissions required to allow the
296
335
  # Synchronizer to download environment data from the control plane. An ETag is
297
336
  # returned in the response to `getSyncAuthorization`. Pass that ETag when
@@ -478,6 +517,44 @@ module Google
478
517
  execute_or_queue_command(command, &block)
479
518
  end
480
519
 
520
+ # UpdateSecuritySettings updates the current security settings for API Security.
521
+ # @param [String] name
522
+ # Identifier. Full resource name is always `organizations/`org`/securitySettings`
523
+ # .
524
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] google_cloud_apigee_v1_security_settings_object
525
+ # @param [String] update_mask
526
+ # Optional. The list of fields to update. Allowed fields are: -
527
+ # ml_retraining_feedback_enabled
528
+ # @param [String] fields
529
+ # Selector specifying which fields to include in a partial response.
530
+ # @param [String] quota_user
531
+ # Available to use for quota purposes for server-side applications. Can be any
532
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
533
+ # @param [Google::Apis::RequestOptions] options
534
+ # Request-specific options
535
+ #
536
+ # @yield [result, err] Result & error if block supplied
537
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] parsed result object
538
+ # @yieldparam err [StandardError] error object if request failed
539
+ #
540
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings]
541
+ #
542
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
543
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
544
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
545
+ def update_organization_security_settings(name, google_cloud_apigee_v1_security_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
546
+ command = make_simple_command(:patch, 'v1/{+name}', options)
547
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
548
+ command.request_object = google_cloud_apigee_v1_security_settings_object
549
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
550
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
551
+ command.params['name'] = name unless name.nil?
552
+ command.query['updateMask'] = update_mask unless update_mask.nil?
553
+ command.query['fields'] = fields unless fields.nil?
554
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
555
+ execute_or_queue_command(command, &block)
556
+ end
557
+
481
558
  # Create a Datastore for an org
482
559
  # @param [String] parent
483
560
  # Required. The parent organization name. Must be of the form `organizations/`
@@ -1720,6 +1797,44 @@ module Google
1720
1797
  execute_or_queue_command(command, &block)
1721
1798
  end
1722
1799
 
1800
+ # Update key value entry scoped to an organization, environment, or API proxy
1801
+ # for an existing key.
1802
+ # @param [String] name
1803
+ # Required. Scope as indicated by the URI in which to create the key value map
1804
+ # entry. Use **one** of the following structures in your request: * `
1805
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
1806
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
1807
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
1808
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
1809
+ # @param [String] fields
1810
+ # Selector specifying which fields to include in a partial response.
1811
+ # @param [String] quota_user
1812
+ # Available to use for quota purposes for server-side applications. Can be any
1813
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1814
+ # @param [Google::Apis::RequestOptions] options
1815
+ # Request-specific options
1816
+ #
1817
+ # @yield [result, err] Result & error if block supplied
1818
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
1819
+ # @yieldparam err [StandardError] error object if request failed
1820
+ #
1821
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
1822
+ #
1823
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1824
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1825
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1826
+ def update_organization_api_keyvaluemap_entry(name, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1827
+ command = make_simple_command(:put, 'v1/{+name}', options)
1828
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1829
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
1830
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
1831
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
1832
+ command.params['name'] = name unless name.nil?
1833
+ command.query['fields'] = fields unless fields.nil?
1834
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1835
+ execute_or_queue_command(command, &block)
1836
+ end
1837
+
1723
1838
  # Deletes an API proxy revision and all policies, resources, endpoints, and
1724
1839
  # revisions associated with it. The API proxy revision must be undeployed before
1725
1840
  # you can delete it.
@@ -3642,8 +3757,8 @@ module Google
3642
3757
  # start out with status=approved, even if status=revoked is passed when the key
3643
3758
  # is created. To revoke a key, use the UpdateDeveloperAppKey API.
3644
3759
  # @param [String] parent
3645
- # Parent of the developer app key. Use the following structure in your request: `
3646
- # organizations/`org`/developers/`developer_email`/apps`
3760
+ # Parent of the developer app key. Use the following structure in your request: '
3761
+ # organizations/`org`/developers/`developerEmail`/apps/`appName`'
3647
3762
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
3648
3763
  # @param [String] fields
3649
3764
  # Selector specifying which fields to include in a partial response.
@@ -3914,8 +4029,8 @@ module Google
3914
4029
  # start out with status=approved, even if status=revoked is passed when the key
3915
4030
  # is created. To revoke a key, use the UpdateDeveloperAppKey API.
3916
4031
  # @param [String] parent
3917
- # Parent of the developer app key. Use the following structure in your request: `
3918
- # organizations/`org`/developers/`developer_email`/apps`
4032
+ # Parent of the developer app key. Use the following structure in your request: '
4033
+ # organizations/`org`/developers/`developerEmail`/apps/`appName`'
3919
4034
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
3920
4035
  # @param [String] fields
3921
4036
  # Selector specifying which fields to include in a partial response.
@@ -4440,8 +4555,8 @@ module Google
4440
4555
  # the following format: `organizations/`org``.
4441
4556
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
4442
4557
  # @param [String] name
4443
- # ID of the environment group. Overrides any ID in the environment_group
4444
- # resource.
4558
+ # Optional. ID of the environment group. Overrides any ID in the
4559
+ # environment_group resource.
4445
4560
  # @param [String] fields
4446
4561
  # Selector specifying which fields to include in a partial response.
4447
4562
  # @param [String] quota_user
@@ -4614,7 +4729,7 @@ module Google
4614
4729
  # organizations/`org`/envgroups/`envgroup`.
4615
4730
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
4616
4731
  # @param [String] update_mask
4617
- # List of fields to be updated.
4732
+ # Optional. List of fields to be updated.
4618
4733
  # @param [String] fields
4619
4734
  # Selector specifying which fields to include in a partial response.
4620
4735
  # @param [String] quota_user
@@ -7096,6 +7211,44 @@ module Google
7096
7211
  execute_or_queue_command(command, &block)
7097
7212
  end
7098
7213
 
7214
+ # Update key value entry scoped to an organization, environment, or API proxy
7215
+ # for an existing key.
7216
+ # @param [String] name
7217
+ # Required. Scope as indicated by the URI in which to create the key value map
7218
+ # entry. Use **one** of the following structures in your request: * `
7219
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
7220
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
7221
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
7222
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
7223
+ # @param [String] fields
7224
+ # Selector specifying which fields to include in a partial response.
7225
+ # @param [String] quota_user
7226
+ # Available to use for quota purposes for server-side applications. Can be any
7227
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7228
+ # @param [Google::Apis::RequestOptions] options
7229
+ # Request-specific options
7230
+ #
7231
+ # @yield [result, err] Result & error if block supplied
7232
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
7233
+ # @yieldparam err [StandardError] error object if request failed
7234
+ #
7235
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
7236
+ #
7237
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7238
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7239
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7240
+ def update_organization_environment_keyvaluemap_entry(name, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7241
+ command = make_simple_command(:put, 'v1/{+name}', options)
7242
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
7243
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
7244
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
7245
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
7246
+ command.params['name'] = name unless name.nil?
7247
+ command.query['fields'] = fields unless fields.nil?
7248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7249
+ execute_or_queue_command(command, &block)
7250
+ end
7251
+
7099
7252
  # Similar to GetStats except that the response is less verbose.
7100
7253
  # @param [String] name
7101
7254
  # Required. Resource name for which the interactive query will be executed. Use
@@ -10206,6 +10359,44 @@ module Google
10206
10359
  execute_or_queue_command(command, &block)
10207
10360
  end
10208
10361
 
10362
+ # Update key value entry scoped to an organization, environment, or API proxy
10363
+ # for an existing key.
10364
+ # @param [String] name
10365
+ # Required. Scope as indicated by the URI in which to create the key value map
10366
+ # entry. Use **one** of the following structures in your request: * `
10367
+ # organizations/`organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `
10368
+ # organizations/`organization`/environments/`environment`/keyvaluemaps/`
10369
+ # keyvaluemap`` * `organizations/`organization`/keyvaluemaps/`keyvaluemap``.
10370
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] google_cloud_apigee_v1_key_value_entry_object
10371
+ # @param [String] fields
10372
+ # Selector specifying which fields to include in a partial response.
10373
+ # @param [String] quota_user
10374
+ # Available to use for quota purposes for server-side applications. Can be any
10375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10376
+ # @param [Google::Apis::RequestOptions] options
10377
+ # Request-specific options
10378
+ #
10379
+ # @yield [result, err] Result & error if block supplied
10380
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry] parsed result object
10381
+ # @yieldparam err [StandardError] error object if request failed
10382
+ #
10383
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry]
10384
+ #
10385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10388
+ def update_organization_keyvaluemap_entry(name, google_cloud_apigee_v1_key_value_entry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
10389
+ command = make_simple_command(:put, 'v1/{+name}', options)
10390
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
10391
+ command.request_object = google_cloud_apigee_v1_key_value_entry_object
10392
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry::Representation
10393
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueEntry
10394
+ command.params['name'] = name unless name.nil?
10395
+ command.query['fields'] = fields unless fields.nil?
10396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10397
+ execute_or_queue_command(command, &block)
10398
+ end
10399
+
10209
10400
  # Gets the latest state of a long-running operation. Clients can use this method
10210
10401
  # to poll the operation result at intervals as recommended by the API service.
10211
10402
  # @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.80.0
4
+ version: 0.82.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: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.0
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.11.0
29
+ version: 0.12.0
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.80.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.82.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.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1