google-apis-apigee_v1 0.114.0 → 0.116.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: e5ec9c3f844812018b59b8ac0811c28753f2df782e4811aae4b9fb34d469977b
4
- data.tar.gz: 7266a5b0c44b441fbbe6122efaa815f35e8b846d04f36cff0365a45939e84cb0
3
+ metadata.gz: 2c418ff6e81b172bd0dc7f72b94d5e9766a347aa1b45f501cb2dcbaa3e4c4e4b
4
+ data.tar.gz: 172274edd8b5c94d3fbfde654d327a578bf67548da14baba25fe65ed4f4517fb
5
5
  SHA512:
6
- metadata.gz: a0bb7d1398229f0fa7077340ce5feed04dd88ef05147fe513bb2aacd547360b4b2f7d0b161ce1cfd1b09f120063413ebcaf5dd7f1308ab0c6b1860295661fd24
7
- data.tar.gz: af441c5fa6743e002325775f476ddccc7b358a71ec421df7c0bf4f351bbd0e3ce74da6c0892b74e481ed4e5a013359951fb523901569bee5ca67f15ffcda326b
6
+ metadata.gz: f6eabd7778087369cf44e0f4c3b7f9cd2f3b79d14b5e3e13a39f24928241204467261674c2d35579fef9fb915c006771bf02335724f35231b4c8961eaf88ce37
7
+ data.tar.gz: 105ffdbca46bf98a77da978fd5027e9836246cb56efc26e6a92feace9cac6f7b0be66e58b62bfe4d8215d630051aeba1f9ef3e734762e1e7499d146a1d3f0eeb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.116.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251105
6
+
7
+ ### v0.115.0 (2025-10-26)
8
+
9
+ * Regenerated from discovery document revision 20251016
10
+
3
11
  ### v0.114.0 (2025-10-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20250929
@@ -2068,6 +2068,16 @@ module Google
2068
2068
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
2069
2069
  include Google::Apis::Core::Hashable
2070
2070
 
2071
+ # Message for the array of API Hub APIs.
2072
+ # Corresponds to the JSON property `apiHubApis`
2073
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray]
2074
+ attr_accessor :api_hub_apis
2075
+
2076
+ # Message for the array of API Hub Gateways.
2077
+ # Corresponds to the JSON property `apiHubGateways`
2078
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray]
2079
+ attr_accessor :api_hub_gateways
2080
+
2071
2081
  # Message for the array of resources. For Apigee, the proxies are resources.
2072
2082
  # Corresponds to the JSON property `include`
2073
2083
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray]
@@ -2096,8 +2106,10 @@ module Google
2096
2106
  # @return [String]
2097
2107
  attr_accessor :profile
2098
2108
 
2099
- # Optional. Scope of the resources for the computation. For Apigee, the
2100
- # environment is the scope of the resources.
2109
+ # Optional. Scope of the resources for the computation. When computing scores
2110
+ # for Apigee proxies, the scope should be set to the environment of the
2111
+ # resources. When computing scores for API Hub deployments, api_hub_scope should
2112
+ # be set instead.
2101
2113
  # Corresponds to the JSON property `scope`
2102
2114
  # @return [String]
2103
2115
  attr_accessor :scope
@@ -2108,6 +2120,8 @@ module Google
2108
2120
 
2109
2121
  # Update properties of this object
2110
2122
  def update!(**args)
2123
+ @api_hub_apis = args[:api_hub_apis] if args.key?(:api_hub_apis)
2124
+ @api_hub_gateways = args[:api_hub_gateways] if args.key?(:api_hub_gateways)
2111
2125
  @include = args[:include] if args.key?(:include)
2112
2126
  @include_all_resources = args[:include_all_resources] if args.key?(:include_all_resources)
2113
2127
  @page_size = args[:page_size] if args.key?(:page_size)
@@ -2117,6 +2131,46 @@ module Google
2117
2131
  end
2118
2132
  end
2119
2133
 
2134
+ # Message for the array of API Hub APIs.
2135
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray
2136
+ include Google::Apis::Core::Hashable
2137
+
2138
+ # Required. The array of API Hub API IDs. Format: `projects/`project`/locations/`
2139
+ # location`/apis/`api``
2140
+ # Corresponds to the JSON property `apis`
2141
+ # @return [Array<String>]
2142
+ attr_accessor :apis
2143
+
2144
+ def initialize(**args)
2145
+ update!(**args)
2146
+ end
2147
+
2148
+ # Update properties of this object
2149
+ def update!(**args)
2150
+ @apis = args[:apis] if args.key?(:apis)
2151
+ end
2152
+ end
2153
+
2154
+ # Message for the array of API Hub Gateways.
2155
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray
2156
+ include Google::Apis::Core::Hashable
2157
+
2158
+ # Required. The array of API Hub Gateway IDs. Format: `projects/`project`/
2159
+ # locations/`location`/plugins/`plugin`/instances/`instance``
2160
+ # Corresponds to the JSON property `gateways`
2161
+ # @return [Array<String>]
2162
+ attr_accessor :gateways
2163
+
2164
+ def initialize(**args)
2165
+ update!(**args)
2166
+ end
2167
+
2168
+ # Update properties of this object
2169
+ def update!(**args)
2170
+ @gateways = args[:gateways] if args.key?(:gateways)
2171
+ end
2172
+ end
2173
+
2120
2174
  # Message for include_all_resources option.
2121
2175
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
2122
2176
  include Google::Apis::Core::Hashable
@@ -2153,7 +2207,9 @@ module Google
2153
2207
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArrayResource
2154
2208
  include Google::Apis::Core::Hashable
2155
2209
 
2156
- # Required. Name of this resource.
2210
+ # Required. Name of this resource. For an Apigee API Proxy, this should be the
2211
+ # id of the API proxy. For an API Hub Deployment, this should be the id of the
2212
+ # deployment.
2157
2213
  # Corresponds to the JSON property `name`
2158
2214
  # @return [String]
2159
2215
  attr_accessor :name
@@ -10330,7 +10386,14 @@ module Google
10330
10386
  class GoogleCloudApigeeV1SecurityAssessmentResultResource
10331
10387
  include Google::Apis::Core::Hashable
10332
10388
 
10333
- # Required. Name of this resource.
10389
+ # Additional details if the resource is an API Hub deployment.
10390
+ # Corresponds to the JSON property `apiHubDeploymentDetails`
10391
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails]
10392
+ attr_accessor :api_hub_deployment_details
10393
+
10394
+ # Required. Name of this resource. For an Apigee API Proxy, this should be the
10395
+ # id of the API proxy. For an API Hub Deployment, this should be the id of the
10396
+ # deployment.
10334
10397
  # Corresponds to the JSON property `name`
10335
10398
  # @return [String]
10336
10399
  attr_accessor :name
@@ -10351,12 +10414,57 @@ module Google
10351
10414
 
10352
10415
  # Update properties of this object
10353
10416
  def update!(**args)
10417
+ @api_hub_deployment_details = args[:api_hub_deployment_details] if args.key?(:api_hub_deployment_details)
10354
10418
  @name = args[:name] if args.key?(:name)
10355
10419
  @resource_revision_id = args[:resource_revision_id] if args.key?(:resource_revision_id)
10356
10420
  @type = args[:type] if args.key?(:type)
10357
10421
  end
10358
10422
  end
10359
10423
 
10424
+ # Additional details if the resource is an API Hub deployment.
10425
+ class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails
10426
+ include Google::Apis::Core::Hashable
10427
+
10428
+ # The display name of the API Hub deployment.
10429
+ # Corresponds to the JSON property `displayName`
10430
+ # @return [String]
10431
+ attr_accessor :display_name
10432
+
10433
+ # The gateway for the API Hub deployment. Format: `projects/`project`/locations/`
10434
+ # location`/plugins/`plugin`/instances/`instance``
10435
+ # Corresponds to the JSON property `gateway`
10436
+ # @return [String]
10437
+ attr_accessor :gateway
10438
+
10439
+ # The gateway type for the API Hub deployment.
10440
+ # Corresponds to the JSON property `gatewayType`
10441
+ # @return [String]
10442
+ attr_accessor :gateway_type
10443
+
10444
+ # The resource uri for the API Hub deployment.
10445
+ # Corresponds to the JSON property `resourceUri`
10446
+ # @return [String]
10447
+ attr_accessor :resource_uri
10448
+
10449
+ # The source project for the API Hub deployment.
10450
+ # Corresponds to the JSON property `sourceProject`
10451
+ # @return [String]
10452
+ attr_accessor :source_project
10453
+
10454
+ def initialize(**args)
10455
+ update!(**args)
10456
+ end
10457
+
10458
+ # Update properties of this object
10459
+ def update!(**args)
10460
+ @display_name = args[:display_name] if args.key?(:display_name)
10461
+ @gateway = args[:gateway] if args.key?(:gateway)
10462
+ @gateway_type = args[:gateway_type] if args.key?(:gateway_type)
10463
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
10464
+ @source_project = args[:source_project] if args.key?(:source_project)
10465
+ end
10466
+ end
10467
+
10360
10468
  # The result of the assessment.
10361
10469
  class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
10362
10470
  include Google::Apis::Core::Hashable
@@ -10937,6 +11045,12 @@ module Google
10937
11045
  # @return [Hash<String,Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig>]
10938
11046
  attr_accessor :profile_assessment_configs
10939
11047
 
11048
+ # Optional. The risk assessment type of the security profile. Defaults to
11049
+ # ADVANCED_API_SECURITY.
11050
+ # Corresponds to the JSON property `riskAssessmentType`
11051
+ # @return [String]
11052
+ attr_accessor :risk_assessment_type
11053
+
10940
11054
  # Output only. The time of the security profile update.
10941
11055
  # Corresponds to the JSON property `updateTime`
10942
11056
  # @return [String]
@@ -10953,6 +11067,7 @@ module Google
10953
11067
  @google_defined = args[:google_defined] if args.key?(:google_defined)
10954
11068
  @name = args[:name] if args.key?(:name)
10955
11069
  @profile_assessment_configs = args[:profile_assessment_configs] if args.key?(:profile_assessment_configs)
11070
+ @risk_assessment_type = args[:risk_assessment_type] if args.key?(:risk_assessment_type)
10956
11071
  @update_time = args[:update_time] if args.key?(:update_time)
10957
11072
  end
10958
11073
  end
@@ -10961,6 +11076,11 @@ module Google
10961
11076
  class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
10962
11077
  include Google::Apis::Core::Hashable
10963
11078
 
11079
+ # Message for the array of API Hub Gateway Types.
11080
+ # Corresponds to the JSON property `include`
11081
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray]
11082
+ attr_accessor :include
11083
+
10964
11084
  # The weight of the assessment.
10965
11085
  # Corresponds to the JSON property `weight`
10966
11086
  # @return [String]
@@ -10972,10 +11092,30 @@ module Google
10972
11092
 
10973
11093
  # Update properties of this object
10974
11094
  def update!(**args)
11095
+ @include = args[:include] if args.key?(:include)
10975
11096
  @weight = args[:weight] if args.key?(:weight)
10976
11097
  end
10977
11098
  end
10978
11099
 
11100
+ # Message for the array of API Hub Gateway Types.
11101
+ class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray
11102
+ include Google::Apis::Core::Hashable
11103
+
11104
+ # Required. The array of API Hub Gateway Types.
11105
+ # Corresponds to the JSON property `gatewayTypes`
11106
+ # @return [Array<String>]
11107
+ attr_accessor :gateway_types
11108
+
11109
+ def initialize(**args)
11110
+ update!(**args)
11111
+ end
11112
+
11113
+ # Update properties of this object
11114
+ def update!(**args)
11115
+ @gateway_types = args[:gateway_types] if args.key?(:gateway_types)
11116
+ end
11117
+ end
11118
+
10979
11119
  # SecurityReport saves all the information about the created security report.
10980
11120
  class GoogleCloudApigeeV1SecurityReport
10981
11121
  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.114.0"
19
+ GEM_VERSION = "0.116.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250929"
25
+ REVISION = "20251105"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,18 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -1576,6 +1588,12 @@ module Google
1576
1588
  include Google::Apis::Core::JsonObjectSupport
1577
1589
  end
1578
1590
 
1591
+ class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails
1592
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1593
+
1594
+ include Google::Apis::Core::JsonObjectSupport
1595
+ end
1596
+
1579
1597
  class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
1580
1598
  class Representation < Google::Apis::Core::JsonRepresentation; end
1581
1599
 
@@ -1660,6 +1678,12 @@ module Google
1660
1678
  include Google::Apis::Core::JsonObjectSupport
1661
1679
  end
1662
1680
 
1681
+ class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray
1682
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1683
+
1684
+ include Google::Apis::Core::JsonObjectSupport
1685
+ end
1686
+
1663
1687
  class GoogleCloudApigeeV1SecurityReport
1664
1688
  class Representation < Google::Apis::Core::JsonRepresentation; end
1665
1689
 
@@ -2437,6 +2461,10 @@ module Google
2437
2461
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest
2438
2462
  # @private
2439
2463
  class Representation < Google::Apis::Core::JsonRepresentation
2464
+ property :api_hub_apis, as: 'apiHubApis', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray::Representation
2465
+
2466
+ property :api_hub_gateways, as: 'apiHubGateways', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray::Representation
2467
+
2440
2468
  property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray::Representation
2441
2469
 
2442
2470
  property :include_all_resources, as: 'includeAllResources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll::Representation
@@ -2448,6 +2476,20 @@ module Google
2448
2476
  end
2449
2477
  end
2450
2478
 
2479
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray
2480
+ # @private
2481
+ class Representation < Google::Apis::Core::JsonRepresentation
2482
+ collection :apis, as: 'apis'
2483
+ end
2484
+ end
2485
+
2486
+ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray
2487
+ # @private
2488
+ class Representation < Google::Apis::Core::JsonRepresentation
2489
+ collection :gateways, as: 'gateways'
2490
+ end
2491
+ end
2492
+
2451
2493
  class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll
2452
2494
  # @private
2453
2495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4713,12 +4755,25 @@ module Google
4713
4755
  class GoogleCloudApigeeV1SecurityAssessmentResultResource
4714
4756
  # @private
4715
4757
  class Representation < Google::Apis::Core::JsonRepresentation
4758
+ property :api_hub_deployment_details, as: 'apiHubDeploymentDetails', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails::Representation
4759
+
4716
4760
  property :name, as: 'name'
4717
4761
  property :resource_revision_id, as: 'resourceRevisionId'
4718
4762
  property :type, as: 'type'
4719
4763
  end
4720
4764
  end
4721
4765
 
4766
+ class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails
4767
+ # @private
4768
+ class Representation < Google::Apis::Core::JsonRepresentation
4769
+ property :display_name, as: 'displayName'
4770
+ property :gateway, as: 'gateway'
4771
+ property :gateway_type, as: 'gatewayType'
4772
+ property :resource_uri, as: 'resourceUri'
4773
+ property :source_project, as: 'sourceProject'
4774
+ end
4775
+ end
4776
+
4722
4777
  class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult
4723
4778
  # @private
4724
4779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4871,6 +4926,7 @@ module Google
4871
4926
  property :name, as: 'name'
4872
4927
  hash :profile_assessment_configs, as: 'profileAssessmentConfigs', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig::Representation
4873
4928
 
4929
+ property :risk_assessment_type, as: 'riskAssessmentType'
4874
4930
  property :update_time, as: 'updateTime'
4875
4931
  end
4876
4932
  end
@@ -4878,10 +4934,19 @@ module Google
4878
4934
  class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
4879
4935
  # @private
4880
4936
  class Representation < Google::Apis::Core::JsonRepresentation
4937
+ property :include, as: 'include', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray::Representation
4938
+
4881
4939
  property :weight, as: 'weight'
4882
4940
  end
4883
4941
  end
4884
4942
 
4943
+ class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray
4944
+ # @private
4945
+ class Representation < Google::Apis::Core::JsonRepresentation
4946
+ collection :gateway_types, as: 'gatewayTypes'
4947
+ end
4948
+ end
4949
+
4885
4950
  class GoogleCloudApigeeV1SecurityReport
4886
4951
  # @private
4887
4952
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1921,6 +1921,85 @@ module Google
1921
1921
  execute_or_queue_command(command, &block)
1922
1922
  end
1923
1923
 
1924
+ # Get the key value map scoped to an organization, environment, or API proxy.
1925
+ # @param [String] name
1926
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
1927
+ # Use **one** of the following structures in your request: * `organizations/`
1928
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
1929
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
1930
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
1931
+ # is under an API Proxy resource that has the `space` attribute set, IAM
1932
+ # permissions are checked against the Space resource path. To learn more, read
1933
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1934
+ # system-administration/spaces/apigee-spaces-overview).
1935
+ # @param [String] fields
1936
+ # Selector specifying which fields to include in a partial response.
1937
+ # @param [String] quota_user
1938
+ # Available to use for quota purposes for server-side applications. Can be any
1939
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1940
+ # @param [Google::Apis::RequestOptions] options
1941
+ # Request-specific options
1942
+ #
1943
+ # @yield [result, err] Result & error if block supplied
1944
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
1945
+ # @yieldparam err [StandardError] error object if request failed
1946
+ #
1947
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
1948
+ #
1949
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1950
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1951
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1952
+ def get_organization_api_keyvaluemap(name, fields: nil, quota_user: nil, options: nil, &block)
1953
+ command = make_simple_command(:get, 'v1/{+name}', options)
1954
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
1955
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
1956
+ command.params['name'] = name unless name.nil?
1957
+ command.query['fields'] = fields unless fields.nil?
1958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1959
+ execute_or_queue_command(command, &block)
1960
+ end
1961
+
1962
+ # Update the key value map scoped to an organization, environment, or API proxy.
1963
+ # @param [String] name
1964
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
1965
+ # Use **one** of the following structures in your request: * `organizations/`
1966
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
1967
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
1968
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
1969
+ # is under an API Proxy resource that has the `space` attribute set, IAM
1970
+ # permissions are checked against the Space resource path. To learn more, read
1971
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
1972
+ # system-administration/spaces/apigee-spaces-overview).
1973
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
1974
+ # @param [String] fields
1975
+ # Selector specifying which fields to include in a partial response.
1976
+ # @param [String] quota_user
1977
+ # Available to use for quota purposes for server-side applications. Can be any
1978
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1979
+ # @param [Google::Apis::RequestOptions] options
1980
+ # Request-specific options
1981
+ #
1982
+ # @yield [result, err] Result & error if block supplied
1983
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
1984
+ # @yieldparam err [StandardError] error object if request failed
1985
+ #
1986
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
1987
+ #
1988
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1989
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1990
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1991
+ def update_organization_api_keyvaluemap(name, google_cloud_apigee_v1_key_value_map_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1992
+ command = make_simple_command(:put, 'v1/{+name}', options)
1993
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
1994
+ command.request_object = google_cloud_apigee_v1_key_value_map_object
1995
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
1996
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
1997
+ command.params['name'] = name unless name.nil?
1998
+ command.query['fields'] = fields unless fields.nil?
1999
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2000
+ execute_or_queue_command(command, &block)
2001
+ end
2002
+
1924
2003
  # Creates key value entries in a key value map scoped to an organization,
1925
2004
  # environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and
1926
2005
  # higher.
@@ -7713,6 +7792,85 @@ module Google
7713
7792
  execute_or_queue_command(command, &block)
7714
7793
  end
7715
7794
 
7795
+ # Get the key value map scoped to an organization, environment, or API proxy.
7796
+ # @param [String] name
7797
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
7798
+ # Use **one** of the following structures in your request: * `organizations/`
7799
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
7800
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
7801
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
7802
+ # is under an API Proxy resource that has the `space` attribute set, IAM
7803
+ # permissions are checked against the Space resource path. To learn more, read
7804
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
7805
+ # system-administration/spaces/apigee-spaces-overview).
7806
+ # @param [String] fields
7807
+ # Selector specifying which fields to include in a partial response.
7808
+ # @param [String] quota_user
7809
+ # Available to use for quota purposes for server-side applications. Can be any
7810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7811
+ # @param [Google::Apis::RequestOptions] options
7812
+ # Request-specific options
7813
+ #
7814
+ # @yield [result, err] Result & error if block supplied
7815
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
7816
+ # @yieldparam err [StandardError] error object if request failed
7817
+ #
7818
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
7819
+ #
7820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7823
+ def get_organization_environment_keyvaluemap(name, fields: nil, quota_user: nil, options: nil, &block)
7824
+ command = make_simple_command(:get, 'v1/{+name}', options)
7825
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
7826
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
7827
+ command.params['name'] = name unless name.nil?
7828
+ command.query['fields'] = fields unless fields.nil?
7829
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7830
+ execute_or_queue_command(command, &block)
7831
+ end
7832
+
7833
+ # Update the key value map scoped to an organization, environment, or API proxy.
7834
+ # @param [String] name
7835
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
7836
+ # Use **one** of the following structures in your request: * `organizations/`
7837
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
7838
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
7839
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
7840
+ # is under an API Proxy resource that has the `space` attribute set, IAM
7841
+ # permissions are checked against the Space resource path. To learn more, read
7842
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
7843
+ # system-administration/spaces/apigee-spaces-overview).
7844
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
7845
+ # @param [String] fields
7846
+ # Selector specifying which fields to include in a partial response.
7847
+ # @param [String] quota_user
7848
+ # Available to use for quota purposes for server-side applications. Can be any
7849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7850
+ # @param [Google::Apis::RequestOptions] options
7851
+ # Request-specific options
7852
+ #
7853
+ # @yield [result, err] Result & error if block supplied
7854
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
7855
+ # @yieldparam err [StandardError] error object if request failed
7856
+ #
7857
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
7858
+ #
7859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7862
+ def update_organization_environment_keyvaluemap(name, google_cloud_apigee_v1_key_value_map_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7863
+ command = make_simple_command(:put, 'v1/{+name}', options)
7864
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
7865
+ command.request_object = google_cloud_apigee_v1_key_value_map_object
7866
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
7867
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
7868
+ command.params['name'] = name unless name.nil?
7869
+ command.query['fields'] = fields unless fields.nil?
7870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7871
+ execute_or_queue_command(command, &block)
7872
+ end
7873
+
7716
7874
  # Creates key value entries in a key value map scoped to an organization,
7717
7875
  # environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and
7718
7876
  # higher.
@@ -10963,6 +11121,85 @@ module Google
10963
11121
  execute_or_queue_command(command, &block)
10964
11122
  end
10965
11123
 
11124
+ # Get the key value map scoped to an organization, environment, or API proxy.
11125
+ # @param [String] name
11126
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
11127
+ # Use **one** of the following structures in your request: * `organizations/`
11128
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
11129
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
11130
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
11131
+ # is under an API Proxy resource that has the `space` attribute set, IAM
11132
+ # permissions are checked against the Space resource path. To learn more, read
11133
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
11134
+ # system-administration/spaces/apigee-spaces-overview).
11135
+ # @param [String] fields
11136
+ # Selector specifying which fields to include in a partial response.
11137
+ # @param [String] quota_user
11138
+ # Available to use for quota purposes for server-side applications. Can be any
11139
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11140
+ # @param [Google::Apis::RequestOptions] options
11141
+ # Request-specific options
11142
+ #
11143
+ # @yield [result, err] Result & error if block supplied
11144
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
11145
+ # @yieldparam err [StandardError] error object if request failed
11146
+ #
11147
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
11148
+ #
11149
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11150
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11151
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11152
+ def get_organization_keyvaluemap(name, fields: nil, quota_user: nil, options: nil, &block)
11153
+ command = make_simple_command(:get, 'v1/{+name}', options)
11154
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
11155
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
11156
+ command.params['name'] = name unless name.nil?
11157
+ command.query['fields'] = fields unless fields.nil?
11158
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11159
+ execute_or_queue_command(command, &block)
11160
+ end
11161
+
11162
+ # Update the key value map scoped to an organization, environment, or API proxy.
11163
+ # @param [String] name
11164
+ # Required. Scope as indicated by the URI in which to fetch the key value map.
11165
+ # Use **one** of the following structures in your request: * `organizations/`
11166
+ # organization`/apis/`api`/keyvaluemaps/`keyvaluemap``. * `organizations/`
11167
+ # organization`/environments/`environment`/keyvaluemaps/`keyvaluemap`` * `
11168
+ # organizations/`organization`/keyvaluemaps/`keyvaluemap``. If the KeyValueMap
11169
+ # is under an API Proxy resource that has the `space` attribute set, IAM
11170
+ # permissions are checked against the Space resource path. To learn more, read
11171
+ # the [Apigee Spaces Overview](https://cloud.google.com/apigee/docs/api-platform/
11172
+ # system-administration/spaces/apigee-spaces-overview).
11173
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] google_cloud_apigee_v1_key_value_map_object
11174
+ # @param [String] fields
11175
+ # Selector specifying which fields to include in a partial response.
11176
+ # @param [String] quota_user
11177
+ # Available to use for quota purposes for server-side applications. Can be any
11178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11179
+ # @param [Google::Apis::RequestOptions] options
11180
+ # Request-specific options
11181
+ #
11182
+ # @yield [result, err] Result & error if block supplied
11183
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap] parsed result object
11184
+ # @yieldparam err [StandardError] error object if request failed
11185
+ #
11186
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap]
11187
+ #
11188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11191
+ def update_organization_keyvaluemap(name, google_cloud_apigee_v1_key_value_map_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11192
+ command = make_simple_command(:put, 'v1/{+name}', options)
11193
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
11194
+ command.request_object = google_cloud_apigee_v1_key_value_map_object
11195
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap::Representation
11196
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyValueMap
11197
+ command.params['name'] = name unless name.nil?
11198
+ command.query['fields'] = fields unless fields.nil?
11199
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11200
+ execute_or_queue_command(command, &block)
11201
+ end
11202
+
10966
11203
  # Creates key value entries in a key value map scoped to an organization,
10967
11204
  # environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and
10968
11205
  # higher.
@@ -12277,6 +12514,9 @@ module Google
12277
12514
  # @param [String] name
12278
12515
  # Required. The name of the security profile v2 to delete. Format: `
12279
12516
  # organizations/`org`/securityProfilesV2/`profile``
12517
+ # @param [String] risk_assessment_type
12518
+ # Optional. The risk assessment type of the security profile. Defaults to
12519
+ # ADVANCED_API_SECURITY.
12280
12520
  # @param [String] fields
12281
12521
  # Selector specifying which fields to include in a partial response.
12282
12522
  # @param [String] quota_user
@@ -12294,11 +12534,12 @@ module Google
12294
12534
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12295
12535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12296
12536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12297
- def delete_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
12537
+ def delete_organization_security_profiles_v2(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
12298
12538
  command = make_simple_command(:delete, 'v1/{+name}', options)
12299
12539
  command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
12300
12540
  command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
12301
12541
  command.params['name'] = name unless name.nil?
12542
+ command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
12302
12543
  command.query['fields'] = fields unless fields.nil?
12303
12544
  command.query['quotaUser'] = quota_user unless quota_user.nil?
12304
12545
  execute_or_queue_command(command, &block)
@@ -12308,6 +12549,9 @@ module Google
12308
12549
  # @param [String] name
12309
12550
  # Required. The name of the security profile v2 to get. Format: `organizations/`
12310
12551
  # org`/securityProfilesV2/`profile``
12552
+ # @param [String] risk_assessment_type
12553
+ # Optional. The risk assessment type of the security profile. Defaults to
12554
+ # ADVANCED_API_SECURITY.
12311
12555
  # @param [String] fields
12312
12556
  # Selector specifying which fields to include in a partial response.
12313
12557
  # @param [String] quota_user
@@ -12325,11 +12569,12 @@ module Google
12325
12569
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12326
12570
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12327
12571
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12328
- def get_organization_security_profiles_v2(name, fields: nil, quota_user: nil, options: nil, &block)
12572
+ def get_organization_security_profiles_v2(name, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
12329
12573
  command = make_simple_command(:get, 'v1/{+name}', options)
12330
12574
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2::Representation
12331
12575
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2
12332
12576
  command.params['name'] = name unless name.nil?
12577
+ command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
12333
12578
  command.query['fields'] = fields unless fields.nil?
12334
12579
  command.query['quotaUser'] = quota_user unless quota_user.nil?
12335
12580
  execute_or_queue_command(command, &block)
@@ -12344,6 +12589,9 @@ module Google
12344
12589
  # @param [String] page_token
12345
12590
  # Optional. A page token, received from a previous `ListSecurityProfilesV2` call.
12346
12591
  # Provide this to retrieve the subsequent page.
12592
+ # @param [String] risk_assessment_type
12593
+ # Optional. The risk assessment type of the security profiles. Defaults to
12594
+ # ADVANCED_API_SECURITY.
12347
12595
  # @param [String] fields
12348
12596
  # Selector specifying which fields to include in a partial response.
12349
12597
  # @param [String] quota_user
@@ -12361,13 +12609,14 @@ module Google
12361
12609
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12362
12610
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12363
12611
  # @raise [Google::Apis::AuthorizationError] Authorization is required
12364
- def list_organization_security_profiles_v2s(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
12612
+ def list_organization_security_profiles_v2s(parent, page_size: nil, page_token: nil, risk_assessment_type: nil, fields: nil, quota_user: nil, options: nil, &block)
12365
12613
  command = make_simple_command(:get, 'v1/{+parent}/securityProfilesV2', options)
12366
12614
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response::Representation
12367
12615
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityProfilesV2Response
12368
12616
  command.params['parent'] = parent unless parent.nil?
12369
12617
  command.query['pageSize'] = page_size unless page_size.nil?
12370
12618
  command.query['pageToken'] = page_token unless page_token.nil?
12619
+ command.query['riskAssessmentType'] = risk_assessment_type unless risk_assessment_type.nil?
12371
12620
  command.query['fields'] = fields unless fields.nil?
12372
12621
  command.query['quotaUser'] = quota_user unless quota_user.nil?
12373
12622
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.114.0
4
+ version: 0.116.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.114.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.116.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: