google-apis-apigee_v1 0.94.0 → 0.95.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: e2ff84056a787647ca6b6dae74c252fd92ca192faed5b7512f861999ef052e7e
|
4
|
+
data.tar.gz: 0a0675aca6fc0ac28f02ff95d0651903f00ce2ab4c5fbdab57a843d2dea39209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96384dbc7ec064a3f0cde1dd2d0303ad3d1ac9c9c0cbec4ff1acc3193777b9fc364d5b9b73c1f34733da7ab7417ff563b647fe7bcb897941fdec48d679c07824
|
7
|
+
data.tar.gz: 6e56c34fd18619f29adf5c8d9363ae3051574452ad69160420f8b3aff74c2187b24328571b45b48728da63f60e916c76f14f8697f2422bf63cd21ce00fe2cebe
|
data/CHANGELOG.md
CHANGED
@@ -2564,6 +2564,50 @@ module Google
|
|
2564
2564
|
end
|
2565
2565
|
end
|
2566
2566
|
|
2567
|
+
# ControlPlaneAccess is the request body and response body of
|
2568
|
+
# UpdateControlPlaneAccess. and the response body of GetControlPlaneAccess. The
|
2569
|
+
# input identities contains an array of service accounts to grant access to the
|
2570
|
+
# respective control plane resource, with each service account specified using
|
2571
|
+
# the following format: `serviceAccount:`***service-account-name***. The ***
|
2572
|
+
# service-account-name*** is formatted like an email address. For example: `my-
|
2573
|
+
# control-plane-service_account@my_project_id.iam.gserviceaccount.com` You might
|
2574
|
+
# specify multiple service accounts, for example, if you have multiple
|
2575
|
+
# environments and wish to assign a unique service account to each one.
|
2576
|
+
class GoogleCloudApigeeV1ControlPlaneAccess
|
2577
|
+
include Google::Apis::Core::Hashable
|
2578
|
+
|
2579
|
+
# Optional. Array of service accounts authorized to publish analytics data to
|
2580
|
+
# the control plane (for the Message Processor component).
|
2581
|
+
# Corresponds to the JSON property `analyticsPublisherIdentities`
|
2582
|
+
# @return [Array<String>]
|
2583
|
+
attr_accessor :analytics_publisher_identities
|
2584
|
+
|
2585
|
+
# Identifier. The resource name of the ControlPlaneAccess. Format: "
|
2586
|
+
# organizations/`org`/controlPlaneAccess"
|
2587
|
+
# Corresponds to the JSON property `name`
|
2588
|
+
# @return [String]
|
2589
|
+
attr_accessor :name
|
2590
|
+
|
2591
|
+
# Optional. Array of service accounts to grant access to control plane resources
|
2592
|
+
# (for the Synchronizer component). The service accounts must have **Apigee
|
2593
|
+
# Synchronizer Manager** role. See also [Create service accounts](https://cloud.
|
2594
|
+
# google.com/apigee/docs/hybrid/latest/sa-about#create-the-service-accounts).
|
2595
|
+
# Corresponds to the JSON property `synchronizerIdentities`
|
2596
|
+
# @return [Array<String>]
|
2597
|
+
attr_accessor :synchronizer_identities
|
2598
|
+
|
2599
|
+
def initialize(**args)
|
2600
|
+
update!(**args)
|
2601
|
+
end
|
2602
|
+
|
2603
|
+
# Update properties of this object
|
2604
|
+
def update!(**args)
|
2605
|
+
@analytics_publisher_identities = args[:analytics_publisher_identities] if args.key?(:analytics_publisher_identities)
|
2606
|
+
@name = args[:name] if args.key?(:name)
|
2607
|
+
@synchronizer_identities = args[:synchronizer_identities] if args.key?(:synchronizer_identities)
|
2608
|
+
end
|
2609
|
+
end
|
2610
|
+
|
2567
2611
|
#
|
2568
2612
|
class GoogleCloudApigeeV1Credential
|
2569
2613
|
include Google::Apis::Core::Hashable
|
@@ -6495,6 +6539,32 @@ module Google
|
|
6495
6539
|
end
|
6496
6540
|
end
|
6497
6541
|
|
6542
|
+
# Response for ListSecurityProfilesV2.
|
6543
|
+
class GoogleCloudApigeeV1ListSecurityProfilesV2Response
|
6544
|
+
include Google::Apis::Core::Hashable
|
6545
|
+
|
6546
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
6547
|
+
# field is omitted, there are no subsequent pages.
|
6548
|
+
# Corresponds to the JSON property `nextPageToken`
|
6549
|
+
# @return [String]
|
6550
|
+
attr_accessor :next_page_token
|
6551
|
+
|
6552
|
+
# List of security profiles in the organization.
|
6553
|
+
# Corresponds to the JSON property `securityProfilesV2`
|
6554
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2>]
|
6555
|
+
attr_accessor :security_profiles_v2
|
6556
|
+
|
6557
|
+
def initialize(**args)
|
6558
|
+
update!(**args)
|
6559
|
+
end
|
6560
|
+
|
6561
|
+
# Update properties of this object
|
6562
|
+
def update!(**args)
|
6563
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6564
|
+
@security_profiles_v2 = args[:security_profiles_v2] if args.key?(:security_profiles_v2)
|
6565
|
+
end
|
6566
|
+
end
|
6567
|
+
|
6498
6568
|
# The response for SecurityReports.
|
6499
6569
|
class GoogleCloudApigeeV1ListSecurityReportsResponse
|
6500
6570
|
include Google::Apis::Core::Hashable
|
@@ -10120,6 +10190,77 @@ module Google
|
|
10120
10190
|
end
|
10121
10191
|
end
|
10122
10192
|
|
10193
|
+
# Security profile for risk assessment version 2.
|
10194
|
+
class GoogleCloudApigeeV1SecurityProfileV2
|
10195
|
+
include Google::Apis::Core::Hashable
|
10196
|
+
|
10197
|
+
# Output only. The time of the security profile creation.
|
10198
|
+
# Corresponds to the JSON property `createTime`
|
10199
|
+
# @return [String]
|
10200
|
+
attr_accessor :create_time
|
10201
|
+
|
10202
|
+
# Optional. The description of the security profile.
|
10203
|
+
# Corresponds to the JSON property `description`
|
10204
|
+
# @return [String]
|
10205
|
+
attr_accessor :description
|
10206
|
+
|
10207
|
+
# Output only. Whether the security profile is google defined.
|
10208
|
+
# Corresponds to the JSON property `googleDefined`
|
10209
|
+
# @return [Boolean]
|
10210
|
+
attr_accessor :google_defined
|
10211
|
+
alias_method :google_defined?, :google_defined
|
10212
|
+
|
10213
|
+
# Identifier. Name of the security profile v2 resource. Format: organizations/`
|
10214
|
+
# org`/securityProfilesV2/`profile`
|
10215
|
+
# Corresponds to the JSON property `name`
|
10216
|
+
# @return [String]
|
10217
|
+
attr_accessor :name
|
10218
|
+
|
10219
|
+
# Required. The configuration for each assessment in this profile. Key is the
|
10220
|
+
# name/id of the assessment.
|
10221
|
+
# Corresponds to the JSON property `profileAssessmentConfigs`
|
10222
|
+
# @return [Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig>]
|
10223
|
+
attr_accessor :profile_assessment_configs
|
10224
|
+
|
10225
|
+
# Output only. The time of the security profile update.
|
10226
|
+
# Corresponds to the JSON property `updateTime`
|
10227
|
+
# @return [String]
|
10228
|
+
attr_accessor :update_time
|
10229
|
+
|
10230
|
+
def initialize(**args)
|
10231
|
+
update!(**args)
|
10232
|
+
end
|
10233
|
+
|
10234
|
+
# Update properties of this object
|
10235
|
+
def update!(**args)
|
10236
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
10237
|
+
@description = args[:description] if args.key?(:description)
|
10238
|
+
@google_defined = args[:google_defined] if args.key?(:google_defined)
|
10239
|
+
@name = args[:name] if args.key?(:name)
|
10240
|
+
@profile_assessment_configs = args[:profile_assessment_configs] if args.key?(:profile_assessment_configs)
|
10241
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
10242
|
+
end
|
10243
|
+
end
|
10244
|
+
|
10245
|
+
# The configuration definition for a specific assessment.
|
10246
|
+
class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
|
10247
|
+
include Google::Apis::Core::Hashable
|
10248
|
+
|
10249
|
+
# The weight of the assessment.
|
10250
|
+
# Corresponds to the JSON property `weight`
|
10251
|
+
# @return [String]
|
10252
|
+
attr_accessor :weight
|
10253
|
+
|
10254
|
+
def initialize(**args)
|
10255
|
+
update!(**args)
|
10256
|
+
end
|
10257
|
+
|
10258
|
+
# Update properties of this object
|
10259
|
+
def update!(**args)
|
10260
|
+
@weight = args[:weight] if args.key?(:weight)
|
10261
|
+
end
|
10262
|
+
end
|
10263
|
+
|
10123
10264
|
# SecurityReport saves all the information about the created security report.
|
10124
10265
|
class GoogleCloudApigeeV1SecurityReport
|
10125
10266
|
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.95.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241004"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,12 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class GoogleCloudApigeeV1ControlPlaneAccess
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
355
361
|
class GoogleCloudApigeeV1Credential
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
363
|
|
@@ -970,6 +976,12 @@ module Google
|
|
970
976
|
include Google::Apis::Core::JsonObjectSupport
|
971
977
|
end
|
972
978
|
|
979
|
+
class GoogleCloudApigeeV1ListSecurityProfilesV2Response
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
973
985
|
class GoogleCloudApigeeV1ListSecurityReportsResponse
|
974
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
987
|
|
@@ -1510,6 +1522,18 @@ module Google
|
|
1510
1522
|
include Google::Apis::Core::JsonObjectSupport
|
1511
1523
|
end
|
1512
1524
|
|
1525
|
+
class GoogleCloudApigeeV1SecurityProfileV2
|
1526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1527
|
+
|
1528
|
+
include Google::Apis::Core::JsonObjectSupport
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
|
1532
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
|
+
|
1534
|
+
include Google::Apis::Core::JsonObjectSupport
|
1535
|
+
end
|
1536
|
+
|
1513
1537
|
class GoogleCloudApigeeV1SecurityReport
|
1514
1538
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1515
1539
|
|
@@ -2424,6 +2448,15 @@ module Google
|
|
2424
2448
|
end
|
2425
2449
|
end
|
2426
2450
|
|
2451
|
+
class GoogleCloudApigeeV1ControlPlaneAccess
|
2452
|
+
# @private
|
2453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2454
|
+
collection :analytics_publisher_identities, as: 'analyticsPublisherIdentities'
|
2455
|
+
property :name, as: 'name'
|
2456
|
+
collection :synchronizer_identities, as: 'synchronizerIdentities'
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
2427
2460
|
class GoogleCloudApigeeV1Credential
|
2428
2461
|
# @private
|
2429
2462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3512,6 +3545,15 @@ module Google
|
|
3512
3545
|
end
|
3513
3546
|
end
|
3514
3547
|
|
3548
|
+
class GoogleCloudApigeeV1ListSecurityProfilesV2Response
|
3549
|
+
# @private
|
3550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3551
|
+
property :next_page_token, as: 'nextPageToken'
|
3552
|
+
collection :security_profiles_v2, as: 'securityProfilesV2', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
3553
|
+
|
3554
|
+
end
|
3555
|
+
end
|
3556
|
+
|
3515
3557
|
class GoogleCloudApigeeV1ListSecurityReportsResponse
|
3516
3558
|
# @private
|
3517
3559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4475,6 +4517,26 @@ module Google
|
|
4475
4517
|
end
|
4476
4518
|
end
|
4477
4519
|
|
4520
|
+
class GoogleCloudApigeeV1SecurityProfileV2
|
4521
|
+
# @private
|
4522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4523
|
+
property :create_time, as: 'createTime'
|
4524
|
+
property :description, as: 'description'
|
4525
|
+
property :google_defined, as: 'googleDefined'
|
4526
|
+
property :name, as: 'name'
|
4527
|
+
hash :profile_assessment_configs, as: 'profileAssessmentConfigs', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig::Representation
|
4528
|
+
|
4529
|
+
property :update_time, as: 'updateTime'
|
4530
|
+
end
|
4531
|
+
end
|
4532
|
+
|
4533
|
+
class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
|
4534
|
+
# @private
|
4535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4536
|
+
property :weight, as: 'weight'
|
4537
|
+
end
|
4538
|
+
end
|
4539
|
+
|
4478
4540
|
class GoogleCloudApigeeV1SecurityReport
|
4479
4541
|
# @private
|
4480
4542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -203,6 +203,38 @@ module Google
|
|
203
203
|
execute_or_queue_command(command, &block)
|
204
204
|
end
|
205
205
|
|
206
|
+
# Lists the service accounts allowed to access Apigee control plane directly for
|
207
|
+
# limited functionality. **Note**: Available to Apigee hybrid only.
|
208
|
+
# @param [String] name
|
209
|
+
# Required. Resource name of the Control Plane Access. Use the following
|
210
|
+
# structure in your request: `organizations/`org`/controlPlaneAccess`
|
211
|
+
# @param [String] fields
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
213
|
+
# @param [String] quota_user
|
214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
217
|
+
# Request-specific options
|
218
|
+
#
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
220
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess] parsed result object
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
222
|
+
#
|
223
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess]
|
224
|
+
#
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
+
def get_organization_control_plane_access(name, fields: nil, quota_user: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
230
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess::Representation
|
231
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess
|
232
|
+
command.params['name'] = name unless name.nil?
|
233
|
+
command.query['fields'] = fields unless fields.nil?
|
234
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
235
|
+
execute_or_queue_command(command, &block)
|
236
|
+
end
|
237
|
+
|
206
238
|
# Gets the deployed ingress configuration for an organization.
|
207
239
|
# @param [String] name
|
208
240
|
# Required. Name of the deployed configuration for the organization in the
|
@@ -517,6 +549,47 @@ module Google
|
|
517
549
|
execute_or_queue_command(command, &block)
|
518
550
|
end
|
519
551
|
|
552
|
+
# Updates the permissions required to allow Apigee runtime-plane components
|
553
|
+
# access to the control plane. Currently, the permissions required are to: 1.
|
554
|
+
# Allow runtime components to publish analytics data to the control plane. **
|
555
|
+
# Note**: Available to Apigee hybrid only.
|
556
|
+
# @param [String] name
|
557
|
+
# Identifier. The resource name of the ControlPlaneAccess. Format: "
|
558
|
+
# organizations/`org`/controlPlaneAccess"
|
559
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess] google_cloud_apigee_v1_control_plane_access_object
|
560
|
+
# @param [String] update_mask
|
561
|
+
# List of fields to be updated. Fields that can be updated:
|
562
|
+
# synchronizer_identities, publisher_identities.
|
563
|
+
# @param [String] fields
|
564
|
+
# Selector specifying which fields to include in a partial response.
|
565
|
+
# @param [String] quota_user
|
566
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
567
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
568
|
+
# @param [Google::Apis::RequestOptions] options
|
569
|
+
# Request-specific options
|
570
|
+
#
|
571
|
+
# @yield [result, err] Result & error if block supplied
|
572
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
573
|
+
# @yieldparam err [StandardError] error object if request failed
|
574
|
+
#
|
575
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
576
|
+
#
|
577
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
578
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
579
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
580
|
+
def update_organization_control_plane_access(name, google_cloud_apigee_v1_control_plane_access_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
581
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
582
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ControlPlaneAccess::Representation
|
583
|
+
command.request_object = google_cloud_apigee_v1_control_plane_access_object
|
584
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
585
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
586
|
+
command.params['name'] = name unless name.nil?
|
587
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
588
|
+
command.query['fields'] = fields unless fields.nil?
|
589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
590
|
+
execute_or_queue_command(command, &block)
|
591
|
+
end
|
592
|
+
|
520
593
|
# UpdateSecuritySettings updates the current security settings for API Security.
|
521
594
|
# @param [String] name
|
522
595
|
# Identifier. Full resource name is always `organizations/`org`/securitySettings`
|
@@ -11235,6 +11308,177 @@ module Google
|
|
11235
11308
|
execute_or_queue_command(command, &block)
|
11236
11309
|
end
|
11237
11310
|
|
11311
|
+
# Create a security profile v2.
|
11312
|
+
# @param [String] parent
|
11313
|
+
# Required. The parent resource name.
|
11314
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] google_cloud_apigee_v1_security_profile_v2_object
|
11315
|
+
# @param [String] security_profile_v2_id
|
11316
|
+
# Required. The security profile id.
|
11317
|
+
# @param [String] fields
|
11318
|
+
# Selector specifying which fields to include in a partial response.
|
11319
|
+
# @param [String] quota_user
|
11320
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11321
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11322
|
+
# @param [Google::Apis::RequestOptions] options
|
11323
|
+
# Request-specific options
|
11324
|
+
#
|
11325
|
+
# @yield [result, err] Result & error if block supplied
|
11326
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] parsed result object
|
11327
|
+
# @yieldparam err [StandardError] error object if request failed
|
11328
|
+
#
|
11329
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2]
|
11330
|
+
#
|
11331
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11332
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11333
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11334
|
+
def create_organization_security_profiles_v2(parent, google_cloud_apigee_v1_security_profile_v2_object = nil, security_profile_v2_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11335
|
+
command = make_simple_command(:post, 'v1/{+parent}/securityProfilesV2', options)
|
11336
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
11337
|
+
command.request_object = google_cloud_apigee_v1_security_profile_v2_object
|
11338
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
11339
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
|
11340
|
+
command.params['parent'] = parent unless parent.nil?
|
11341
|
+
command.query['securityProfileV2Id'] = security_profile_v2_id unless security_profile_v2_id.nil?
|
11342
|
+
command.query['fields'] = fields unless fields.nil?
|
11343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11344
|
+
execute_or_queue_command(command, &block)
|
11345
|
+
end
|
11346
|
+
|
11347
|
+
# Delete a security profile v2.
|
11348
|
+
# @param [String] name
|
11349
|
+
# Required. The name of the security profile v2 to delete.
|
11350
|
+
# @param [String] fields
|
11351
|
+
# Selector specifying which fields to include in a partial response.
|
11352
|
+
# @param [String] quota_user
|
11353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11355
|
+
# @param [Google::Apis::RequestOptions] options
|
11356
|
+
# Request-specific options
|
11357
|
+
#
|
11358
|
+
# @yield [result, err] Result & error if block supplied
|
11359
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
|
11360
|
+
# @yieldparam err [StandardError] error object if request failed
|
11361
|
+
#
|
11362
|
+
# @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
|
11363
|
+
#
|
11364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11367
|
+
def delete_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
|
11368
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
11369
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
|
11370
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
|
11371
|
+
command.params['name'] = name unless name.nil?
|
11372
|
+
command.query['fields'] = fields unless fields.nil?
|
11373
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11374
|
+
execute_or_queue_command(command, &block)
|
11375
|
+
end
|
11376
|
+
|
11377
|
+
# Get a security profile v2.
|
11378
|
+
# @param [String] name
|
11379
|
+
# Required. The security profile id.
|
11380
|
+
# @param [String] fields
|
11381
|
+
# Selector specifying which fields to include in a partial response.
|
11382
|
+
# @param [String] quota_user
|
11383
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11384
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11385
|
+
# @param [Google::Apis::RequestOptions] options
|
11386
|
+
# Request-specific options
|
11387
|
+
#
|
11388
|
+
# @yield [result, err] Result & error if block supplied
|
11389
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] parsed result object
|
11390
|
+
# @yieldparam err [StandardError] error object if request failed
|
11391
|
+
#
|
11392
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2]
|
11393
|
+
#
|
11394
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11395
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11396
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11397
|
+
def get_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
|
11398
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
11399
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
11400
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
|
11401
|
+
command.params['name'] = name unless name.nil?
|
11402
|
+
command.query['fields'] = fields unless fields.nil?
|
11403
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11404
|
+
execute_or_queue_command(command, &block)
|
11405
|
+
end
|
11406
|
+
|
11407
|
+
# List security profiles v2.
|
11408
|
+
# @param [String] parent
|
11409
|
+
# Required. For a specific organization, list of all the security profiles.
|
11410
|
+
# Format: `organizations/`org``
|
11411
|
+
# @param [Fixnum] page_size
|
11412
|
+
# Optional. The maximum number of profiles to return
|
11413
|
+
# @param [String] page_token
|
11414
|
+
# Optional. A page token, received from a previous `ListSecurityProfilesV2` call.
|
11415
|
+
# Provide this to retrieve the subsequent page.
|
11416
|
+
# @param [String] fields
|
11417
|
+
# Selector specifying which fields to include in a partial response.
|
11418
|
+
# @param [String] quota_user
|
11419
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11420
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11421
|
+
# @param [Google::Apis::RequestOptions] options
|
11422
|
+
# Request-specific options
|
11423
|
+
#
|
11424
|
+
# @yield [result, err] Result & error if block supplied
|
11425
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response] parsed result object
|
11426
|
+
# @yieldparam err [StandardError] error object if request failed
|
11427
|
+
#
|
11428
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response]
|
11429
|
+
#
|
11430
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11431
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11432
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11433
|
+
def list_organization_security_profiles_v2s(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11434
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityProfilesV2', options)
|
11435
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response::Representation
|
11436
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response
|
11437
|
+
command.params['parent'] = parent unless parent.nil?
|
11438
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
11439
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
11440
|
+
command.query['fields'] = fields unless fields.nil?
|
11441
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11442
|
+
execute_or_queue_command(command, &block)
|
11443
|
+
end
|
11444
|
+
|
11445
|
+
# Update a security profile V2.
|
11446
|
+
# @param [String] name
|
11447
|
+
# Identifier. Name of the security profile v2 resource. Format: organizations/`
|
11448
|
+
# org`/securityProfilesV2/`profile`
|
11449
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] google_cloud_apigee_v1_security_profile_v2_object
|
11450
|
+
# @param [String] update_mask
|
11451
|
+
# Required. The list of fields to update.
|
11452
|
+
# @param [String] fields
|
11453
|
+
# Selector specifying which fields to include in a partial response.
|
11454
|
+
# @param [String] quota_user
|
11455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11457
|
+
# @param [Google::Apis::RequestOptions] options
|
11458
|
+
# Request-specific options
|
11459
|
+
#
|
11460
|
+
# @yield [result, err] Result & error if block supplied
|
11461
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] parsed result object
|
11462
|
+
# @yieldparam err [StandardError] error object if request failed
|
11463
|
+
#
|
11464
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2]
|
11465
|
+
#
|
11466
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11467
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11468
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11469
|
+
def patch_organization_security_profiles_v2(name, google_cloud_apigee_v1_security_profile_v2_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11470
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
11471
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
11472
|
+
command.request_object = google_cloud_apigee_v1_security_profile_v2_object
|
11473
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
|
11474
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
|
11475
|
+
command.params['name'] = name unless name.nil?
|
11476
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
11477
|
+
command.query['fields'] = fields unless fields.nil?
|
11478
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11479
|
+
execute_or_queue_command(command, &block)
|
11480
|
+
end
|
11481
|
+
|
11238
11482
|
# Uploads a ZIP-formatted shared flow configuration bundle to an organization.
|
11239
11483
|
# If the shared flow already exists, this creates a new revision of it. If the
|
11240
11484
|
# shared flow does not exist, this creates it. Once imported, the shared flow
|
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.95.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: 2024-
|
11
|
+
date: 2024-10-06 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.95.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: []
|