google-apis-apigee_v1 0.120.0 → 0.121.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: fc24c3ffc88e41a5dd491ca138f0c1931273c6dba295163f6ee0a2fe4c90485f
|
|
4
|
+
data.tar.gz: cb97ecf77307d0a3f492107987d71c756d27c6d70bddac61861ae916eebd03be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f813a5db18f63e9c5b27515d85c61cb25d3432cdf5a4677a33925b5fbe8129af681ea84e7a4ae203cde2b745f4bb53084960e51bda97a3ad2a8a4dec9704bcc
|
|
7
|
+
data.tar.gz: af7733b7954d86ebf1a4a367fa121ab5e27e66619f67d36aae6b0711e1e8d15315902c38d8f41048b24ebb6b3b8c08d383becfba391090504783c9b4222c0749
|
data/CHANGELOG.md
CHANGED
|
@@ -11063,6 +11063,11 @@ module Google
|
|
|
11063
11063
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails]
|
|
11064
11064
|
attr_accessor :api_hub_deployment_details
|
|
11065
11065
|
|
|
11066
|
+
# Optional.
|
|
11067
|
+
# Corresponds to the JSON property `apiHubGatewayType`
|
|
11068
|
+
# @return [String]
|
|
11069
|
+
attr_accessor :api_hub_gateway_type
|
|
11070
|
+
|
|
11066
11071
|
# Required. Name of this resource. For an Apigee API Proxy, this should be the
|
|
11067
11072
|
# id of the API proxy. For an API Hub Deployment, this should be the id of the
|
|
11068
11073
|
# deployment.
|
|
@@ -11087,6 +11092,7 @@ module Google
|
|
|
11087
11092
|
# Update properties of this object
|
|
11088
11093
|
def update!(**args)
|
|
11089
11094
|
@api_hub_deployment_details = args[:api_hub_deployment_details] if args.key?(:api_hub_deployment_details)
|
|
11095
|
+
@api_hub_gateway_type = args[:api_hub_gateway_type] if args.key?(:api_hub_gateway_type)
|
|
11090
11096
|
@name = args[:name] if args.key?(:name)
|
|
11091
11097
|
@resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id)
|
|
11092
11098
|
@type = args[:type] if args.key?(:type)
|
|
@@ -11442,6 +11448,13 @@ module Google
|
|
|
11442
11448
|
class GoogleCloudApigeeV1SecurityMonitoringCondition
|
|
11443
11449
|
include Google::Apis::Core::Hashable
|
|
11444
11450
|
|
|
11451
|
+
# Optional. The API Hub gateway monitored by the security monitoring condition.
|
|
11452
|
+
# This should only be set if risk_assessment_type is API_HUB. Format: `projects/`
|
|
11453
|
+
# project`/locations/`location`/plugins/`plugin`/instances/`instance``
|
|
11454
|
+
# Corresponds to the JSON property `apiHubGateway`
|
|
11455
|
+
# @return [String]
|
|
11456
|
+
attr_accessor :api_hub_gateway
|
|
11457
|
+
|
|
11445
11458
|
# Output only. The time of the security monitoring condition creation.
|
|
11446
11459
|
# Corresponds to the JSON property `createTime`
|
|
11447
11460
|
# @return [String]
|
|
@@ -11469,8 +11482,15 @@ module Google
|
|
|
11469
11482
|
# @return [String]
|
|
11470
11483
|
attr_accessor :profile
|
|
11471
11484
|
|
|
11472
|
-
# Optional.
|
|
11473
|
-
#
|
|
11485
|
+
# Optional. The risk assessment type of the security monitoring condition.
|
|
11486
|
+
# Defaults to ADVANCED_API_SECURITY.
|
|
11487
|
+
# Corresponds to the JSON property `riskAssessmentType`
|
|
11488
|
+
# @return [String]
|
|
11489
|
+
attr_accessor :risk_assessment_type
|
|
11490
|
+
|
|
11491
|
+
# Optional. Scope of the security monitoring condition. When RiskAssessmentType
|
|
11492
|
+
# is APIGEE, the scope should be set to the environment of the resources. When
|
|
11493
|
+
# RiskAssessmentType is API_HUB, the scope should not be set.
|
|
11474
11494
|
# Corresponds to the JSON property `scope`
|
|
11475
11495
|
# @return [String]
|
|
11476
11496
|
attr_accessor :scope
|
|
@@ -11496,11 +11516,13 @@ module Google
|
|
|
11496
11516
|
|
|
11497
11517
|
# Update properties of this object
|
|
11498
11518
|
def update!(**args)
|
|
11519
|
+
@api_hub_gateway = args[:api_hub_gateway] if args.key?(:api_hub_gateway)
|
|
11499
11520
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
11500
11521
|
@include = args[:include] if args.key?(:include)
|
|
11501
11522
|
@include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
|
|
11502
11523
|
@name = args[:name] if args.key?(:name)
|
|
11503
11524
|
@profile = args[:profile] if args.key?(:profile)
|
|
11525
|
+
@risk_assessment_type = args[:risk_assessment_type] if args.key?(:risk_assessment_type)
|
|
11504
11526
|
@scope = args[:scope] if args.key?(:scope)
|
|
11505
11527
|
@total_deployed_resources = args[:total_deployed_resources] if args.key?(:total_deployed_resources)
|
|
11506
11528
|
@total_monitored_resources = args[:total_monitored_resources] if args.key?(:total_monitored_resources)
|
|
@@ -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.121.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260218"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -5058,6 +5058,7 @@ module Google
|
|
|
5058
5058
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5059
5059
|
property :api_hub_deployment_details, as: 'apiHubDeploymentDetails', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails::Representation
|
|
5060
5060
|
|
|
5061
|
+
property :api_hub_gateway_type, as: 'apiHubGatewayType'
|
|
5061
5062
|
property :name, as: 'name'
|
|
5062
5063
|
property :resource_revision_id, as: 'resourceRevisionId'
|
|
5063
5064
|
property :type, as: 'type'
|
|
@@ -5157,6 +5158,7 @@ module Google
|
|
|
5157
5158
|
class GoogleCloudApigeeV1SecurityMonitoringCondition
|
|
5158
5159
|
# @private
|
|
5159
5160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5161
|
+
property :api_hub_gateway, as: 'apiHubGateway'
|
|
5160
5162
|
property :create_time, as: 'createTime'
|
|
5161
5163
|
property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation
|
|
5162
5164
|
|
|
@@ -5164,6 +5166,7 @@ module Google
|
|
|
5164
5166
|
|
|
5165
5167
|
property :name, as: 'name'
|
|
5166
5168
|
property :profile, as: 'profile'
|
|
5169
|
+
property :risk_assessment_type, as: 'riskAssessmentType'
|
|
5167
5170
|
property :scope, as: 'scope'
|
|
5168
5171
|
property :total_deployed_resources, as: 'totalDeployedResources'
|
|
5169
5172
|
property :total_monitored_resources, as: 'totalMonitoredResources'
|
|
@@ -12508,6 +12508,9 @@ module Google
|
|
|
12508
12508
|
# Required. The name of the security monitoring condition to delete. Format: `
|
|
12509
12509
|
# organizations/`org`/securityMonitoringConditions/`
|
|
12510
12510
|
# security_monitoring_condition``
|
|
12511
|
+
# @param [String] risk_assessment_type
|
|
12512
|
+
# Optional. The risk assessment type of the security monitoring condition.
|
|
12513
|
+
# Defaults to ADVANCED_API_SECURITY.
|
|
12511
12514
|
# @param [String] fields
|
|
12512
12515
|
# Selector specifying which fields to include in a partial response.
|
|
12513
12516
|
# @param [String] quota_user
|
|
@@ -12525,11 +12528,12 @@ module Google
|
|
|
12525
12528
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12526
12529
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12527
12530
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12528
|
-
def delete_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
12531
|
+
def delete_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
12529
12532
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
12530
12533
|
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
|
12531
12534
|
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
|
12532
12535
|
command.params['name'] = name unless name.nil?
|
|
12536
|
+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
|
|
12533
12537
|
command.query['fields'] = fields unless fields.nil?
|
|
12534
12538
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12535
12539
|
execute_or_queue_command(command, &block)
|
|
@@ -12540,6 +12544,9 @@ module Google
|
|
|
12540
12544
|
# Required. The name of the security monitoring condition to get. Format: `
|
|
12541
12545
|
# organizations/`org`/securityMonitoringConditions/`
|
|
12542
12546
|
# security_monitoring_condition``
|
|
12547
|
+
# @param [String] risk_assessment_type
|
|
12548
|
+
# Optional. The risk assessment type of the security monitoring condition.
|
|
12549
|
+
# Defaults to ADVANCED_API_SECURITY.
|
|
12543
12550
|
# @param [String] fields
|
|
12544
12551
|
# Selector specifying which fields to include in a partial response.
|
|
12545
12552
|
# @param [String] quota_user
|
|
@@ -12557,11 +12564,12 @@ module Google
|
|
|
12557
12564
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12558
12565
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12559
12566
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12560
|
-
def get_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
12567
|
+
def get_organization_security_monitoring_condition(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
12561
12568
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
12562
12569
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
|
|
12563
12570
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition
|
|
12564
12571
|
command.params['name'] = name unless name.nil?
|
|
12572
|
+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
|
|
12565
12573
|
command.query['fields'] = fields unless fields.nil?
|
|
12566
12574
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12567
12575
|
execute_or_queue_command(command, &block)
|
|
@@ -12572,14 +12580,20 @@ module Google
|
|
|
12572
12580
|
# Required. For a specific organization, list all the security monitoring
|
|
12573
12581
|
# conditions. Format: `organizations/`org``
|
|
12574
12582
|
# @param [String] filter
|
|
12575
|
-
# Optional. Filter for the monitoring conditions.
|
|
12576
|
-
#
|
|
12583
|
+
# Optional. Filter for the monitoring conditions. When RiskAssessmentType is
|
|
12584
|
+
# APIGEE, monitoring conditions can be filtered by profile and scope. For
|
|
12585
|
+
# example: `profile=profile1 AND scope=env1` When RiskAssessmentType is API_HUB,
|
|
12586
|
+
# monitoring conditions can be filtered by profile and api_hub_gateway. For
|
|
12587
|
+
# example: `profile=profile1 AND api_hub_gateway=gateway1`
|
|
12577
12588
|
# @param [Fixnum] page_size
|
|
12578
12589
|
# Optional. The maximum number of monitoring conditions to return.
|
|
12579
12590
|
# @param [String] page_token
|
|
12580
12591
|
# Optional. A page token, received from a previous `
|
|
12581
12592
|
# ListSecurityMonitoringConditions` call. Provide this to retrieve the
|
|
12582
12593
|
# subsequent page.
|
|
12594
|
+
# @param [String] risk_assessment_type
|
|
12595
|
+
# Optional. The risk assessment type of the security monitoring condition.
|
|
12596
|
+
# Defaults to ADVANCED_API_SECURITY.
|
|
12583
12597
|
# @param [String] fields
|
|
12584
12598
|
# Selector specifying which fields to include in a partial response.
|
|
12585
12599
|
# @param [String] quota_user
|
|
@@ -12597,7 +12611,7 @@ module Google
|
|
|
12597
12611
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12598
12612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12599
12613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12600
|
-
def list_organization_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
12614
|
+
def list_organization_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
12601
12615
|
command = make_simple_command(:get, 'v1/{+parent}/securityMonitoringConditions', options)
|
|
12602
12616
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse::Representation
|
|
12603
12617
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
|
|
@@ -12605,6 +12619,7 @@ module Google
|
|
|
12605
12619
|
command.query['filter'] = filter unless filter.nil?
|
|
12606
12620
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
12607
12621
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
12622
|
+
command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
|
|
12608
12623
|
command.query['fields'] = fields unless fields.nil?
|
|
12609
12624
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12610
12625
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.121.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.121.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|