google-apis-apigee_v1 0.79.0 → 0.80.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: 1630b5d03fa930642e78e6d23e1f796bd5a51fde323e538719eeaea525c95448
4
+ data.tar.gz: 8aa34c9272456c794c8e4f8e665d41cbc04983e0fa09c61579298a6d6845bd07
5
5
  SHA512:
6
- metadata.gz: 63b7fe097715473135dd90e1dfbcbe8c9ef37ef93d33f89831ed28953c79ea3f697dbff9a840aea4dd4a2d256db68b42fc7913afd97b45ee866d2136d73e0f06
7
- data.tar.gz: 89cf447a714124e43403dac8cf60c1c095fb23d69ad82f7238e1fd497238ec78f95fee9552f3656b4fa13b8e941ef1b84897a8820b53b4ea067c139d0d048964
6
+ metadata.gz: 6c718a34a3c2a71626b9d9a102865dbbd1717d4e67663220d4b74fc03a5c676c8a22d92bcc95ea6a26b42ef2816515703d46bd8deafb5a4436b7058a0d0b96c3
7
+ data.tar.gz: 69afb172770b5163054dc5d27368f35b79fb352b67c0a464629afd7e93a5904c69255db91cbd9714a6a47415e11222a6cf1025fef98c12f93169fa30eb227919
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.80.0 (2023-12-03)
4
+
5
+ * Regenerated from discovery document revision 20231130
6
+
3
7
  ### v0.79.0 (2023-11-19)
4
8
 
5
9
  * 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
@@ -8975,6 +9014,11 @@ module Google
8975
9014
  # @return [String]
8976
9015
  attr_accessor :last_detected_time
8977
9016
 
9017
+ # Output only. The time when the incident observability was last changed.
9018
+ # Corresponds to the JSON property `lastObservabilityChangeTime`
9019
+ # @return [String]
9020
+ attr_accessor :last_observability_change_time
9021
+
8978
9022
  # Immutable. Name of the security incident resource. Format: organizations/`org`/
8979
9023
  # environments/`environment`/securityIncidents/`incident` Example: organizations/
8980
9024
  # apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
@@ -8982,6 +9026,11 @@ module Google
8982
9026
  # @return [String]
8983
9027
  attr_accessor :name
8984
9028
 
9029
+ # Optional. Indicates if the user archived this incident.
9030
+ # Corresponds to the JSON property `observability`
9031
+ # @return [String]
9032
+ attr_accessor :observability
9033
+
8985
9034
  # Output only. Risk level of the incident.
8986
9035
  # Corresponds to the JSON property `riskLevel`
8987
9036
  # @return [String]
@@ -9002,7 +9051,9 @@ module Google
9002
9051
  @display_name = args[:display_name] if args.key?(:display_name)
9003
9052
  @first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
9004
9053
  @last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
9054
+ @last_observability_change_time = args[:last_observability_change_time] if args.key?(:last_observability_change_time)
9005
9055
  @name = args[:name] if args.key?(:name)
9056
+ @observability = args[:observability] if args.key?(:observability)
9006
9057
  @risk_level = args[:risk_level] if args.key?(:risk_level)
9007
9058
  @traffic_count = args[:traffic_count] if args.key?(:traffic_count)
9008
9059
  end
@@ -9017,7 +9068,7 @@ module Google
9017
9068
  # @return [String]
9018
9069
  attr_accessor :description
9019
9070
 
9020
- # Display name of the security profile.
9071
+ # DEPRECATED: DO NOT USE Display name of the security profile.
9021
9072
  # Corresponds to the JSON property `displayName`
9022
9073
  # @return [String]
9023
9074
  attr_accessor :display_name
@@ -9059,9 +9110,9 @@ module Google
9059
9110
  # @return [Fixnum]
9060
9111
  attr_accessor :revision_id
9061
9112
 
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.
9113
+ # Output only. DEPRECATED: DO NOT USE The time when revision was published. Once
9114
+ # published, the security profile revision cannot be updated further and can be
9115
+ # attached to environments.
9065
9116
  # Corresponds to the JSON property `revisionPublishTime`
9066
9117
  # @return [String]
9067
9118
  attr_accessor :revision_publish_time
@@ -9137,7 +9188,7 @@ module Google
9137
9188
  # @return [String]
9138
9189
  attr_accessor :name
9139
9190
 
9140
- # Revision ID of the security profile.
9191
+ # DEPRECATED: DO NOT USE Revision ID of the security profile.
9141
9192
  # Corresponds to the JSON property `securityProfileRevisionId`
9142
9193
  # @return [Fixnum]
9143
9194
  attr_accessor :security_profile_revision_id
@@ -10451,6 +10502,32 @@ module Google
10451
10502
  end
10452
10503
  end
10453
10504
 
10505
+ # Request for UpdateSecurityIncident.
10506
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
10507
+ include Google::Apis::Core::Hashable
10508
+
10509
+ # Represents an SecurityIncident resource.
10510
+ # Corresponds to the JSON property `securityIncident`
10511
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident]
10512
+ attr_accessor :security_incident
10513
+
10514
+ # Required. The list of fields to update. Allowed fields are: LINT.IfChange(
10515
+ # allowed_update_fields_comment) - observability LINT.ThenChange()
10516
+ # Corresponds to the JSON property `updateMask`
10517
+ # @return [String]
10518
+ attr_accessor :update_mask
10519
+
10520
+ def initialize(**args)
10521
+ update!(**args)
10522
+ end
10523
+
10524
+ # Update properties of this object
10525
+ def update!(**args)
10526
+ @security_incident = args[:security_incident] if args.key?(:security_incident)
10527
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
10528
+ end
10529
+ end
10530
+
10454
10531
  # Specifies the audit configuration for a service. The configuration determines
10455
10532
  # which permission types are logged, and what identities, if any, are exempted
10456
10533
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -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.80.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 = "20231130"
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
 
@@ -1546,6 +1558,12 @@ module Google
1546
1558
  include Google::Apis::Core::JsonObjectSupport
1547
1559
  end
1548
1560
 
1561
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1549
1567
  class GoogleIamV1AuditConfig
1550
1568
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1569
 
@@ -2051,6 +2069,22 @@ module Google
2051
2069
  end
2052
2070
  end
2053
2071
 
2072
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest
2073
+ # @private
2074
+ class Representation < Google::Apis::Core::JsonRepresentation
2075
+ collection :requests, as: 'requests', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateSecurityIncidentRequest, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateSecurityIncidentRequest::Representation
2076
+
2077
+ end
2078
+ end
2079
+
2080
+ class GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
2081
+ # @private
2082
+ class Representation < Google::Apis::Core::JsonRepresentation
2083
+ collection :security_incidents, as: 'securityIncidents', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
2084
+
2085
+ end
2086
+ end
2087
+
2054
2088
  class GoogleCloudApigeeV1CanaryEvaluation
2055
2089
  # @private
2056
2090
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4035,7 +4069,9 @@ module Google
4035
4069
  property :display_name, as: 'displayName'
4036
4070
  property :first_detected_time, as: 'firstDetectedTime'
4037
4071
  property :last_detected_time, as: 'lastDetectedTime'
4072
+ property :last_observability_change_time, as: 'lastObservabilityChangeTime'
4038
4073
  property :name, as: 'name'
4074
+ property :observability, as: 'observability'
4039
4075
  property :risk_level, as: 'riskLevel'
4040
4076
  property :traffic_count, :numeric_string => true, as: 'trafficCount'
4041
4077
  end
@@ -4408,6 +4444,15 @@ module Google
4408
4444
  end
4409
4445
  end
4410
4446
 
4447
+ class GoogleCloudApigeeV1UpdateSecurityIncidentRequest
4448
+ # @private
4449
+ class Representation < Google::Apis::Core::JsonRepresentation
4450
+ property :security_incident, as: 'securityIncident', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
4451
+
4452
+ property :update_mask, as: 'updateMask'
4453
+ end
4454
+ end
4455
+
4411
4456
  class GoogleIamV1AuditConfig
4412
4457
  # @private
4413
4458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7943,6 +7943,41 @@ module Google
7943
7943
  execute_or_queue_command(command, &block)
7944
7944
  end
7945
7945
 
7946
+ # BatchUpdateSecurityIncident updates multiple existing security incidents.
7947
+ # @param [String] parent
7948
+ # Optional. The parent resource shared by all security incidents being updated.
7949
+ # If this is set, the parent field in the UpdateSecurityIncidentRequest messages
7950
+ # must either be empty or match this field.
7951
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest] google_cloud_apigee_v1_batch_update_security_incidents_request_object
7952
+ # @param [String] fields
7953
+ # Selector specifying which fields to include in a partial response.
7954
+ # @param [String] quota_user
7955
+ # Available to use for quota purposes for server-side applications. Can be any
7956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7957
+ # @param [Google::Apis::RequestOptions] options
7958
+ # Request-specific options
7959
+ #
7960
+ # @yield [result, err] Result & error if block supplied
7961
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse] parsed result object
7962
+ # @yieldparam err [StandardError] error object if request failed
7963
+ #
7964
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse]
7965
+ #
7966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7969
+ 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)
7970
+ command = make_simple_command(:post, 'v1/{+parent}/securityIncidents:batchUpdate', options)
7971
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsRequest::Representation
7972
+ command.request_object = google_cloud_apigee_v1_batch_update_security_incidents_request_object
7973
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse::Representation
7974
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchUpdateSecurityIncidentsResponse
7975
+ command.params['parent'] = parent unless parent.nil?
7976
+ command.query['fields'] = fields unless fields.nil?
7977
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7978
+ execute_or_queue_command(command, &block)
7979
+ end
7980
+
7946
7981
  # GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if
7947
7982
  # security incident is not present for the specified organization and
7948
7983
  # environment.
@@ -8022,6 +8057,45 @@ module Google
8022
8057
  execute_or_queue_command(command, &block)
8023
8058
  end
8024
8059
 
8060
+ # UpdateSecurityIncidents updates an existing security incident.
8061
+ # @param [String] name
8062
+ # Immutable. Name of the security incident resource. Format: organizations/`org`/
8063
+ # environments/`environment`/securityIncidents/`incident` Example: organizations/
8064
+ # apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
8065
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident] google_cloud_apigee_v1_security_incident_object
8066
+ # @param [String] update_mask
8067
+ # Required. The list of fields to update. Allowed fields are: LINT.IfChange(
8068
+ # allowed_update_fields_comment) - observability LINT.ThenChange()
8069
+ # @param [String] fields
8070
+ # Selector specifying which fields to include in a partial response.
8071
+ # @param [String] quota_user
8072
+ # Available to use for quota purposes for server-side applications. Can be any
8073
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8074
+ # @param [Google::Apis::RequestOptions] options
8075
+ # Request-specific options
8076
+ #
8077
+ # @yield [result, err] Result & error if block supplied
8078
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident] parsed result object
8079
+ # @yieldparam err [StandardError] error object if request failed
8080
+ #
8081
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident]
8082
+ #
8083
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8084
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8085
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8086
+ 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)
8087
+ command = make_simple_command(:patch, 'v1/{+name}', options)
8088
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
8089
+ command.request_object = google_cloud_apigee_v1_security_incident_object
8090
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
8091
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident
8092
+ command.params['name'] = name unless name.nil?
8093
+ command.query['updateMask'] = update_mask unless update_mask.nil?
8094
+ command.query['fields'] = fields unless fields.nil?
8095
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8096
+ execute_or_queue_command(command, &block)
8097
+ end
8098
+
8025
8099
  # Submit a report request to be processed in the background. If the submission
8026
8100
  # succeeds, the API returns a 200 status and an ID that refer to the report
8027
8101
  # 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.80.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-03 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.80.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: []