google-apis-apigee_v1 0.74.0 → 0.75.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: 593db79ef10131c31ff53cdae73b7fb7363231335a250041ee9dc13f5590a938
4
- data.tar.gz: 209b44cc690ea3d9340effd6c8ab7cb71f36ebb901b2a858d0c23715b755396a
3
+ metadata.gz: 36be2de79ba8dcd9a74a6978e734f7d2a4735827b8e42f4801c7ebc34d91580f
4
+ data.tar.gz: 4f899912871e0360026100e17a99d7d6a20d777d3356beca3ddb62640cfa5d54
5
5
  SHA512:
6
- metadata.gz: 6393c0db87e4a3686a353c0fe69fa654ddeb07554b48dd284d531d21c33ab7c4b53785ed40c9e6bca29fcb4227e65a72af21395e5c0968059f9ea45f7e76f0f6
7
- data.tar.gz: c69de9b8dce254ddec0cd25e3cc02ac3deaacda9fe29fd889ce5ef9d78c9b95c9ef43f9d45f6ee73216bd252a6312bf09f5718f35832373fbb40cf5d9b9b9b5d
6
+ metadata.gz: 78e6b2b933f410e73df06685ee1da05adf28121f5ed3ef6f3437d5434eb07c417e21ccb987bc486215c6f5c41e47d1ad15355fa73992ae018d7cc392ca186b63
7
+ data.tar.gz: 7bd77032171a762e93eacf3a13e1d6c5ab4cca5f8e4ad9fefba6c9bcd8face5ed0a9e2a26499a2b4abcdec3bfa4af5da88d2cfc2f6382aa18756ae8929ebb93c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.75.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230811
6
+
3
7
  ### v0.74.0 (2023-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20230721
@@ -6675,6 +6675,164 @@ module Google
6675
6675
  end
6676
6676
  end
6677
6677
 
6678
+ # ProfileConfig defines a set of categories and policies which will be used to
6679
+ # compute security score.
6680
+ class GoogleCloudApigeeV1ProfileConfig
6681
+ include Google::Apis::Core::Hashable
6682
+
6683
+ # List of categories of profile config.
6684
+ # Corresponds to the JSON property `categories`
6685
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCategory>]
6686
+ attr_accessor :categories
6687
+
6688
+ def initialize(**args)
6689
+ update!(**args)
6690
+ end
6691
+
6692
+ # Update properties of this object
6693
+ def update!(**args)
6694
+ @categories = args[:categories] if args.key?(:categories)
6695
+ end
6696
+ end
6697
+
6698
+ # Checks for abuse, which includes any requests sent to the API for purposes
6699
+ # other than what it is intended for, such as high volumes of requests, data
6700
+ # scraping, and abuse related to authorization.
6701
+ class GoogleCloudApigeeV1ProfileConfigAbuse
6702
+ include Google::Apis::Core::Hashable
6703
+
6704
+ def initialize(**args)
6705
+ update!(**args)
6706
+ end
6707
+
6708
+ # Update properties of this object
6709
+ def update!(**args)
6710
+ end
6711
+ end
6712
+
6713
+ # By default, following policies will be included: - JWS - JWT - OAuth -
6714
+ # BasicAuth - APIKey
6715
+ class GoogleCloudApigeeV1ProfileConfigAuthorization
6716
+ include Google::Apis::Core::Hashable
6717
+
6718
+ def initialize(**args)
6719
+ update!(**args)
6720
+ end
6721
+
6722
+ # Update properties of this object
6723
+ def update!(**args)
6724
+ end
6725
+ end
6726
+
6727
+ # Checks to see if you have CORS policy in place.
6728
+ class GoogleCloudApigeeV1ProfileConfigCors
6729
+ include Google::Apis::Core::Hashable
6730
+
6731
+ def initialize(**args)
6732
+ update!(**args)
6733
+ end
6734
+
6735
+ # Update properties of this object
6736
+ def update!(**args)
6737
+ end
6738
+ end
6739
+
6740
+ # Advanced API Security provides security profile that scores the following
6741
+ # categories.
6742
+ class GoogleCloudApigeeV1ProfileConfigCategory
6743
+ include Google::Apis::Core::Hashable
6744
+
6745
+ # Checks for abuse, which includes any requests sent to the API for purposes
6746
+ # other than what it is intended for, such as high volumes of requests, data
6747
+ # scraping, and abuse related to authorization.
6748
+ # Corresponds to the JSON property `abuse`
6749
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAbuse]
6750
+ attr_accessor :abuse
6751
+
6752
+ # By default, following policies will be included: - JWS - JWT - OAuth -
6753
+ # BasicAuth - APIKey
6754
+ # Corresponds to the JSON property `authorization`
6755
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAuthorization]
6756
+ attr_accessor :authorization
6757
+
6758
+ # Checks to see if you have CORS policy in place.
6759
+ # Corresponds to the JSON property `cors`
6760
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCors]
6761
+ attr_accessor :cors
6762
+
6763
+ # By default, following policies will be included: - OASValidation -
6764
+ # SOAPMessageValidation
6765
+ # Corresponds to the JSON property `mediation`
6766
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMediation]
6767
+ attr_accessor :mediation
6768
+
6769
+ # Checks to see if you have configured mTLS for the target server.
6770
+ # Corresponds to the JSON property `mtls`
6771
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMtls]
6772
+ attr_accessor :mtls
6773
+
6774
+ # By default, following policies will be included: - XMLThreatProtection -
6775
+ # JSONThreatProtection
6776
+ # Corresponds to the JSON property `threat`
6777
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigThreat]
6778
+ attr_accessor :threat
6779
+
6780
+ def initialize(**args)
6781
+ update!(**args)
6782
+ end
6783
+
6784
+ # Update properties of this object
6785
+ def update!(**args)
6786
+ @abuse = args[:abuse] if args.key?(:abuse)
6787
+ @authorization = args[:authorization] if args.key?(:authorization)
6788
+ @cors = args[:cors] if args.key?(:cors)
6789
+ @mediation = args[:mediation] if args.key?(:mediation)
6790
+ @mtls = args[:mtls] if args.key?(:mtls)
6791
+ @threat = args[:threat] if args.key?(:threat)
6792
+ end
6793
+ end
6794
+
6795
+ # Checks to see if you have configured mTLS for the target server.
6796
+ class GoogleCloudApigeeV1ProfileConfigMtls
6797
+ include Google::Apis::Core::Hashable
6798
+
6799
+ def initialize(**args)
6800
+ update!(**args)
6801
+ end
6802
+
6803
+ # Update properties of this object
6804
+ def update!(**args)
6805
+ end
6806
+ end
6807
+
6808
+ # By default, following policies will be included: - OASValidation -
6809
+ # SOAPMessageValidation
6810
+ class GoogleCloudApigeeV1ProfileConfigMediation
6811
+ include Google::Apis::Core::Hashable
6812
+
6813
+ def initialize(**args)
6814
+ update!(**args)
6815
+ end
6816
+
6817
+ # Update properties of this object
6818
+ def update!(**args)
6819
+ end
6820
+ end
6821
+
6822
+ # By default, following policies will be included: - XMLThreatProtection -
6823
+ # JSONThreatProtection
6824
+ class GoogleCloudApigeeV1ProfileConfigThreat
6825
+ include Google::Apis::Core::Hashable
6826
+
6827
+ def initialize(**args)
6828
+ update!(**args)
6829
+ end
6830
+
6831
+ # Update properties of this object
6832
+ def update!(**args)
6833
+ end
6834
+ end
6835
+
6678
6836
  # Message for compatibility with legacy Edge specification for Java Properties
6679
6837
  # object in JSON.
6680
6838
  class GoogleCloudApigeeV1Properties
@@ -8355,7 +8513,7 @@ module Google
8355
8513
  # @return [Array<String>]
8356
8514
  attr_accessor :detection_types
8357
8515
 
8358
- # Display name of the security incident.
8516
+ # Optional. Display name of the security incident.
8359
8517
  # Corresponds to the JSON property `displayName`
8360
8518
  # @return [String]
8361
8519
  attr_accessor :display_name
@@ -8440,6 +8598,12 @@ module Google
8440
8598
  # @return [String]
8441
8599
  attr_accessor :name
8442
8600
 
8601
+ # ProfileConfig defines a set of categories and policies which will be used to
8602
+ # compute security score.
8603
+ # Corresponds to the JSON property `profileConfig`
8604
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfig]
8605
+ attr_accessor :profile_config
8606
+
8443
8607
  # Output only. The time when revision was created.
8444
8608
  # Corresponds to the JSON property `revisionCreateTime`
8445
8609
  # @return [String]
@@ -8479,6 +8643,7 @@ module Google
8479
8643
  @max_score = args[:max_score] if args.key?(:max_score)
8480
8644
  @min_score = args[:min_score] if args.key?(:min_score)
8481
8645
  @name = args[:name] if args.key?(:name)
8646
+ @profile_config = args[:profile_config] if args.key?(:profile_config)
8482
8647
  @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
8483
8648
  @revision_id = args[:revision_id] if args.key?(:revision_id)
8484
8649
  @revision_publish_time = args[:revision_publish_time] if args.key?(:revision_publish_time)
@@ -9973,22 +10138,22 @@ module Google
9973
10138
  # evaluates to `true`. A condition can add constraints based on attributes of
9974
10139
  # the request, the resource, or both. To learn which resources support
9975
10140
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
9976
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
10141
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
9977
10142
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
9978
10143
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
9979
10144
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
9980
10145
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
9981
10146
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
9982
10147
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
9983
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
9984
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
9985
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
9986
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
9987
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
9988
- # access description: Does not grant access after Sep 2020 expression: request.
9989
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
9990
- # a description of IAM and its features, see the [IAM documentation](https://
9991
- # cloud.google.com/iam/docs/).
10148
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
10149
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
10150
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
10151
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
10152
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
10153
+ # title: expirable access description: Does not grant access after Sep 2020
10154
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
10155
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
10156
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
9992
10157
  class GoogleIamV1Policy
9993
10158
  include Google::Apis::Core::Hashable
9994
10159
 
@@ -10072,22 +10237,22 @@ module Google
10072
10237
  # evaluates to `true`. A condition can add constraints based on attributes of
10073
10238
  # the request, the resource, or both. To learn which resources support
10074
10239
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
10075
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
10240
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
10076
10241
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
10077
10242
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
10078
10243
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
10079
10244
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
10080
10245
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
10081
10246
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
10082
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
10083
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
10084
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
10085
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
10086
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
10087
- # access description: Does not grant access after Sep 2020 expression: request.
10088
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
10089
- # a description of IAM and its features, see the [IAM documentation](https://
10090
- # cloud.google.com/iam/docs/).
10247
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
10248
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
10249
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
10250
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
10251
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
10252
+ # title: expirable access description: Does not grant access after Sep 2020
10253
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
10254
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
10255
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
10091
10256
  # Corresponds to the JSON property `policy`
10092
10257
  # @return [Google::Apis::ApigeeV1::GoogleIamV1Policy]
10093
10258
  attr_accessor :policy
@@ -10212,13 +10377,13 @@ module Google
10212
10377
  # @return [String]
10213
10378
  attr_accessor :name
10214
10379
 
10215
- # The normal response of the operation in case of success. If the original
10216
- # method returns no data on success, such as `Delete`, the response is `google.
10217
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
10218
- # the response should be the resource. For other methods, the response should
10219
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
10220
- # example, if the original method name is `TakeSnapshot()`, the inferred
10221
- # response type is `TakeSnapshotResponse`.
10380
+ # The normal, successful response of the operation. If the original method
10381
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
10382
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
10383
+ # response should be the resource. For other methods, the response should have
10384
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
10385
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
10386
+ # `TakeSnapshotResponse`.
10222
10387
  # Corresponds to the JSON property `response`
10223
10388
  # @return [Hash<String,Object>]
10224
10389
  attr_accessor :response
@@ -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.74.0"
19
+ GEM_VERSION = "0.75.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 = "20230721"
25
+ REVISION = "20230811"
26
26
  end
27
27
  end
28
28
  end
@@ -982,6 +982,54 @@ module Google
982
982
  include Google::Apis::Core::JsonObjectSupport
983
983
  end
984
984
 
985
+ class GoogleCloudApigeeV1ProfileConfig
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class GoogleCloudApigeeV1ProfileConfigAbuse
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
997
+ class GoogleCloudApigeeV1ProfileConfigAuthorization
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
1003
+ class GoogleCloudApigeeV1ProfileConfigCors
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1009
+ class GoogleCloudApigeeV1ProfileConfigCategory
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class GoogleCloudApigeeV1ProfileConfigMtls
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class GoogleCloudApigeeV1ProfileConfigMediation
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1027
+ class GoogleCloudApigeeV1ProfileConfigThreat
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
985
1033
  class GoogleCloudApigeeV1Properties
986
1034
  class Representation < Google::Apis::Core::JsonRepresentation; end
987
1035
 
@@ -3261,6 +3309,68 @@ module Google
3261
3309
  end
3262
3310
  end
3263
3311
 
3312
+ class GoogleCloudApigeeV1ProfileConfig
3313
+ # @private
3314
+ class Representation < Google::Apis::Core::JsonRepresentation
3315
+ collection :categories, as: 'categories', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCategory, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCategory::Representation
3316
+
3317
+ end
3318
+ end
3319
+
3320
+ class GoogleCloudApigeeV1ProfileConfigAbuse
3321
+ # @private
3322
+ class Representation < Google::Apis::Core::JsonRepresentation
3323
+ end
3324
+ end
3325
+
3326
+ class GoogleCloudApigeeV1ProfileConfigAuthorization
3327
+ # @private
3328
+ class Representation < Google::Apis::Core::JsonRepresentation
3329
+ end
3330
+ end
3331
+
3332
+ class GoogleCloudApigeeV1ProfileConfigCors
3333
+ # @private
3334
+ class Representation < Google::Apis::Core::JsonRepresentation
3335
+ end
3336
+ end
3337
+
3338
+ class GoogleCloudApigeeV1ProfileConfigCategory
3339
+ # @private
3340
+ class Representation < Google::Apis::Core::JsonRepresentation
3341
+ property :abuse, as: 'abuse', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAbuse, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAbuse::Representation
3342
+
3343
+ property :authorization, as: 'authorization', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAuthorization, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigAuthorization::Representation
3344
+
3345
+ property :cors, as: 'cors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCors, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCors::Representation
3346
+
3347
+ property :mediation, as: 'mediation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMediation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMediation::Representation
3348
+
3349
+ property :mtls, as: 'mtls', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMtls, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigMtls::Representation
3350
+
3351
+ property :threat, as: 'threat', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigThreat, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigThreat::Representation
3352
+
3353
+ end
3354
+ end
3355
+
3356
+ class GoogleCloudApigeeV1ProfileConfigMtls
3357
+ # @private
3358
+ class Representation < Google::Apis::Core::JsonRepresentation
3359
+ end
3360
+ end
3361
+
3362
+ class GoogleCloudApigeeV1ProfileConfigMediation
3363
+ # @private
3364
+ class Representation < Google::Apis::Core::JsonRepresentation
3365
+ end
3366
+ end
3367
+
3368
+ class GoogleCloudApigeeV1ProfileConfigThreat
3369
+ # @private
3370
+ class Representation < Google::Apis::Core::JsonRepresentation
3371
+ end
3372
+ end
3373
+
3264
3374
  class GoogleCloudApigeeV1Properties
3265
3375
  # @private
3266
3376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3721,6 +3831,8 @@ module Google
3721
3831
  property :max_score, as: 'maxScore'
3722
3832
  property :min_score, as: 'minScore'
3723
3833
  property :name, as: 'name'
3834
+ property :profile_config, as: 'profileConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfig::Representation
3835
+
3724
3836
  property :revision_create_time, as: 'revisionCreateTime'
3725
3837
  property :revision_id, :numeric_string => true, as: 'revisionId'
3726
3838
  property :revision_publish_time, as: 'revisionPublishTime'
@@ -1870,12 +1870,7 @@ module Google
1870
1870
 
1871
1871
  # Creates an AppGroup. Once created, user can register apps under the AppGroup
1872
1872
  # to obtain secret key and password. At creation time, the AppGroup's state is
1873
- # set as `active`. The attribute `Attribute` with key `attribute_name` as `
1874
- # __apigee_reserved__developer_details` can be used to store developers and
1875
- # their roles. The JSON format expected is: [ ` "developer_id":"", "roles":[ "" ]
1876
- # ` ] and is dealt in base64encoded format. Etag will be available in attribute
1877
- # `Attribute` with key `attribute_name` as `
1878
- # __apigee_reserved__developer_details_etag` for that AppGroup.
1873
+ # set as `active`.
1879
1874
  # @param [String] parent
1880
1875
  # Required. Name of the Apigee organization in which the AppGroup is created.
1881
1876
  # Use the following structure in your request: `organizations/`org``.
@@ -1984,8 +1979,8 @@ module Google
1984
1979
  # request: `organizations/`org``.
1985
1980
  # @param [String] filter
1986
1981
  # The filter expression to be used to get the list of AppGroups, where filtering
1987
- # can be done on name, correlationID or channelID of the app group. Example:
1988
- # filter = "name = foobar"
1982
+ # can be done on status, channelId or channelUri of the app group. Examples:
1983
+ # filter=status=active", filter=channelId=, filter=channelUri=
1989
1984
  # @param [Fixnum] page_size
1990
1985
  # Count of AppGroups a single page can have in the response. If unspecified, at
1991
1986
  # most 1000 AppGroups will be returned. The maximum value is 1000; values above
@@ -2025,14 +2020,13 @@ module Google
2025
2020
  # Updates an appGroup. This API replaces the existing appGroup details with
2026
2021
  # those specified in the request. Include or exclude any existing details that
2027
2022
  # you want to retain or delete, respectively. Note that the state of the
2028
- # AppGroup should be updated using `action`, and not via AppGroup. The custom
2029
- # attribute limit is 1000, and is how `__apigee_reserved__developer_details` can
2030
- # be updated. **Note**: OAuth access tokens and Key Management Service (KMS)
2031
- # entities (apps, developers, and API products) are cached for 180 seconds (
2032
- # current default). Any custom attributes associated with these entities are
2033
- # cached for at least 180 seconds after the entity is accessed at runtime.
2034
- # Therefore, an `ExpiresIn` element on the OAuthV2 policy won't be able to
2035
- # expire an access token in less than 180 seconds.
2023
+ # AppGroup should be updated using `action`, and not via AppGroup. **Note**:
2024
+ # OAuth access tokens and Key Management Service (KMS) entities (apps,
2025
+ # developers, and API products) are cached for 180 seconds (current default).
2026
+ # Any custom attributes associated with these entities are cached for at least
2027
+ # 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn`
2028
+ # element on the OAuthV2 policy won't be able to expire an access token in less
2029
+ # than 180 seconds.
2036
2030
  # @param [String] name
2037
2031
  # Required. Name of the AppGroup. Use the following structure in your request: `
2038
2032
  # organizations/`org`/appgroups/`app_group_name``
@@ -2530,9 +2524,9 @@ module Google
2530
2524
  # @param [String] filter
2531
2525
  # Optional. The filter expression to be used to get the list of apps, where
2532
2526
  # filtering can be done on developerEmail, apiProduct, consumerKey, status,
2533
- # appId, appName and appType. Examples: "developerEmail=foo@bar.com", "appType=
2534
- # AppGroup", or "appType=Developer" "filter" is supported from ver 1.10.0 and
2535
- # above.
2527
+ # appId, appName, appType and appGroup. Examples: "developerEmail=foo@bar.com", "
2528
+ # appType=AppGroup", or "appType=Developer" "filter" is supported from ver 1.10.
2529
+ # 0 and above.
2536
2530
  # @param [String] ids
2537
2531
  # Optional. Comma-separated list of app IDs on which to filter.
2538
2532
  # @param [Boolean] include_cred
@@ -7673,11 +7667,11 @@ module Google
7673
7667
  # filtering can be done on API Proxies. Example: filter = "api_proxy = /", "
7674
7668
  # first_detected_time >", "last_detected_time <"
7675
7669
  # @param [Fixnum] page_size
7676
- # The maximum number of incidents to return. The service may return fewer than
7677
- # this value. If unspecified, at most 50 incidents will be returned.
7670
+ # Optional. The maximum number of incidents to return. The service may return
7671
+ # fewer than this value. If unspecified, at most 50 incidents will be returned.
7678
7672
  # @param [String] page_token
7679
- # A page token, received from a previous `ListSecurityIncident` call. Provide
7680
- # this to retrieve the subsequent page.
7673
+ # Optional. A page token, received from a previous `ListSecurityIncident` call.
7674
+ # Provide this to retrieve the subsequent page.
7681
7675
  # @param [String] fields
7682
7676
  # Selector specifying which fields to include in a partial response.
7683
7677
  # @param [String] quota_user
@@ -10145,6 +10139,75 @@ module Google
10145
10139
  execute_or_queue_command(command, &block)
10146
10140
  end
10147
10141
 
10142
+ # CreateSecurityProfile create a new custom security profile.
10143
+ # @param [String] parent
10144
+ # Required. Name of organization. Format: organizations/`org`
10145
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] google_cloud_apigee_v1_security_profile_object
10146
+ # @param [String] security_profile_id
10147
+ # Required. The ID to use for the SecurityProfile, which will become the final
10148
+ # component of the action's resource name. This value should be 4-63 characters,
10149
+ # and valid characters are /(^[a-z]([a-z0-9-]`​0,61`[a-z0-9])?$/.
10150
+ # @param [String] fields
10151
+ # Selector specifying which fields to include in a partial response.
10152
+ # @param [String] quota_user
10153
+ # Available to use for quota purposes for server-side applications. Can be any
10154
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10155
+ # @param [Google::Apis::RequestOptions] options
10156
+ # Request-specific options
10157
+ #
10158
+ # @yield [result, err] Result & error if block supplied
10159
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] parsed result object
10160
+ # @yieldparam err [StandardError] error object if request failed
10161
+ #
10162
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile]
10163
+ #
10164
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10165
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10166
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10167
+ def create_organization_security_profile(parent, google_cloud_apigee_v1_security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
10168
+ command = make_simple_command(:post, 'v1/{+parent}/securityProfiles', options)
10169
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile::Representation
10170
+ command.request_object = google_cloud_apigee_v1_security_profile_object
10171
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile::Representation
10172
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile
10173
+ command.params['parent'] = parent unless parent.nil?
10174
+ command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil?
10175
+ command.query['fields'] = fields unless fields.nil?
10176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10177
+ execute_or_queue_command(command, &block)
10178
+ end
10179
+
10180
+ # DeleteSecurityProfile delete a profile with all its revisions.
10181
+ # @param [String] name
10182
+ # Required. Name of profile. Format: organizations/`org`/securityProfiles/`
10183
+ # profile`
10184
+ # @param [String] fields
10185
+ # Selector specifying which fields to include in a partial response.
10186
+ # @param [String] quota_user
10187
+ # Available to use for quota purposes for server-side applications. Can be any
10188
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10189
+ # @param [Google::Apis::RequestOptions] options
10190
+ # Request-specific options
10191
+ #
10192
+ # @yield [result, err] Result & error if block supplied
10193
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
10194
+ # @yieldparam err [StandardError] error object if request failed
10195
+ #
10196
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
10197
+ #
10198
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10199
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10200
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10201
+ def delete_organization_security_profile(name, fields: nil, quota_user: nil, options: nil, &block)
10202
+ command = make_simple_command(:delete, 'v1/{+name}', options)
10203
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
10204
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
10205
+ command.params['name'] = name unless name.nil?
10206
+ command.query['fields'] = fields unless fields.nil?
10207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10208
+ execute_or_queue_command(command, &block)
10209
+ end
10210
+
10148
10211
  # GetSecurityProfile gets the specified security profile. Returns NOT_FOUND if
10149
10212
  # security profile is not present for the specified organization.
10150
10213
  # @param [String] name
@@ -10258,6 +10321,43 @@ module Google
10258
10321
  execute_or_queue_command(command, &block)
10259
10322
  end
10260
10323
 
10324
+ # UpdateSecurityProfile update the metadata of security profile.
10325
+ # @param [String] name
10326
+ # Immutable. Name of the security profile resource. Format: organizations/`org`/
10327
+ # securityProfiles/`profile`
10328
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] google_cloud_apigee_v1_security_profile_object
10329
+ # @param [String] update_mask
10330
+ # Required. The list of fields to update.
10331
+ # @param [String] fields
10332
+ # Selector specifying which fields to include in a partial response.
10333
+ # @param [String] quota_user
10334
+ # Available to use for quota purposes for server-side applications. Can be any
10335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10336
+ # @param [Google::Apis::RequestOptions] options
10337
+ # Request-specific options
10338
+ #
10339
+ # @yield [result, err] Result & error if block supplied
10340
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] parsed result object
10341
+ # @yieldparam err [StandardError] error object if request failed
10342
+ #
10343
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile]
10344
+ #
10345
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10346
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10347
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10348
+ def patch_organization_security_profile(name, google_cloud_apigee_v1_security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
10349
+ command = make_simple_command(:patch, 'v1/{+name}', options)
10350
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile::Representation
10351
+ command.request_object = google_cloud_apigee_v1_security_profile_object
10352
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile::Representation
10353
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile
10354
+ command.params['name'] = name unless name.nil?
10355
+ command.query['updateMask'] = update_mask unless update_mask.nil?
10356
+ command.query['fields'] = fields unless fields.nil?
10357
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10358
+ execute_or_queue_command(command, &block)
10359
+ end
10360
+
10261
10361
  # ComputeEnvironmentScores calculates scores for requested time range for the
10262
10362
  # specified security profile and environment.
10263
10363
  # @param [String] profile_environment
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.74.0
4
+ version: 0.75.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-08-06 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.75.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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1