google-apis-apigee_v1 0.81.0 → 0.82.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: a4790c0c3341a0588c7e84ea5508b8c5dd78dedd48b431ee69a21aeded6e6472
4
- data.tar.gz: 89c0caa683b91229c89cd37935a1ba1bf096c7201e742db8636b37fc3d8f4b41
3
+ metadata.gz: eb79cd4784465fb32aed5f2ffd6d9f80b286c2a4d7c181157d002218a70e47e3
4
+ data.tar.gz: d06f9d74d73114327360b1fb63f35067d93ea3dfca44baccfdd1ee7301ecff41
5
5
  SHA512:
6
- metadata.gz: f5df84d872bd4e175384563abc023ae879999c28842cf3a7171c74a4bde1357a8767ecb302c04392bbcca5d60a964fe3e2032d2a8c39e38fb4df4d8e0163f859
7
- data.tar.gz: 0cfb74c9e77e7faba8e585ac8395bbcfbf3d3821de2ae882600921bd563cacd5b85e81fa1da82ac1a850f939e851ea37f764091cf44d3f04c7c52981b400c2e2
6
+ metadata.gz: da470f7d9eefb2e78c2042b2a54b222c916c88869cfde23fd804cca5a9dca83c31443c6cb85bb40712cf1de581650b74be7a8984eecc047301bb228db8a2e860
7
+ data.tar.gz: a8152df98aa7ccbac690f0b2a6496bd6ce51f858a0bc6984d42e749a33261a8ae53ba1764e83989d13bc96fd0ed4616ba1cf6b1bae619f9c483206a0d1109c9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.81.0 (2023-12-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20231219
@@ -3765,10 +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. To
3771
- # remove a forward proxy setting, update the field to an empty value.
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.
3772
3776
  # Corresponds to the JSON property `forwardProxyUri`
3773
3777
  # @return [String]
3774
3778
  attr_accessor :forward_proxy_uri
@@ -8765,7 +8769,7 @@ module Google
8765
8769
  # conditions elements are ANDed. For example if a SecurityAction has the
8766
8770
  # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8767
8771
  # this is interpreted as: enforce the action if the incoming request has ((
8768
- # 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")).
8769
8773
  # Corresponds to the JSON property `conditionConfig`
8770
8774
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionConditionConfig]
8771
8775
  attr_accessor :condition_config
@@ -8859,13 +8863,14 @@ module Google
8859
8863
  # conditions elements are ANDed. For example if a SecurityAction has the
8860
8864
  # following: api_keys: ["key1", "key2"] and developers: ["dev1", "dev2"] then
8861
8865
  # this is interpreted as: enforce the action if the incoming request has ((
8862
- # 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")).
8863
8867
  class GoogleCloudApigeeV1SecurityActionConditionConfig
8864
8868
  include Google::Apis::Core::Hashable
8865
8869
 
8866
8870
  # Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor,
8867
8871
  # Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced
8868
- # 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.
8869
8874
  # Corresponds to the JSON property `botReasons`
8870
8875
  # @return [Array<String>]
8871
8876
  attr_accessor :bot_reasons
@@ -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.81.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 = "20231219"
25
+ REVISION = "20240112"
26
26
  end
27
27
  end
28
28
  end
@@ -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
@@ -1789,6 +1797,44 @@ module Google
1789
1797
  execute_or_queue_command(command, &block)
1790
1798
  end
1791
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
+
1792
1838
  # Deletes an API proxy revision and all policies, resources, endpoints, and
1793
1839
  # revisions associated with it. The API proxy revision must be undeployed before
1794
1840
  # you can delete it.
@@ -3711,8 +3757,8 @@ module Google
3711
3757
  # start out with status=approved, even if status=revoked is passed when the key
3712
3758
  # is created. To revoke a key, use the UpdateDeveloperAppKey API.
3713
3759
  # @param [String] parent
3714
- # Parent of the developer app key. Use the following structure in your request: `
3715
- # 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`'
3716
3762
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
3717
3763
  # @param [String] fields
3718
3764
  # Selector specifying which fields to include in a partial response.
@@ -3983,8 +4029,8 @@ module Google
3983
4029
  # start out with status=approved, even if status=revoked is passed when the key
3984
4030
  # is created. To revoke a key, use the UpdateDeveloperAppKey API.
3985
4031
  # @param [String] parent
3986
- # Parent of the developer app key. Use the following structure in your request: `
3987
- # 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`'
3988
4034
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperAppKey] google_cloud_apigee_v1_developer_app_key_object
3989
4035
  # @param [String] fields
3990
4036
  # Selector specifying which fields to include in a partial response.
@@ -4509,8 +4555,8 @@ module Google
4509
4555
  # the following format: `organizations/`org``.
4510
4556
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
4511
4557
  # @param [String] name
4512
- # ID of the environment group. Overrides any ID in the environment_group
4513
- # resource.
4558
+ # Optional. ID of the environment group. Overrides any ID in the
4559
+ # environment_group resource.
4514
4560
  # @param [String] fields
4515
4561
  # Selector specifying which fields to include in a partial response.
4516
4562
  # @param [String] quota_user
@@ -4683,7 +4729,7 @@ module Google
4683
4729
  # organizations/`org`/envgroups/`envgroup`.
4684
4730
  # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup] google_cloud_apigee_v1_environment_group_object
4685
4731
  # @param [String] update_mask
4686
- # List of fields to be updated.
4732
+ # Optional. List of fields to be updated.
4687
4733
  # @param [String] fields
4688
4734
  # Selector specifying which fields to include in a partial response.
4689
4735
  # @param [String] quota_user
@@ -7165,6 +7211,44 @@ module Google
7165
7211
  execute_or_queue_command(command, &block)
7166
7212
  end
7167
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
+
7168
7252
  # Similar to GetStats except that the response is less verbose.
7169
7253
  # @param [String] name
7170
7254
  # Required. Resource name for which the interactive query will be executed. Use
@@ -10275,6 +10359,44 @@ module Google
10275
10359
  execute_or_queue_command(command, &block)
10276
10360
  end
10277
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
+
10278
10400
  # Gets the latest state of a long-running operation. Clients can use this method
10279
10401
  # to poll the operation result at intervals as recommended by the API service.
10280
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.81.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-24 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.81.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