google-apis-apigee_v1 0.101.0 → 0.102.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: 74c27128fd1d4c14db8329d4c57557d65069aef7de67794deeff03fe19a46568
4
- data.tar.gz: 1c0035fdcbce89c9bc8cd16982a4ae45c3d81f170f8ceb98c2d8ee988228938a
3
+ metadata.gz: b3b8b9d5dca99221bcef49808cd08f80f118a64231dd6261f8da35e6d36a2bcf
4
+ data.tar.gz: e29ed7ebe8baf0c5948a3929b6c32c92dd6eaaaa8b86e55e6e6b65c8256db762
5
5
  SHA512:
6
- metadata.gz: 3f05cf9f842e632c9520e337436cd4c1802509c4df4ee612753c9016cddbeead4a3ac0cefed7869653a6c6f9ec595f1178b1b3ea0093748ee224af15dea0f931
7
- data.tar.gz: b0624a3f18df4294064ecb5906b1dc8884af1c33add24557ccc76d3d05f06f6c6c5b81d3ccbb3cd5d02011966ed30743305f59acee58cb3cd5c027b35613311a
6
+ metadata.gz: 54bbeadb238074e750dff341c30b748c62c221c3ace84573c84373515bbb14c75cef9acdd5f418b208681a162049ba7b28234ae5862aa1363b0fbe887f32da44
7
+ data.tar.gz: 483adc4c4952a71371914e9d0cf04e8cbf68d0d0583c065ca8f84a1d087ccedd48835f197ab141b401d26e8a47dfad9785125593fe1c784766bbd0802d47a2e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.102.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250313
6
+
3
7
  ### v0.101.0 (2025-03-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20250306
@@ -4156,6 +4156,94 @@ module Google
4156
4156
  end
4157
4157
  end
4158
4158
 
4159
+ # A DNS zone is a resource under an Apigee organization that is used to create a
4160
+ # DNS peering with Apigee's network. DNS peering will let Apigee instances
4161
+ # resolve the hostnames created in a peered network.
4162
+ class GoogleCloudApigeeV1DnsZone
4163
+ include Google::Apis::Core::Hashable
4164
+
4165
+ # Output only. The time that this resource was created on the server.
4166
+ # Corresponds to the JSON property `createTime`
4167
+ # @return [String]
4168
+ attr_accessor :create_time
4169
+
4170
+ # Required. Description of the resource. String of at most 1024 characters
4171
+ # associated with this resource for the user's convenience.
4172
+ # Corresponds to the JSON property `description`
4173
+ # @return [String]
4174
+ attr_accessor :description
4175
+
4176
+ # Required. The domain name for hosts in this private zone, for instance "
4177
+ # example.com.".
4178
+ # Corresponds to the JSON property `domain`
4179
+ # @return [String]
4180
+ attr_accessor :domain
4181
+
4182
+ # Identifier. Unique name for the resource. Defined by the server Format: "
4183
+ # organizations/`organization`/dnsZones/`dns_zone`".
4184
+ # Corresponds to the JSON property `name`
4185
+ # @return [String]
4186
+ attr_accessor :name
4187
+
4188
+ # Fields for DNS PEERING zone.
4189
+ # Corresponds to the JSON property `peeringConfig`
4190
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZonePeeringConfig]
4191
+ attr_accessor :peering_config
4192
+
4193
+ # Output only. State of the DNS Peering. Values other than `ACTIVE` mean the
4194
+ # resource is not ready to use.
4195
+ # Corresponds to the JSON property `state`
4196
+ # @return [String]
4197
+ attr_accessor :state
4198
+
4199
+ # Output only. The time that this resource was updated on the server.
4200
+ # Corresponds to the JSON property `updateTime`
4201
+ # @return [String]
4202
+ attr_accessor :update_time
4203
+
4204
+ def initialize(**args)
4205
+ update!(**args)
4206
+ end
4207
+
4208
+ # Update properties of this object
4209
+ def update!(**args)
4210
+ @create_time = args[:create_time] if args.key?(:create_time)
4211
+ @description = args[:description] if args.key?(:description)
4212
+ @domain = args[:domain] if args.key?(:domain)
4213
+ @name = args[:name] if args.key?(:name)
4214
+ @peering_config = args[:peering_config] if args.key?(:peering_config)
4215
+ @state = args[:state] if args.key?(:state)
4216
+ @update_time = args[:update_time] if args.key?(:update_time)
4217
+ end
4218
+ end
4219
+
4220
+ # Fields for DNS PEERING zone.
4221
+ class GoogleCloudApigeeV1DnsZonePeeringConfig
4222
+ include Google::Apis::Core::Hashable
4223
+
4224
+ # Required. The VPC network where the records for that private DNS zone's
4225
+ # namespace are available. Apigee will be performing DNS peering with this VPC
4226
+ # network.
4227
+ # Corresponds to the JSON property `targetNetworkId`
4228
+ # @return [String]
4229
+ attr_accessor :target_network_id
4230
+
4231
+ # Required. The ID of the project that contains the producer VPC network.
4232
+ # Corresponds to the JSON property `targetProjectId`
4233
+ # @return [String]
4234
+ attr_accessor :target_project_id
4235
+
4236
+ def initialize(**args)
4237
+ update!(**args)
4238
+ end
4239
+
4240
+ # Update properties of this object
4241
+ def update!(**args)
4242
+ @target_network_id = args[:target_network_id] if args.key?(:target_network_id)
4243
+ @target_project_id = args[:target_project_id] if args.key?(:target_project_id)
4244
+ end
4245
+ end
4246
+
4159
4247
  # Documentation file contents for a catalog item.
4160
4248
  class GoogleCloudApigeeV1DocumentationFile
4161
4249
  include Google::Apis::Core::Hashable
@@ -6313,6 +6401,32 @@ module Google
6313
6401
  end
6314
6402
  end
6315
6403
 
6404
+ # Response for list DNS zones.
6405
+ class GoogleCloudApigeeV1ListDnsZonesResponse
6406
+ include Google::Apis::Core::Hashable
6407
+
6408
+ # DNS zones in a given organization.
6409
+ # Corresponds to the JSON property `dnsZones`
6410
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone>]
6411
+ attr_accessor :dns_zones
6412
+
6413
+ # Page token that you can include in an `ListDnsZones` request to retrieve the
6414
+ # next page. If omitted, no subsequent pages exist.
6415
+ # Corresponds to the JSON property `nextPageToken`
6416
+ # @return [String]
6417
+ attr_accessor :next_page_token
6418
+
6419
+ def initialize(**args)
6420
+ update!(**args)
6421
+ end
6422
+
6423
+ # Update properties of this object
6424
+ def update!(**args)
6425
+ @dns_zones = args[:dns_zones] if args.key?(:dns_zones)
6426
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6427
+ end
6428
+ end
6429
+
6316
6430
  # Response for ListEndpointAttachments method.
6317
6431
  class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
6318
6432
  include Google::Apis::Core::Hashable
@@ -6669,6 +6783,32 @@ module Google
6669
6783
  end
6670
6784
  end
6671
6785
 
6786
+ # Response for ListSecurityMonitoringConditions.
6787
+ class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
6788
+ include Google::Apis::Core::Hashable
6789
+
6790
+ # A token that can be sent as `page_token` to retrieve the next page. If this
6791
+ # field is omitted, there are no subsequent pages.
6792
+ # Corresponds to the JSON property `nextPageToken`
6793
+ # @return [String]
6794
+ attr_accessor :next_page_token
6795
+
6796
+ # List of security monitoring conditions in the organization.
6797
+ # Corresponds to the JSON property `securityMonitoringConditions`
6798
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition>]
6799
+ attr_accessor :security_monitoring_conditions
6800
+
6801
+ def initialize(**args)
6802
+ update!(**args)
6803
+ end
6804
+
6805
+ # Update properties of this object
6806
+ def update!(**args)
6807
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6808
+ @security_monitoring_conditions = args[:security_monitoring_conditions] if args.key?(:security_monitoring_conditions)
6809
+ end
6810
+ end
6811
+
6672
6812
  # Response for ListSecurityProfileRevisions.
6673
6813
  class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
6674
6814
  include Google::Apis::Core::Hashable
@@ -10292,6 +10432,76 @@ module Google
10292
10432
  end
10293
10433
  end
10294
10434
 
10435
+ # Security monitoring condition for risk assessment version 2.
10436
+ class GoogleCloudApigeeV1SecurityMonitoringCondition
10437
+ include Google::Apis::Core::Hashable
10438
+
10439
+ # Output only. The time of the security monitoring condition creation.
10440
+ # Corresponds to the JSON property `createTime`
10441
+ # @return [String]
10442
+ attr_accessor :create_time
10443
+
10444
+ # Message for the array of resources. For Apigee, the proxies are resources.
10445
+ # Corresponds to the JSON property `include`
10446
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray]
10447
+ attr_accessor :include
10448
+
10449
+ # Message for include_all_resources option.
10450
+ # Corresponds to the JSON property `includeAllResources`
10451
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll]
10452
+ attr_accessor :include_all_resources
10453
+
10454
+ # Identifier. Name of the security monitoring condition resource. Format:
10455
+ # organizations/`org`/securityMonitoringConditions/`
10456
+ # security_monitoring_condition`
10457
+ # Corresponds to the JSON property `name`
10458
+ # @return [String]
10459
+ attr_accessor :name
10460
+
10461
+ # Required. ID of security profile of the security monitoring condition.
10462
+ # Corresponds to the JSON property `profile`
10463
+ # @return [String]
10464
+ attr_accessor :profile
10465
+
10466
+ # Required. Scope of the security monitoring condition. For Apigee, the
10467
+ # environment is the scope of the resources.
10468
+ # Corresponds to the JSON property `scope`
10469
+ # @return [String]
10470
+ attr_accessor :scope
10471
+
10472
+ # Output only. Total number of deployed resources within scope.
10473
+ # Corresponds to the JSON property `totalDeployedResources`
10474
+ # @return [Fixnum]
10475
+ attr_accessor :total_deployed_resources
10476
+
10477
+ # Output only. Total number of monitored resources within this condition.
10478
+ # Corresponds to the JSON property `totalMonitoredResources`
10479
+ # @return [Fixnum]
10480
+ attr_accessor :total_monitored_resources
10481
+
10482
+ # Output only. The time of the security monitoring condition update.
10483
+ # Corresponds to the JSON property `updateTime`
10484
+ # @return [String]
10485
+ attr_accessor :update_time
10486
+
10487
+ def initialize(**args)
10488
+ update!(**args)
10489
+ end
10490
+
10491
+ # Update properties of this object
10492
+ def update!(**args)
10493
+ @create_time = args[:create_time] if args.key?(:create_time)
10494
+ @include = args[:include] if args.key?(:include)
10495
+ @include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
10496
+ @name = args[:name] if args.key?(:name)
10497
+ @profile = args[:profile] if args.key?(:profile)
10498
+ @scope = args[:scope] if args.key?(:scope)
10499
+ @total_deployed_resources = args[:total_deployed_resources] if args.key?(:total_deployed_resources)
10500
+ @total_monitored_resources = args[:total_monitored_resources] if args.key?(:total_monitored_resources)
10501
+ @update_time = args[:update_time] if args.key?(:update_time)
10502
+ end
10503
+ end
10504
+
10295
10505
  # Represents a SecurityProfile resource.
10296
10506
  class GoogleCloudApigeeV1SecurityProfile
10297
10507
  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.101.0"
19
+ GEM_VERSION = "0.102.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250306"
25
+ REVISION = "20250313"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,18 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class GoogleCloudApigeeV1DnsZone
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class GoogleCloudApigeeV1DnsZonePeeringConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
547
559
  class GoogleCloudApigeeV1DocumentationFile
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
@@ -910,6 +922,12 @@ module Google
910
922
  include Google::Apis::Core::JsonObjectSupport
911
923
  end
912
924
 
925
+ class GoogleCloudApigeeV1ListDnsZonesResponse
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
913
931
  class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
914
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
915
933
 
@@ -1000,6 +1018,12 @@ module Google
1000
1018
  include Google::Apis::Core::JsonObjectSupport
1001
1019
  end
1002
1020
 
1021
+ class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1003
1027
  class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
1004
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1029
 
@@ -1558,6 +1582,12 @@ module Google
1558
1582
  include Google::Apis::Core::JsonObjectSupport
1559
1583
  end
1560
1584
 
1585
+ class GoogleCloudApigeeV1SecurityMonitoringCondition
1586
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1587
+
1588
+ include Google::Apis::Core::JsonObjectSupport
1589
+ end
1590
+
1561
1591
  class GoogleCloudApigeeV1SecurityProfile
1562
1592
  class Representation < Google::Apis::Core::JsonRepresentation; end
1563
1593
 
@@ -2906,6 +2936,28 @@ module Google
2906
2936
  end
2907
2937
  end
2908
2938
 
2939
+ class GoogleCloudApigeeV1DnsZone
2940
+ # @private
2941
+ class Representation < Google::Apis::Core::JsonRepresentation
2942
+ property :create_time, as: 'createTime'
2943
+ property :description, as: 'description'
2944
+ property :domain, as: 'domain'
2945
+ property :name, as: 'name'
2946
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZonePeeringConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZonePeeringConfig::Representation
2947
+
2948
+ property :state, as: 'state'
2949
+ property :update_time, as: 'updateTime'
2950
+ end
2951
+ end
2952
+
2953
+ class GoogleCloudApigeeV1DnsZonePeeringConfig
2954
+ # @private
2955
+ class Representation < Google::Apis::Core::JsonRepresentation
2956
+ property :target_network_id, as: 'targetNetworkId'
2957
+ property :target_project_id, as: 'targetProjectId'
2958
+ end
2959
+ end
2960
+
2909
2961
  class GoogleCloudApigeeV1DocumentationFile
2910
2962
  # @private
2911
2963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3520,6 +3572,15 @@ module Google
3520
3572
  end
3521
3573
  end
3522
3574
 
3575
+ class GoogleCloudApigeeV1ListDnsZonesResponse
3576
+ # @private
3577
+ class Representation < Google::Apis::Core::JsonRepresentation
3578
+ collection :dns_zones, as: 'dnsZones', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone::Representation
3579
+
3580
+ property :next_page_token, as: 'nextPageToken'
3581
+ end
3582
+ end
3583
+
3523
3584
  class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
3524
3585
  # @private
3525
3586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3650,6 +3711,15 @@ module Google
3650
3711
  end
3651
3712
  end
3652
3713
 
3714
+ class GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
3715
+ # @private
3716
+ class Representation < Google::Apis::Core::JsonRepresentation
3717
+ property :next_page_token, as: 'nextPageToken'
3718
+ collection :security_monitoring_conditions, as: 'securityMonitoringConditions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
3719
+
3720
+ end
3721
+ end
3722
+
3653
3723
  class GoogleCloudApigeeV1ListSecurityProfileRevisionsResponse
3654
3724
  # @private
3655
3725
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4623,6 +4693,23 @@ module Google
4623
4693
  end
4624
4694
  end
4625
4695
 
4696
+ class GoogleCloudApigeeV1SecurityMonitoringCondition
4697
+ # @private
4698
+ class Representation < Google::Apis::Core::JsonRepresentation
4699
+ property :create_time, as: 'createTime'
4700
+ property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation
4701
+
4702
+ property :include_all_resources, as: 'includeAllResources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll::Representation
4703
+
4704
+ property :name, as: 'name'
4705
+ property :profile, as: 'profile'
4706
+ property :scope, as: 'scope'
4707
+ property :total_deployed_resources, as: 'totalDeployedResources'
4708
+ property :total_monitored_resources, as: 'totalMonitoredResources'
4709
+ property :update_time, as: 'updateTime'
4710
+ end
4711
+ end
4712
+
4626
4713
  class GoogleCloudApigeeV1SecurityProfile
4627
4714
  # @private
4628
4715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4725,6 +4725,146 @@ module Google
4725
4725
  execute_or_queue_command(command, &block)
4726
4726
  end
4727
4727
 
4728
+ # Creates a new DNS zone.
4729
+ # @param [String] parent
4730
+ # Required. Organization where the DNS zone will be created.
4731
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone] google_cloud_apigee_v1_dns_zone_object
4732
+ # @param [String] dns_zone_id
4733
+ # Required. User assigned ID for this resource. Must be unique within the
4734
+ # organization. The name must be 1-63 characters long, must begin with a letter,
4735
+ # end with a letter or digit, and only contain lowercase letters, digits or
4736
+ # dashes.
4737
+ # @param [String] fields
4738
+ # Selector specifying which fields to include in a partial response.
4739
+ # @param [String] quota_user
4740
+ # Available to use for quota purposes for server-side applications. Can be any
4741
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4742
+ # @param [Google::Apis::RequestOptions] options
4743
+ # Request-specific options
4744
+ #
4745
+ # @yield [result, err] Result & error if block supplied
4746
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
4747
+ # @yieldparam err [StandardError] error object if request failed
4748
+ #
4749
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
4750
+ #
4751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4754
+ def create_organization_dns_zone(parent, google_cloud_apigee_v1_dns_zone_object = nil, dns_zone_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4755
+ command = make_simple_command(:post, 'v1/{+parent}/dnsZones', options)
4756
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone::Representation
4757
+ command.request_object = google_cloud_apigee_v1_dns_zone_object
4758
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
4759
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
4760
+ command.params['parent'] = parent unless parent.nil?
4761
+ command.query['dnsZoneId'] = dns_zone_id unless dns_zone_id.nil?
4762
+ command.query['fields'] = fields unless fields.nil?
4763
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4764
+ execute_or_queue_command(command, &block)
4765
+ end
4766
+
4767
+ # Deletes a previously created DNS zone.
4768
+ # @param [String] name
4769
+ # Required. Name of the DNS zone to delete. Use the following structure in your
4770
+ # request: `organizations/`org`/dnsZones/`dns_zone``.
4771
+ # @param [String] fields
4772
+ # Selector specifying which fields to include in a partial response.
4773
+ # @param [String] quota_user
4774
+ # Available to use for quota purposes for server-side applications. Can be any
4775
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4776
+ # @param [Google::Apis::RequestOptions] options
4777
+ # Request-specific options
4778
+ #
4779
+ # @yield [result, err] Result & error if block supplied
4780
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
4781
+ # @yieldparam err [StandardError] error object if request failed
4782
+ #
4783
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
4784
+ #
4785
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4786
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4787
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4788
+ def delete_organization_dns_zone(name, fields: nil, quota_user: nil, options: nil, &block)
4789
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4790
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
4791
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
4792
+ command.params['name'] = name unless name.nil?
4793
+ command.query['fields'] = fields unless fields.nil?
4794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4795
+ execute_or_queue_command(command, &block)
4796
+ end
4797
+
4798
+ # Fetches the representation of an existing DNS zone.
4799
+ # @param [String] name
4800
+ # Required. Name of the DNS zone to fetch. Use the following structure in your
4801
+ # request: `organizations/`org`/dnsZones/`dns_zone``.
4802
+ # @param [String] fields
4803
+ # Selector specifying which fields to include in a partial response.
4804
+ # @param [String] quota_user
4805
+ # Available to use for quota purposes for server-side applications. Can be any
4806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4807
+ # @param [Google::Apis::RequestOptions] options
4808
+ # Request-specific options
4809
+ #
4810
+ # @yield [result, err] Result & error if block supplied
4811
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone] parsed result object
4812
+ # @yieldparam err [StandardError] error object if request failed
4813
+ #
4814
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone]
4815
+ #
4816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4819
+ def get_organization_dns_zone(name, fields: nil, quota_user: nil, options: nil, &block)
4820
+ command = make_simple_command(:get, 'v1/{+name}', options)
4821
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone::Representation
4822
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DnsZone
4823
+ command.params['name'] = name unless name.nil?
4824
+ command.query['fields'] = fields unless fields.nil?
4825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4826
+ execute_or_queue_command(command, &block)
4827
+ end
4828
+
4829
+ # Enumerates DNS zones that have been created but not yet deleted.
4830
+ # @param [String] parent
4831
+ # Required. Name of the organization for which to list the DNS zones. Use the
4832
+ # following structure in your request: `organizations/`org``
4833
+ # @param [Fixnum] page_size
4834
+ # Optional. Maximum number of DNS zones to return. If unspecified, at most 25
4835
+ # DNS zones will be returned.
4836
+ # @param [String] page_token
4837
+ # Optional. Page token, returned from a previous `ListDnsZones` call, that you
4838
+ # can use to retrieve the next page.
4839
+ # @param [String] fields
4840
+ # Selector specifying which fields to include in a partial response.
4841
+ # @param [String] quota_user
4842
+ # Available to use for quota purposes for server-side applications. Can be any
4843
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4844
+ # @param [Google::Apis::RequestOptions] options
4845
+ # Request-specific options
4846
+ #
4847
+ # @yield [result, err] Result & error if block supplied
4848
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDnsZonesResponse] parsed result object
4849
+ # @yieldparam err [StandardError] error object if request failed
4850
+ #
4851
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDnsZonesResponse]
4852
+ #
4853
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4854
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4855
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4856
+ def list_organization_dns_zones(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4857
+ command = make_simple_command(:get, 'v1/{+parent}/dnsZones', options)
4858
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDnsZonesResponse::Representation
4859
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDnsZonesResponse
4860
+ command.params['parent'] = parent unless parent.nil?
4861
+ command.query['pageSize'] = page_size unless page_size.nil?
4862
+ command.query['pageToken'] = page_token unless page_token.nil?
4863
+ command.query['fields'] = fields unless fields.nil?
4864
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4865
+ execute_or_queue_command(command, &block)
4866
+ end
4867
+
4728
4868
  # Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid.
4729
4869
  # @param [String] parent
4730
4870
  # Required. Organization the endpoint attachment will be created in.
@@ -11324,6 +11464,190 @@ module Google
11324
11464
  execute_or_queue_command(command, &block)
11325
11465
  end
11326
11466
 
11467
+ # Create a security monitoring condition.
11468
+ # @param [String] parent
11469
+ # Required. The parent resource name. Format: `organizations/`org``
11470
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition] google_cloud_apigee_v1_security_monitoring_condition_object
11471
+ # @param [String] security_monitoring_condition_id
11472
+ # Optional. Optional: The security monitoring condition id. If not specified, a
11473
+ # monitoring condition uuid will be generated by the backend. This value should
11474
+ # be 4-63 characters, and valid characters are /a-z-/.
11475
+ # @param [String] fields
11476
+ # Selector specifying which fields to include in a partial response.
11477
+ # @param [String] quota_user
11478
+ # Available to use for quota purposes for server-side applications. Can be any
11479
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11480
+ # @param [Google::Apis::RequestOptions] options
11481
+ # Request-specific options
11482
+ #
11483
+ # @yield [result, err] Result & error if block supplied
11484
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition] parsed result object
11485
+ # @yieldparam err [StandardError] error object if request failed
11486
+ #
11487
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition]
11488
+ #
11489
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11490
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11491
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11492
+ def create_organization_security_monitoring_condition(parent, google_cloud_apigee_v1_security_monitoring_condition_object = nil, security_monitoring_condition_id: nil, fields: nil, quota_user: nil, options: nil, &block)
11493
+ command = make_simple_command(:post, 'v1/{+parent}/securityMonitoringConditions', options)
11494
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
11495
+ command.request_object = google_cloud_apigee_v1_security_monitoring_condition_object
11496
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
11497
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition
11498
+ command.params['parent'] = parent unless parent.nil?
11499
+ command.query['securityMonitoringConditionId'] = security_monitoring_condition_id unless security_monitoring_condition_id.nil?
11500
+ command.query['fields'] = fields unless fields.nil?
11501
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11502
+ execute_or_queue_command(command, &block)
11503
+ end
11504
+
11505
+ # Delete a security monitoring condition.
11506
+ # @param [String] name
11507
+ # Required. The name of the security monitoring condition to delete. Format: `
11508
+ # organizations/`org`/securityMonitoringConditions/`
11509
+ # security_monitoring_condition``
11510
+ # @param [String] fields
11511
+ # Selector specifying which fields to include in a partial response.
11512
+ # @param [String] quota_user
11513
+ # Available to use for quota purposes for server-side applications. Can be any
11514
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11515
+ # @param [Google::Apis::RequestOptions] options
11516
+ # Request-specific options
11517
+ #
11518
+ # @yield [result, err] Result & error if block supplied
11519
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
11520
+ # @yieldparam err [StandardError] error object if request failed
11521
+ #
11522
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
11523
+ #
11524
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11525
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11526
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11527
+ def delete_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
11528
+ command = make_simple_command(:delete, 'v1/{+name}', options)
11529
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
11530
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
11531
+ command.params['name'] = name unless name.nil?
11532
+ command.query['fields'] = fields unless fields.nil?
11533
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11534
+ execute_or_queue_command(command, &block)
11535
+ end
11536
+
11537
+ # Get a security monitoring condition.
11538
+ # @param [String] name
11539
+ # Required. The name of the security monitoring condition to get. Format: `
11540
+ # organizations/`org`/securityMonitoringConditions/`
11541
+ # security_monitoring_condition``
11542
+ # @param [String] fields
11543
+ # Selector specifying which fields to include in a partial response.
11544
+ # @param [String] quota_user
11545
+ # Available to use for quota purposes for server-side applications. Can be any
11546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11547
+ # @param [Google::Apis::RequestOptions] options
11548
+ # Request-specific options
11549
+ #
11550
+ # @yield [result, err] Result & error if block supplied
11551
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition] parsed result object
11552
+ # @yieldparam err [StandardError] error object if request failed
11553
+ #
11554
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition]
11555
+ #
11556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11559
+ def get_organization_security_monitoring_condition(name, fields: nil, quota_user: nil, options: nil, &block)
11560
+ command = make_simple_command(:get, 'v1/{+name}', options)
11561
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
11562
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition
11563
+ command.params['name'] = name unless name.nil?
11564
+ command.query['fields'] = fields unless fields.nil?
11565
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11566
+ execute_or_queue_command(command, &block)
11567
+ end
11568
+
11569
+ # List security monitoring conditions.
11570
+ # @param [String] parent
11571
+ # Required. For a specific organization, list all the security monitoring
11572
+ # conditions. Format: `organizations/`org``
11573
+ # @param [String] filter
11574
+ # Optional. Filter for the monitoring conditions. For example: `profile=profile1
11575
+ # AND scope=env1`
11576
+ # @param [Fixnum] page_size
11577
+ # Optional. The maximum number of monitoring conditions to return.
11578
+ # @param [String] page_token
11579
+ # Optional. A page token, received from a previous `
11580
+ # ListSecurityMonitoringConditions` call. Provide this to retrieve the
11581
+ # subsequent page.
11582
+ # @param [String] fields
11583
+ # Selector specifying which fields to include in a partial response.
11584
+ # @param [String] quota_user
11585
+ # Available to use for quota purposes for server-side applications. Can be any
11586
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11587
+ # @param [Google::Apis::RequestOptions] options
11588
+ # Request-specific options
11589
+ #
11590
+ # @yield [result, err] Result & error if block supplied
11591
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse] parsed result object
11592
+ # @yieldparam err [StandardError] error object if request failed
11593
+ #
11594
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse]
11595
+ #
11596
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11597
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11598
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11599
+ def list_organization_security_monitoring_conditions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11600
+ command = make_simple_command(:get, 'v1/{+parent}/securityMonitoringConditions', options)
11601
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse::Representation
11602
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponse
11603
+ command.params['parent'] = parent unless parent.nil?
11604
+ command.query['filter'] = filter unless filter.nil?
11605
+ command.query['pageSize'] = page_size unless page_size.nil?
11606
+ command.query['pageToken'] = page_token unless page_token.nil?
11607
+ command.query['fields'] = fields unless fields.nil?
11608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11609
+ execute_or_queue_command(command, &block)
11610
+ end
11611
+
11612
+ # Update a security monitoring condition.
11613
+ # @param [String] name
11614
+ # Identifier. Name of the security monitoring condition resource. Format:
11615
+ # organizations/`org`/securityMonitoringConditions/`
11616
+ # security_monitoring_condition`
11617
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition] google_cloud_apigee_v1_security_monitoring_condition_object
11618
+ # @param [String] update_mask
11619
+ # Optional. The list of fields to update. Valid fields to update are `profile`, `
11620
+ # scope`, `include_all_resources`, `include`, and `exclude`.
11621
+ # @param [String] fields
11622
+ # Selector specifying which fields to include in a partial response.
11623
+ # @param [String] quota_user
11624
+ # Available to use for quota purposes for server-side applications. Can be any
11625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11626
+ # @param [Google::Apis::RequestOptions] options
11627
+ # Request-specific options
11628
+ #
11629
+ # @yield [result, err] Result & error if block supplied
11630
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition] parsed result object
11631
+ # @yieldparam err [StandardError] error object if request failed
11632
+ #
11633
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition]
11634
+ #
11635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11638
+ def patch_organization_security_monitoring_condition(name, google_cloud_apigee_v1_security_monitoring_condition_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
11639
+ command = make_simple_command(:patch, 'v1/{+name}', options)
11640
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
11641
+ command.request_object = google_cloud_apigee_v1_security_monitoring_condition_object
11642
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition::Representation
11643
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityMonitoringCondition
11644
+ command.params['name'] = name unless name.nil?
11645
+ command.query['updateMask'] = update_mask unless update_mask.nil?
11646
+ command.query['fields'] = fields unless fields.nil?
11647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11648
+ execute_or_queue_command(command, &block)
11649
+ end
11650
+
11327
11651
  # CreateSecurityProfile create a new custom security profile.
11328
11652
  # @param [String] parent
11329
11653
  # Required. Name of organization. Format: organizations/`org`
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.101.0
4
+ version: 0.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.101.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.102.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: