google-apis-apigee_v1 0.64.0 → 0.66.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf73847f9cb6947572eb42f4b8da3c5e8dda535214e3471f760874a28671977b
|
4
|
+
data.tar.gz: 594f0a5b935d4721d82178b2514003c490bb04b3b86b4b4b2d5e6714c7d81083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 046bf3dad22d9d040556f89f49b97abda854f9e6e0f2af6f283315108312b7ba3843c8856e800c5ccb507bda1350b08ff294ff875c9419687d24f7c3ca377875
|
7
|
+
data.tar.gz: 24bb0fdf00cb35225e4400582b9a06ade5820f206e5737e71db3db3ab0e0bfca045da5f43ec2ac77ed0746c0be4af84437127d69e5e8c08efe314311ae8a505c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.66.0 (2023-03-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230312
|
6
|
+
|
7
|
+
### v0.65.0 (2023-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230303
|
10
|
+
|
3
11
|
### v0.64.0 (2023-02-26)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -2728,6 +2728,11 @@ module Google
|
|
2728
2728
|
class GoogleCloudApigeeV1DeploymentGroupConfig
|
2729
2729
|
include Google::Apis::Core::Hashable
|
2730
2730
|
|
2731
|
+
# Type of the deployment group, which will be either Standard or Extensible.
|
2732
|
+
# Corresponds to the JSON property `deploymentGroupType`
|
2733
|
+
# @return [String]
|
2734
|
+
attr_accessor :deployment_group_type
|
2735
|
+
|
2731
2736
|
# Name of the deployment group in the following format: `organizations/`org`/
|
2732
2737
|
# environments/`env`/deploymentGroups/`group``.
|
2733
2738
|
# Corresponds to the JSON property `name`
|
@@ -2752,6 +2757,7 @@ module Google
|
|
2752
2757
|
|
2753
2758
|
# Update properties of this object
|
2754
2759
|
def update!(**args)
|
2760
|
+
@deployment_group_type = args[:deployment_group_type] if args.key?(:deployment_group_type)
|
2755
2761
|
@name = args[:name] if args.key?(:name)
|
2756
2762
|
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
2757
2763
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -5205,6 +5211,32 @@ module Google
|
|
5205
5211
|
end
|
5206
5212
|
end
|
5207
5213
|
|
5214
|
+
# Response for ListSecurityIncidents.
|
5215
|
+
class GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
5216
|
+
include Google::Apis::Core::Hashable
|
5217
|
+
|
5218
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
5219
|
+
# field is omitted, there are no subsequent pages.
|
5220
|
+
# Corresponds to the JSON property `nextPageToken`
|
5221
|
+
# @return [String]
|
5222
|
+
attr_accessor :next_page_token
|
5223
|
+
|
5224
|
+
# List of security incidents in the organization
|
5225
|
+
# Corresponds to the JSON property `securityIncidents`
|
5226
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident>]
|
5227
|
+
attr_accessor :security_incidents
|
5228
|
+
|
5229
|
+
def initialize(**args)
|
5230
|
+
update!(**args)
|
5231
|
+
end
|
5232
|
+
|
5233
|
+
# Update properties of this object
|
5234
|
+
def update!(**args)
|
5235
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5236
|
+
@security_incidents = args[:security_incidents] if args.key?(:security_incidents)
|
5237
|
+
end
|
5238
|
+
end
|
5239
|
+
|
5208
5240
|
# Response for ListSecurityProfileRevisions.
|
5209
5241
|
class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
|
5210
5242
|
include Google::Apis::Core::Hashable
|
@@ -7758,6 +7790,66 @@ module Google
|
|
7758
7790
|
end
|
7759
7791
|
end
|
7760
7792
|
|
7793
|
+
# Represents an SecurityIncident resource.
|
7794
|
+
class GoogleCloudApigeeV1SecurityIncident
|
7795
|
+
include Google::Apis::Core::Hashable
|
7796
|
+
|
7797
|
+
# Output only. Detection types which are part of the incident. Examples: Flooder,
|
7798
|
+
# OAuth Abuser, Static Content Scraper, Anomaly Detection.
|
7799
|
+
# Corresponds to the JSON property `detectionTypes`
|
7800
|
+
# @return [Array<String>]
|
7801
|
+
attr_accessor :detection_types
|
7802
|
+
|
7803
|
+
# Display name of the security incident.
|
7804
|
+
# Corresponds to the JSON property `displayName`
|
7805
|
+
# @return [String]
|
7806
|
+
attr_accessor :display_name
|
7807
|
+
|
7808
|
+
# Output only. The time when events associated with the incident were first
|
7809
|
+
# detected.
|
7810
|
+
# Corresponds to the JSON property `firstDetectedTime`
|
7811
|
+
# @return [String]
|
7812
|
+
attr_accessor :first_detected_time
|
7813
|
+
|
7814
|
+
# Output only. The time when events associated with the incident were last
|
7815
|
+
# detected.
|
7816
|
+
# Corresponds to the JSON property `lastDetectedTime`
|
7817
|
+
# @return [String]
|
7818
|
+
attr_accessor :last_detected_time
|
7819
|
+
|
7820
|
+
# Immutable. Name of the security incident resource. Format: organizations/`org`/
|
7821
|
+
# environments/`environment`/securityIncidents/`incident` Example: organizations/
|
7822
|
+
# apigee-org/environments/dev/securityIncidents/1234-5678-9101-1111
|
7823
|
+
# Corresponds to the JSON property `name`
|
7824
|
+
# @return [String]
|
7825
|
+
attr_accessor :name
|
7826
|
+
|
7827
|
+
# Output only. Risk level of the incident.
|
7828
|
+
# Corresponds to the JSON property `riskLevel`
|
7829
|
+
# @return [String]
|
7830
|
+
attr_accessor :risk_level
|
7831
|
+
|
7832
|
+
# Total traffic detected as part of the incident.
|
7833
|
+
# Corresponds to the JSON property `trafficCount`
|
7834
|
+
# @return [Fixnum]
|
7835
|
+
attr_accessor :traffic_count
|
7836
|
+
|
7837
|
+
def initialize(**args)
|
7838
|
+
update!(**args)
|
7839
|
+
end
|
7840
|
+
|
7841
|
+
# Update properties of this object
|
7842
|
+
def update!(**args)
|
7843
|
+
@detection_types = args[:detection_types] if args.key?(:detection_types)
|
7844
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7845
|
+
@first_detected_time = args[:first_detected_time] if args.key?(:first_detected_time)
|
7846
|
+
@last_detected_time = args[:last_detected_time] if args.key?(:last_detected_time)
|
7847
|
+
@name = args[:name] if args.key?(:name)
|
7848
|
+
@risk_level = args[:risk_level] if args.key?(:risk_level)
|
7849
|
+
@traffic_count = args[:traffic_count] if args.key?(:traffic_count)
|
7850
|
+
end
|
7851
|
+
end
|
7852
|
+
|
7761
7853
|
# Represents a SecurityProfile resource.
|
7762
7854
|
class GoogleCloudApigeeV1SecurityProfile
|
7763
7855
|
include Google::Apis::Core::Hashable
|
@@ -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.66.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 = "20230312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -790,6 +790,12 @@ module Google
|
|
790
790
|
include Google::Apis::Core::JsonObjectSupport
|
791
791
|
end
|
792
792
|
|
793
|
+
class GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
793
799
|
class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
|
794
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
801
|
|
@@ -1162,6 +1168,12 @@ module Google
|
|
1162
1168
|
include Google::Apis::Core::JsonObjectSupport
|
1163
1169
|
end
|
1164
1170
|
|
1171
|
+
class GoogleCloudApigeeV1SecurityIncident
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1173
|
+
|
1174
|
+
include Google::Apis::Core::JsonObjectSupport
|
1175
|
+
end
|
1176
|
+
|
1165
1177
|
class GoogleCloudApigeeV1SecurityProfile
|
1166
1178
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1167
1179
|
|
@@ -2122,6 +2134,7 @@ module Google
|
|
2122
2134
|
class GoogleCloudApigeeV1DeploymentGroupConfig
|
2123
2135
|
# @private
|
2124
2136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2137
|
+
property :deployment_group_type, as: 'deploymentGroupType'
|
2125
2138
|
property :name, as: 'name'
|
2126
2139
|
property :revision_id, :numeric_string => true, as: 'revisionId'
|
2127
2140
|
property :uid, as: 'uid'
|
@@ -2828,6 +2841,15 @@ module Google
|
|
2828
2841
|
end
|
2829
2842
|
end
|
2830
2843
|
|
2844
|
+
class GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
2845
|
+
# @private
|
2846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2847
|
+
property :next_page_token, as: 'nextPageToken'
|
2848
|
+
collection :security_incidents, as: 'securityIncidents', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
|
2849
|
+
|
2850
|
+
end
|
2851
|
+
end
|
2852
|
+
|
2831
2853
|
class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
|
2832
2854
|
# @private
|
2833
2855
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3502,6 +3524,19 @@ module Google
|
|
3502
3524
|
end
|
3503
3525
|
end
|
3504
3526
|
|
3527
|
+
class GoogleCloudApigeeV1SecurityIncident
|
3528
|
+
# @private
|
3529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3530
|
+
collection :detection_types, as: 'detectionTypes'
|
3531
|
+
property :display_name, as: 'displayName'
|
3532
|
+
property :first_detected_time, as: 'firstDetectedTime'
|
3533
|
+
property :last_detected_time, as: 'lastDetectedTime'
|
3534
|
+
property :name, as: 'name'
|
3535
|
+
property :risk_level, as: 'riskLevel'
|
3536
|
+
property :traffic_count, :numeric_string => true, as: 'trafficCount'
|
3537
|
+
end
|
3538
|
+
end
|
3539
|
+
|
3505
3540
|
class GoogleCloudApigeeV1SecurityProfile
|
3506
3541
|
# @private
|
3507
3542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6993,6 +6993,85 @@ module Google
|
|
6993
6993
|
execute_or_queue_command(command, &block)
|
6994
6994
|
end
|
6995
6995
|
|
6996
|
+
# GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if
|
6997
|
+
# security incident is not present for the specified organization and
|
6998
|
+
# environment.
|
6999
|
+
# @param [String] name
|
7000
|
+
# Required. Security incident in the following format: `organizations/`org`/
|
7001
|
+
# environments/`environment`/securityIncidents/`incident`'. Example:
|
7002
|
+
# organizations/testOrg/environments/testEnv/securityIncidents/1234-4567-890-111
|
7003
|
+
# @param [String] fields
|
7004
|
+
# Selector specifying which fields to include in a partial response.
|
7005
|
+
# @param [String] quota_user
|
7006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7008
|
+
# @param [Google::Apis::RequestOptions] options
|
7009
|
+
# Request-specific options
|
7010
|
+
#
|
7011
|
+
# @yield [result, err] Result & error if block supplied
|
7012
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident] parsed result object
|
7013
|
+
# @yieldparam err [StandardError] error object if request failed
|
7014
|
+
#
|
7015
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident]
|
7016
|
+
#
|
7017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7020
|
+
def get_organization_environment_security_incident(name, fields: nil, quota_user: nil, options: nil, &block)
|
7021
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7022
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident::Representation
|
7023
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityIncident
|
7024
|
+
command.params['name'] = name unless name.nil?
|
7025
|
+
command.query['fields'] = fields unless fields.nil?
|
7026
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7027
|
+
execute_or_queue_command(command, &block)
|
7028
|
+
end
|
7029
|
+
|
7030
|
+
# ListSecurityIncidents lists all the security incident associated with the
|
7031
|
+
# environment.
|
7032
|
+
# @param [String] parent
|
7033
|
+
# Required. For a specific organization, list of all the security incidents.
|
7034
|
+
# Format: `organizations/`org`/environments/`environment``
|
7035
|
+
# @param [String] filter
|
7036
|
+
# The filter expression to be used to get the list of security incidents, where
|
7037
|
+
# filtering can be done on API Proxies. Example: filter = "api_proxy = /", "
|
7038
|
+
# first_detected_time >", "last_detected_time <"
|
7039
|
+
# @param [Fixnum] page_size
|
7040
|
+
# The maximum number of incidents to return. The service may return fewer than
|
7041
|
+
# this value. If unspecified, at most 50 incidents will be returned.
|
7042
|
+
# @param [String] page_token
|
7043
|
+
# A page token, received from a previous `ListSecurityIncident` call. Provide
|
7044
|
+
# this to retrieve the subsequent page.
|
7045
|
+
# @param [String] fields
|
7046
|
+
# Selector specifying which fields to include in a partial response.
|
7047
|
+
# @param [String] quota_user
|
7048
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7049
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7050
|
+
# @param [Google::Apis::RequestOptions] options
|
7051
|
+
# Request-specific options
|
7052
|
+
#
|
7053
|
+
# @yield [result, err] Result & error if block supplied
|
7054
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityIncidentsResponse] parsed result object
|
7055
|
+
# @yieldparam err [StandardError] error object if request failed
|
7056
|
+
#
|
7057
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityIncidentsResponse]
|
7058
|
+
#
|
7059
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7060
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7061
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7062
|
+
def list_organization_environment_security_incidents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7063
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityIncidents', options)
|
7064
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityIncidentsResponse::Representation
|
7065
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityIncidentsResponse
|
7066
|
+
command.params['parent'] = parent unless parent.nil?
|
7067
|
+
command.query['filter'] = filter unless filter.nil?
|
7068
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
7069
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
7070
|
+
command.query['fields'] = fields unless fields.nil?
|
7071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7072
|
+
execute_or_queue_command(command, &block)
|
7073
|
+
end
|
7074
|
+
|
6996
7075
|
# Submit a report request to be processed in the background. If the submission
|
6997
7076
|
# succeeds, the API returns a 200 status and an ID that refer to the report
|
6998
7077
|
# request. In addition to the HTTP status 200, the `state` of "enqueued" means
|
@@ -9135,13 +9214,7 @@ module Google
|
|
9135
9214
|
end
|
9136
9215
|
|
9137
9216
|
# Lists operations that match the specified filter in the request. If the server
|
9138
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
9139
|
-
# binding allows API services to override the binding to use different resource
|
9140
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
9141
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
9142
|
-
# service configuration. For backwards compatibility, the default name includes
|
9143
|
-
# the operations collection id, however overriding users must ensure the name
|
9144
|
-
# binding is the parent resource, without the operations collection id.
|
9217
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
9145
9218
|
# @param [String] name
|
9146
9219
|
# The name of the operation's parent resource.
|
9147
9220
|
# @param [String] filter
|
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.66.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
|
+
date: 2023-03-26 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.66.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: []
|