google-apis-apigee_v1 0.94.0 → 0.96.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: b96f73c3c16e858e9bee3acab6481636b86c16a9778532479f05c6b0079f6130
4
- data.tar.gz: d3c841db2c61fc91c9b01fef241e83fae64633d26177ab7fda888e1925af5af4
3
+ metadata.gz: 0ede9b92648a914731efa3c5028c3bf8cadb55cdd6be11ed6fdab7849ff09f3a
4
+ data.tar.gz: bf3f2bf0c9907961726ee1a0f052a29905b7d5096350c8a339c01a1913da4ed9
5
5
  SHA512:
6
- metadata.gz: d4803d06d98b14ab05a473d1f0b68eb153c71aef3aafd8c3ece6f59a3c54ab472688ceedc75f5e7e46c870c822232f4e5064c13a6a53e7a13a265240b624c2e0
7
- data.tar.gz: a1ab077b44c7ac5381dcd072bea8033fd269a6606706dbb37e3ef2c833ab5087f57daff4a8496fefb16bb04245ef46c2aa863b2535961e23ead87c8b9086d813
6
+ metadata.gz: 1bafc6a295c785f444a961967f0e631fc3f7dd69a0d6f7a1adf96b1a3f148af154c0bf5559d51195a5cfe1f6f1f08c96a56aedf99a9c79f08cb4af511a032b46
7
+ data.tar.gz: c74d2b46d574f9fd27478a962de9bd9abec610e7353d7219af7a5ce68fd878102f8ff741ebaddc67caedda7e11c4846b09a53826491d42337e3f67c4604860b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.96.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241011
6
+
7
+ ### v0.95.0 (2024-10-06)
8
+
9
+ * Regenerated from discovery document revision 20241004
10
+
3
11
  ### v0.94.0 (2024-09-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20240919
@@ -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.94.0"
19
+ GEM_VERSION = "0.96.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 = "20240919"
25
+ REVISION = "20241011"
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,180 @@ 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. Format: `organizations/`org``
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. Format: `
11350
+ # organizations/`org`/securityProfilesV2/`profile``
11351
+ # @param [String] fields
11352
+ # Selector specifying which fields to include in a partial response.
11353
+ # @param [String] quota_user
11354
+ # Available to use for quota purposes for server-side applications. Can be any
11355
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11356
+ # @param [Google::Apis::RequestOptions] options
11357
+ # Request-specific options
11358
+ #
11359
+ # @yield [result, err] Result & error if block supplied
11360
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
11361
+ # @yieldparam err [StandardError] error object if request failed
11362
+ #
11363
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
11364
+ #
11365
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11366
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11367
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11368
+ def delete_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
11369
+ command = make_simple_command(:delete, 'v1/{+name}', options)
11370
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
11371
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
11372
+ command.params['name'] = name unless name.nil?
11373
+ command.query['fields'] = fields unless fields.nil?
11374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11375
+ execute_or_queue_command(command, &block)
11376
+ end
11377
+
11378
+ # Get a security profile v2.
11379
+ # @param [String] name
11380
+ # Required. The name of the security profile v2 to get. Format: `organizations/`
11381
+ # org`/securityProfilesV2/`profile``
11382
+ # @param [String] fields
11383
+ # Selector specifying which fields to include in a partial response.
11384
+ # @param [String] quota_user
11385
+ # Available to use for quota purposes for server-side applications. Can be any
11386
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11387
+ # @param [Google::Apis::RequestOptions] options
11388
+ # Request-specific options
11389
+ #
11390
+ # @yield [result, err] Result & error if block supplied
11391
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] parsed result object
11392
+ # @yieldparam err [StandardError] error object if request failed
11393
+ #
11394
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2]
11395
+ #
11396
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11397
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11398
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11399
+ def get_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
11400
+ command = make_simple_command(:get, 'v1/{+name}', options)
11401
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
11402
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
11403
+ command.params['name'] = name unless name.nil?
11404
+ command.query['fields'] = fields unless fields.nil?
11405
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11406
+ execute_or_queue_command(command, &block)
11407
+ end
11408
+
11409
+ # List security profiles v2.
11410
+ # @param [String] parent
11411
+ # Required. For a specific organization, list of all the security profiles.
11412
+ # Format: `organizations/`org``
11413
+ # @param [Fixnum] page_size
11414
+ # Optional. The maximum number of profiles to return
11415
+ # @param [String] page_token
11416
+ # Optional. A page token, received from a previous `ListSecurityProfilesV2` call.
11417
+ # Provide this to retrieve the subsequent page.
11418
+ # @param [String] fields
11419
+ # Selector specifying which fields to include in a partial response.
11420
+ # @param [String] quota_user
11421
+ # Available to use for quota purposes for server-side applications. Can be any
11422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11423
+ # @param [Google::Apis::RequestOptions] options
11424
+ # Request-specific options
11425
+ #
11426
+ # @yield [result, err] Result & error if block supplied
11427
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response] parsed result object
11428
+ # @yieldparam err [StandardError] error object if request failed
11429
+ #
11430
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response]
11431
+ #
11432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11435
+ def list_organization_security_profiles_v2s(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11436
+ command = make_simple_command(:get, 'v1/{+parent}/securityProfilesV2', options)
11437
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response::Representation
11438
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response
11439
+ command.params['parent'] = parent unless parent.nil?
11440
+ command.query['pageSize'] = page_size unless page_size.nil?
11441
+ command.query['pageToken'] = page_token unless page_token.nil?
11442
+ command.query['fields'] = fields unless fields.nil?
11443
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11444
+ execute_or_queue_command(command, &block)
11445
+ end
11446
+
11447
+ # Update a security profile V2.
11448
+ # @param [String] name
11449
+ # Identifier. Name of the security profile v2 resource. Format: organizations/`
11450
+ # org`/securityProfilesV2/`profile`
11451
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] google_cloud_apigee_v1_security_profile_v2_object
11452
+ # @param [String] update_mask
11453
+ # Optional. The list of fields to update. Valid fields to update are `
11454
+ # description` and `profileAssessmentConfigs`.
11455
+ # @param [String] fields
11456
+ # Selector specifying which fields to include in a partial response.
11457
+ # @param [String] quota_user
11458
+ # Available to use for quota purposes for server-side applications. Can be any
11459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11460
+ # @param [Google::Apis::RequestOptions] options
11461
+ # Request-specific options
11462
+ #
11463
+ # @yield [result, err] Result & error if block supplied
11464
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2] parsed result object
11465
+ # @yieldparam err [StandardError] error object if request failed
11466
+ #
11467
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2]
11468
+ #
11469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11472
+ 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)
11473
+ command = make_simple_command(:patch, 'v1/{+name}', options)
11474
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
11475
+ command.request_object = google_cloud_apigee_v1_security_profile_v2_object
11476
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
11477
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
11478
+ command.params['name'] = name unless name.nil?
11479
+ command.query['updateMask'] = update_mask unless update_mask.nil?
11480
+ command.query['fields'] = fields unless fields.nil?
11481
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11482
+ execute_or_queue_command(command, &block)
11483
+ end
11484
+
11238
11485
  # Uploads a ZIP-formatted shared flow configuration bundle to an organization.
11239
11486
  # If the shared flow already exists, this creates a new revision of it. If the
11240
11487
  # 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.94.0
4
+ version: 0.96.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-09-29 00:00:00.000000000 Z
11
+ date: 2024-10-27 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.94.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.96.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee API V1