google-apis-apigee_v1 0.79.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: e809d723e204b2a01873abe91ef7612805c46b6bf88497c5866aa8420689378d
4
- data.tar.gz: fbb35553e730b3a2e9e2ac36240072f159b91fd5f9a24809b9c26d863567aa7c
3
+ metadata.gz: a4790c0c3341a0588c7e84ea5508b8c5dd78dedd48b431ee69a21aeded6e6472
4
+ data.tar.gz: 89c0caa683b91229c89cd37935a1ba1bf096c7201e742db8636b37fc3d8f4b41
5
5
  SHA512:
6
- metadata.gz: 63b7fe097715473135dd90e1dfbcbe8c9ef37ef93d33f89831ed28953c79ea3f697dbff9a840aea4dd4a2d256db68b42fc7913afd97b45ee866d2136d73e0f06
7
- data.tar.gz: 89cf447a714124e43403dac8cf60c1c095fb23d69ad82f7238e1fd497238ec78f95fee9552f3656b4fa13b8e941ef1b84897a8820b53b4ea067c139d0d048964
6
+ metadata.gz: f5df84d872bd4e175384563abc023ae879999c28842cf3a7171c74a4bde1357a8767ecb302c04392bbcca5d60a964fe3e2032d2a8c39e38fb4df4d8e0163f859
7
+ data.tar.gz: 0cfb74c9e77e7faba8e585ac8395bbcfbf3d3821de2ae882600921bd563cacd5b85e81fa1da82ac1a850f939e851ea37f764091cf44d3f04c7c52981b400c2e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.81.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231219
6
+
7
+ ### v0.80.0 (2023-12-03)
8
+
9
+ * Regenerated from discovery document revision 20231130
10
+
3
11
  ### v0.79.0 (2023-11-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20231114
@@ -1696,6 +1696,45 @@ module Google
1696
1696
  end
1697
1697
  end
1698
1698
 
1699
+ # Request for BatchUpdateSecurityIncident.
1700
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
1701
+ include Google::Apis::Core::Hashable
1702
+
1703
+ # Optional. Required. The request message specifying the resources to update. A
1704
+ # maximum of 1000 can be modified in a batch.
1705
+ # Corresponds to the JSON property `requests`
1706
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateSecurityIncidentRequest>]
1707
+ attr_accessor :requests
1708
+
1709
+ def initialize(**args)
1710
+ update!(**args)
1711
+ end
1712
+
1713
+ # Update properties of this object
1714
+ def update!(**args)
1715
+ @requests = args[:requests] if args.key?(:requests)
1716
+ end
1717
+ end
1718
+
1719
+ # Response for BatchUpdateSecurityIncident.
1720
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
1721
+ include Google::Apis::Core::Hashable
1722
+
1723
+ # Output only. Updated security incidents
1724
+ # Corresponds to the JSON property `securityIncidents`
1725
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident>]
1726
+ attr_accessor :security_incidents
1727
+
1728
+ def initialize(**args)
1729
+ update!(**args)
1730
+ end
1731
+
1732
+ # Update properties of this object
1733
+ def update!(**args)
1734
+ @security_incidents = args[:security_incidents] if args.key?(:security_incidents)
1735
+ end
1736
+ end
1737
+
1699
1738
  # CanaryEvaluation represents the canary analysis between two versions of the
1700
1739
  # runtime that is serving requests.
1701
1740
  class GoogleCloudApigeeV1CanaryEvaluation
@@ -3728,7 +3767,8 @@ module Google
3728
3767
 
3729
3768
  # Optional. Url of the forward proxy to be applied to the runtime instances in
3730
3769
  # this environment. Must be in the format of `scheme`://`hostname`:`port`. Note
3731
- # 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.
3732
3772
  # Corresponds to the JSON property `forwardProxyUri`
3733
3773
  # @return [String]
3734
3774
  attr_accessor :forward_proxy_uri
@@ -8975,6 +9015,11 @@ module Google
8975
9015
  # @return [String]
8976
9016
  attr_accessor :last_detected_time
8977
9017
 
9018
+ # Output only. The time when the incident observability was last changed.
9019
+ # Corresponds to the JSON property `lastObservabilityChangeTime`
9020
+ # @return [String]
9021
+ attr_accessor :last_observability_change_time
9022
+
8978
9023
  # Immutable. Name of the security incident resource. Format: organizations/`org`/
8979
9024
  # environments/`environment`/securityIncidents/`incident` Example: organizations/
8980
9025
  # apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
@@ -8982,6 +9027,11 @@ module Google
8982
9027
  # @return [String]
8983
9028
  attr_accessor :name
8984
9029
 
9030
+ # Optional. Indicates if the user archived this incident.
9031
+ # Corresponds to the JSON property `observability`
9032
+ # @return [String]
9033
+ attr_accessor :observability
9034
+
8985
9035
  # Output only. Risk level of the incident.
8986
9036
  # Corresponds to the JSON property `riskLevel`
8987
9037
  # @return [String]
@@ -9002,7 +9052,9 @@ module Google
9002
9052
  @display_name = args[:display_name] if args.key?(:display_name)
9003
9053
  @first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
9004
9054
  @last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
9055
+ @last_observability_change_time = args[:last_observability_change_time] if args.key?(:last_observability_change_time)
9005
9056
  @name = args[:name] if args.key?(:name)
9057
+ @observability = args[:observability] if args.key?(:observability)
9006
9058
  @risk_level = args[:risk_level] if args.key?(:risk_level)
9007
9059
  @traffic_count = args[:traffic_count] if args.key?(:traffic_count)
9008
9060
  end
@@ -9017,7 +9069,7 @@ module Google
9017
9069
  # @return [String]
9018
9070
  attr_accessor :description
9019
9071
 
9020
- # Display name of the security profile.
9072
+ # DEPRECATED: DO NOT USE Display name of the security profile.
9021
9073
  # Corresponds to the JSON property `displayName`
9022
9074
  # @return [String]
9023
9075
  attr_accessor :display_name
@@ -9059,9 +9111,9 @@ module Google
9059
9111
  # @return [Fixnum]
9060
9112
  attr_accessor :revision_id
9061
9113
 
9062
- # Output only. The time when revision was published. Once published, the
9063
- # security profile revision cannot be updated further and can be attached to
9064
- # environments.
9114
+ # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once
9115
+ # published, the security profile revision cannot be updated further and can be
9116
+ # attached to environments.
9065
9117
  # Corresponds to the JSON property `revisionPublishTime`
9066
9118
  # @return [String]
9067
9119
  attr_accessor :revision_publish_time
@@ -9137,7 +9189,7 @@ module Google
9137
9189
  # @return [String]
9138
9190
  attr_accessor :name
9139
9191
 
9140
- # Revision ID of the security profile.
9192
+ # DEPRECATED: DO NOT USE Revision ID of the security profile.
9141
9193
  # Corresponds to the JSON property `securityProfileRevisionId`
9142
9194
  # @return [Fixnum]
9143
9195
  attr_accessor :security_profile_revision_id
@@ -9547,6 +9599,34 @@ module Google
9547
9599
  end
9548
9600
  end
9549
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
+
9550
9630
  #
9551
9631
  class GoogleCloudApigeeV1ServiceIssuersMapping
9552
9632
  include Google::Apis::Core::Hashable
@@ -10451,6 +10531,32 @@ module Google
10451
10531
  end
10452
10532
  end
10453
10533
 
10534
+ # Request for UpdateSecurityIncident.
10535
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
10536
+ include Google::Apis::Core::Hashable
10537
+
10538
+ # Represents an SecurityIncident resource.
10539
+ # Corresponds to the JSON property `securityIncident`
10540
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident]
10541
+ attr_accessor :security_incident
10542
+
10543
+ # Required. The list of fields to update. Allowed fields are: LINT.IfChange(
10544
+ # allowed_update_fields_comment) - observability LINT.ThenChange()
10545
+ # Corresponds to the JSON property `updateMask`
10546
+ # @return [String]
10547
+ attr_accessor :update_mask
10548
+
10549
+ def initialize(**args)
10550
+ update!(**args)
10551
+ end
10552
+
10553
+ # Update properties of this object
10554
+ def update!(**args)
10555
+ @security_incident = args[:security_incident] if args.key?(:security_incident)
10556
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
10557
+ end
10558
+ end
10559
+
10454
10560
  # Specifies the audit configuration for a service. The configuration determines
10455
10561
  # which permission types are logged, and what identities, if any, are exempted
10456
10562
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -10561,21 +10667,43 @@ module Google
10561
10667
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
10562
10668
  # email address that represents a Google group. For example, `admins@example.com`
10563
10669
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
10564
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
10565
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
10566
- # representing a user that has been recently deleted. For example, `alice@
10567
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
10568
- # reverts to `user:`emailid`` and the recovered user retains the role in the
10569
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
10570
- # (plus unique identifier) representing a service account that has been recently
10571
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
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=
10572
10696
  # 123456789012345678901`. If the service account is undeleted, this value
10573
10697
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
10574
10698
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
10575
10699
  # An email address (plus unique identifier) representing a Google group that has
10576
10700
  # been recently deleted. For example, `admins@example.com?uid=
10577
10701
  # 123456789012345678901`. If the group is recovered, this value reverts to `
10578
- # 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`.
10579
10707
  # Corresponds to the JSON property `members`
10580
10708
  # @return [Array<String>]
10581
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.79.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 = "20231114"
25
+ REVISION = "20231219"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class GoogleCloudApigeeV1CanaryEvaluation
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -1414,6 +1426,12 @@ module Google
1414
1426
  include Google::Apis::Core::JsonObjectSupport
1415
1427
  end
1416
1428
 
1429
+ class GoogleCloudApigeeV1SecuritySettings
1430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1431
+
1432
+ include Google::Apis::Core::JsonObjectSupport
1433
+ end
1434
+
1417
1435
  class GoogleCloudApigeeV1ServiceIssuersMapping
1418
1436
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1437
 
@@ -1546,6 +1564,12 @@ module Google
1546
1564
  include Google::Apis::Core::JsonObjectSupport
1547
1565
  end
1548
1566
 
1567
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
1568
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1569
+
1570
+ include Google::Apis::Core::JsonObjectSupport
1571
+ end
1572
+
1549
1573
  class GoogleIamV1AuditConfig
1550
1574
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1575
 
@@ -2051,6 +2075,22 @@ module Google
2051
2075
  end
2052
2076
  end
2053
2077
 
2078
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
2079
+ # @private
2080
+ class Representation < Google::Apis::Core::JsonRepresentation
2081
+ collection :requests, as: 'requests', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateSecurityIncidentRequest, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateSecurityIncidentRequest::Representation
2082
+
2083
+ end
2084
+ end
2085
+
2086
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
2087
+ # @private
2088
+ class Representation < Google::Apis::Core::JsonRepresentation
2089
+ collection :security_incidents, as: 'securityIncidents', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
2090
+
2091
+ end
2092
+ end
2093
+
2054
2094
  class GoogleCloudApigeeV1CanaryEvaluation
2055
2095
  # @private
2056
2096
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4035,7 +4075,9 @@ module Google
4035
4075
  property :display_name, as: 'displayName'
4036
4076
  property :first_detected_time, as: 'firstDetectedTime'
4037
4077
  property :last_detected_time, as: 'lastDetectedTime'
4078
+ property :last_observability_change_time, as: 'lastObservabilityChangeTime'
4038
4079
  property :name, as: 'name'
4080
+ property :observability, as: 'observability'
4039
4081
  property :risk_level, as: 'riskLevel'
4040
4082
  property :traffic_count, :numeric_string => true, as: 'trafficCount'
4041
4083
  end
@@ -4170,6 +4212,14 @@ module Google
4170
4212
  end
4171
4213
  end
4172
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
+
4173
4223
  class GoogleCloudApigeeV1ServiceIssuersMapping
4174
4224
  # @private
4175
4225
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4408,6 +4458,15 @@ module Google
4408
4458
  end
4409
4459
  end
4410
4460
 
4461
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
4462
+ # @private
4463
+ class Representation < Google::Apis::Core::JsonRepresentation
4464
+ property :security_incident, as: 'securityIncident', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
4465
+
4466
+ property :update_mask, as: 'updateMask'
4467
+ end
4468
+ end
4469
+
4411
4470
  class GoogleIamV1AuditConfig
4412
4471
  # @private
4413
4472
  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/`
@@ -7943,6 +8012,41 @@ module Google
7943
8012
  execute_or_queue_command(command, &block)
7944
8013
  end
7945
8014
 
8015
+ # BatchUpdateSecurityIncident updates multiple existing security incidents.
8016
+ # @param [String] parent
8017
+ # Optional. The parent resource shared by all security incidents being updated.
8018
+ # If this is set, the parent field in the UpdateSecurityIncidentRequest messages
8019
+ # must either be empty or match this field.
8020
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest] google_cloud_apigee_v1_batch_update_security_incidents_request_object
8021
+ # @param [String] fields
8022
+ # Selector specifying which fields to include in a partial response.
8023
+ # @param [String] quota_user
8024
+ # Available to use for quota purposes for server-side applications. Can be any
8025
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8026
+ # @param [Google::Apis::RequestOptions] options
8027
+ # Request-specific options
8028
+ #
8029
+ # @yield [result, err] Result & error if block supplied
8030
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse] parsed result object
8031
+ # @yieldparam err [StandardError] error object if request failed
8032
+ #
8033
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse]
8034
+ #
8035
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8036
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8037
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8038
+ def batch_organization_environment_security_incident_update(parent, google_cloud_apigee_v1_batch_update_security_incidents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8039
+ command = make_simple_command(:post, 'v1/{+parent}/securityIncidents:batchUpdate', options)
8040
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest::Representation
8041
+ command.request_object = google_cloud_apigee_v1_batch_update_security_incidents_request_object
8042
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse::Representation
8043
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
8044
+ command.params['parent'] = parent unless parent.nil?
8045
+ command.query['fields'] = fields unless fields.nil?
8046
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8047
+ execute_or_queue_command(command, &block)
8048
+ end
8049
+
7946
8050
  # GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if
7947
8051
  # security incident is not present for the specified organization and
7948
8052
  # environment.
@@ -8022,6 +8126,45 @@ module Google
8022
8126
  execute_or_queue_command(command, &block)
8023
8127
  end
8024
8128
 
8129
+ # UpdateSecurityIncidents updates an existing security incident.
8130
+ # @param [String] name
8131
+ # Immutable. Name of the security incident resource. Format: organizations/`org`/
8132
+ # environments/`environment`/securityIncidents/`incident` Example: organizations/
8133
+ # apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
8134
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident] google_cloud_apigee_v1_security_incident_object
8135
+ # @param [String] update_mask
8136
+ # Required. The list of fields to update. Allowed fields are: LINT.IfChange(
8137
+ # allowed_update_fields_comment) - observability LINT.ThenChange()
8138
+ # @param [String] fields
8139
+ # Selector specifying which fields to include in a partial response.
8140
+ # @param [String] quota_user
8141
+ # Available to use for quota purposes for server-side applications. Can be any
8142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8143
+ # @param [Google::Apis::RequestOptions] options
8144
+ # Request-specific options
8145
+ #
8146
+ # @yield [result, err] Result & error if block supplied
8147
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident] parsed result object
8148
+ # @yieldparam err [StandardError] error object if request failed
8149
+ #
8150
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident]
8151
+ #
8152
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8153
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8154
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8155
+ def patch_organization_environment_security_incident(name, google_cloud_apigee_v1_security_incident_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
8156
+ command = make_simple_command(:patch, 'v1/{+name}', options)
8157
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
8158
+ command.request_object = google_cloud_apigee_v1_security_incident_object
8159
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
8160
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident
8161
+ command.params['name'] = name unless name.nil?
8162
+ command.query['updateMask'] = update_mask unless update_mask.nil?
8163
+ command.query['fields'] = fields unless fields.nil?
8164
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8165
+ execute_or_queue_command(command, &block)
8166
+ end
8167
+
8025
8168
  # Submit a report request to be processed in the background. If the submission
8026
8169
  # succeeds, the API returns a 200 status and an ID that refer to the report
8027
8170
  # request. In addition to the HTTP status 200, the `state` of "enqueued" means
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.79.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-11-19 00:00:00.000000000 Z
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.79.0
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: []