google-apis-apigee_v1 0.80.0 → 0.81.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4790c0c3341a0588c7e84ea5508b8c5dd78dedd48b431ee69a21aeded6e6472
|
4
|
+
data.tar.gz: 89c0caa683b91229c89cd37935a1ba1bf096c7201e742db8636b37fc3d8f4b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5df84d872bd4e175384563abc023ae879999c28842cf3a7171c74a4bde1357a8767ecb302c04392bbcca5d60a964fe3e2032d2a8c39e38fb4df4d8e0163f859
|
7
|
+
data.tar.gz: 0cfb74c9e77e7faba8e585ac8395bbcfbf3d3821de2ae882600921bd563cacd5b85e81fa1da82ac1a850f939e851ea37f764091cf44d3f04c7c52981b400c2e2
|
data/CHANGELOG.md
CHANGED
@@ -3767,7 +3767,8 @@ module Google
|
|
3767
3767
|
|
3768
3768
|
# Optional. Url 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 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.
|
3771
3772
|
# Corresponds to the JSON property `forwardProxyUri`
|
3772
3773
|
# @return [String]
|
3773
3774
|
attr_accessor :forward_proxy_uri
|
@@ -9598,6 +9599,34 @@ module Google
|
|
9598
9599
|
end
|
9599
9600
|
end
|
9600
9601
|
|
9602
|
+
# SecuritySettings reflects the current state of the SecuritySettings feature.
|
9603
|
+
class GoogleCloudApigeeV1SecuritySettings
|
9604
|
+
include Google::Apis::Core::Hashable
|
9605
|
+
|
9606
|
+
# Optional. If true the user consents to the use of ML models for Abuse
|
9607
|
+
# detection.
|
9608
|
+
# Corresponds to the JSON property `mlRetrainingFeedbackEnabled`
|
9609
|
+
# @return [Boolean]
|
9610
|
+
attr_accessor :ml_retraining_feedback_enabled
|
9611
|
+
alias_method :ml_retraining_feedback_enabled?, :ml_retraining_feedback_enabled
|
9612
|
+
|
9613
|
+
# Identifier. Full resource name is always `organizations/`org`/securitySettings`
|
9614
|
+
# .
|
9615
|
+
# Corresponds to the JSON property `name`
|
9616
|
+
# @return [String]
|
9617
|
+
attr_accessor :name
|
9618
|
+
|
9619
|
+
def initialize(**args)
|
9620
|
+
update!(**args)
|
9621
|
+
end
|
9622
|
+
|
9623
|
+
# Update properties of this object
|
9624
|
+
def update!(**args)
|
9625
|
+
@ml_retraining_feedback_enabled = args[:ml_retraining_feedback_enabled] if args.key?(:ml_retraining_feedback_enabled)
|
9626
|
+
@name = args[:name] if args.key?(:name)
|
9627
|
+
end
|
9628
|
+
end
|
9629
|
+
|
9601
9630
|
#
|
9602
9631
|
class GoogleCloudApigeeV1ServiceIssuersMapping
|
9603
9632
|
include Google::Apis::Core::Hashable
|
@@ -10638,21 +10667,43 @@ module Google
|
|
10638
10667
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
10639
10668
|
# email address that represents a Google group. For example, `admins@example.com`
|
10640
10669
|
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
10641
|
-
# users of that domain. For example, `google.com` or `example.com`. * `
|
10642
|
-
#
|
10643
|
-
#
|
10644
|
-
#
|
10645
|
-
#
|
10646
|
-
#
|
10647
|
-
#
|
10648
|
-
#
|
10670
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
10671
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
10672
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
10673
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
10674
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
10675
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
10676
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
10677
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
10678
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
10679
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
10680
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
10681
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
10682
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
10683
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
10684
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
10685
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
10686
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
10687
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
10688
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
10689
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
10690
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
10691
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
10692
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
10693
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
10694
|
+
# address (plus unique identifier) representing a service account that has been
|
10695
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
10649
10696
|
# 123456789012345678901`. If the service account is undeleted, this value
|
10650
10697
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
10651
10698
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
10652
10699
|
# An email address (plus unique identifier) representing a Google group that has
|
10653
10700
|
# been recently deleted. For example, `admins@example.com?uid=
|
10654
10701
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
10655
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
10702
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
10703
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
10704
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
10705
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
10706
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
10656
10707
|
# Corresponds to the JSON property `members`
|
10657
10708
|
# @return [Array<String>]
|
10658
10709
|
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.
|
19
|
+
GEM_VERSION = "0.81.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231219"
|
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
|
@@ -292,6 +292,37 @@ module Google
|
|
292
292
|
execute_or_queue_command(command, &block)
|
293
293
|
end
|
294
294
|
|
295
|
+
# GetSecuritySettings gets the security settings for API Security.
|
296
|
+
# @param [String] name
|
297
|
+
# Required. The name of the SecuritySettings to retrieve. This will always be: '
|
298
|
+
# organizations/`org`/securitySettings'.
|
299
|
+
# @param [String] fields
|
300
|
+
# Selector specifying which fields to include in a partial response.
|
301
|
+
# @param [String] quota_user
|
302
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
303
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
304
|
+
# @param [Google::Apis::RequestOptions] options
|
305
|
+
# Request-specific options
|
306
|
+
#
|
307
|
+
# @yield [result, err] Result & error if block supplied
|
308
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] parsed result object
|
309
|
+
# @yieldparam err [StandardError] error object if request failed
|
310
|
+
#
|
311
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings]
|
312
|
+
#
|
313
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
314
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
315
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
316
|
+
def get_organization_security_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
317
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
318
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
|
319
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
|
320
|
+
command.params['name'] = name unless name.nil?
|
321
|
+
command.query['fields'] = fields unless fields.nil?
|
322
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
323
|
+
execute_or_queue_command(command, &block)
|
324
|
+
end
|
325
|
+
|
295
326
|
# Lists the service accounts with the permissions required to allow the
|
296
327
|
# Synchronizer to download environment data from the control plane. An ETag is
|
297
328
|
# returned in the response to `getSyncAuthorization`. Pass that ETag when
|
@@ -478,6 +509,44 @@ module Google
|
|
478
509
|
execute_or_queue_command(command, &block)
|
479
510
|
end
|
480
511
|
|
512
|
+
# UpdateSecuritySettings updates the current security settings for API Security.
|
513
|
+
# @param [String] name
|
514
|
+
# Identifier. Full resource name is always `organizations/`org`/securitySettings`
|
515
|
+
# .
|
516
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] google_cloud_apigee_v1_security_settings_object
|
517
|
+
# @param [String] update_mask
|
518
|
+
# Optional. The list of fields to update. Allowed fields are: -
|
519
|
+
# ml_retraining_feedback_enabled
|
520
|
+
# @param [String] fields
|
521
|
+
# Selector specifying which fields to include in a partial response.
|
522
|
+
# @param [String] quota_user
|
523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
525
|
+
# @param [Google::Apis::RequestOptions] options
|
526
|
+
# Request-specific options
|
527
|
+
#
|
528
|
+
# @yield [result, err] Result & error if block supplied
|
529
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings] parsed result object
|
530
|
+
# @yieldparam err [StandardError] error object if request failed
|
531
|
+
#
|
532
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings]
|
533
|
+
#
|
534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
537
|
+
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)
|
538
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
539
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
|
540
|
+
command.request_object = google_cloud_apigee_v1_security_settings_object
|
541
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings::Representation
|
542
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecuritySettings
|
543
|
+
command.params['name'] = name unless name.nil?
|
544
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
545
|
+
command.query['fields'] = fields unless fields.nil?
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
|
+
execute_or_queue_command(command, &block)
|
548
|
+
end
|
549
|
+
|
481
550
|
# Create a Datastore for an org
|
482
551
|
# @param [String] parent
|
483
552
|
# Required. The parent organization name. Must be of the form `organizations/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.81.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-
|
11
|
+
date: 2023-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.81.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: []
|