google-apis-apigee_v1 0.75.0 → 0.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/apigee_v1/classes.rb +489 -20
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +229 -1
- data/lib/google/apis/apigee_v1/service.rb +346 -26
- metadata +3 -3
@@ -2017,22 +2017,16 @@ module Google
|
|
2017
2017
|
execute_or_queue_command(command, &block)
|
2018
2018
|
end
|
2019
2019
|
|
2020
|
-
# Updates an
|
2020
|
+
# Updates an AppGroup. This API replaces the existing AppGroup details with
|
2021
2021
|
# those specified in the request. Include or exclude any existing details that
|
2022
2022
|
# you want to retain or delete, respectively. Note that the state of the
|
2023
|
-
# AppGroup should be updated using `action`, and not via AppGroup.
|
2024
|
-
# OAuth access tokens and Key Management Service (KMS) entities (apps,
|
2025
|
-
# developers, and API products) are cached for 180 seconds (current default).
|
2026
|
-
# Any custom attributes associated with these entities are cached for at least
|
2027
|
-
# 180 seconds after the entity is accessed at runtime. Therefore, an `ExpiresIn`
|
2028
|
-
# element on the OAuthV2 policy won't be able to expire an access token in less
|
2029
|
-
# than 180 seconds.
|
2023
|
+
# AppGroup should be updated using `action`, and not via AppGroup.
|
2030
2024
|
# @param [String] name
|
2031
2025
|
# Required. Name of the AppGroup. Use the following structure in your request: `
|
2032
2026
|
# organizations/`org`/appgroups/`app_group_name``
|
2033
2027
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroup] google_cloud_apigee_v1_app_group_object
|
2034
2028
|
# @param [String] action
|
2035
|
-
# Activate or de-activate the
|
2029
|
+
# Activate or de-activate the AppGroup by setting the action as `active` or `
|
2036
2030
|
# inactive`. The `Content-Type` header must be set to `application/octet-stream`,
|
2037
2031
|
# with empty body.
|
2038
2032
|
# @param [String] fields
|
@@ -4888,6 +4882,37 @@ module Google
|
|
4888
4882
|
execute_or_queue_command(command, &block)
|
4889
4883
|
end
|
4890
4884
|
|
4885
|
+
# Gets the add-ons config of an environment.
|
4886
|
+
# @param [String] name
|
4887
|
+
# Required. Name of the add-ons config. Must be in the format of `/organizations/
|
4888
|
+
# `org`/environments/`env`/addonsConfig`
|
4889
|
+
# @param [String] fields
|
4890
|
+
# Selector specifying which fields to include in a partial response.
|
4891
|
+
# @param [String] quota_user
|
4892
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4893
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4894
|
+
# @param [Google::Apis::RequestOptions] options
|
4895
|
+
# Request-specific options
|
4896
|
+
#
|
4897
|
+
# @yield [result, err] Result & error if block supplied
|
4898
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig] parsed result object
|
4899
|
+
# @yieldparam err [StandardError] error object if request failed
|
4900
|
+
#
|
4901
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
|
4902
|
+
#
|
4903
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4904
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4905
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4906
|
+
def get_organization_environment_addons_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
4907
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
4908
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
4909
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig
|
4910
|
+
command.params['name'] = name unless name.nil?
|
4911
|
+
command.query['fields'] = fields unless fields.nil?
|
4912
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4913
|
+
execute_or_queue_command(command, &block)
|
4914
|
+
end
|
4915
|
+
|
4891
4916
|
# Gets the API Security runtime configuration for an environment. This named
|
4892
4917
|
# ApiSecurityRuntimeConfig to prevent conflicts with ApiSecurityConfig from
|
4893
4918
|
# addon config.
|
@@ -5032,6 +5057,37 @@ module Google
|
|
5032
5057
|
execute_or_queue_command(command, &block)
|
5033
5058
|
end
|
5034
5059
|
|
5060
|
+
# GetSecurityActionConfig returns the current SecurityActions configuration.
|
5061
|
+
# @param [String] name
|
5062
|
+
# Required. The name of the SecurityActionsConfig to retrieve. This will always
|
5063
|
+
# be: `organizations/`org`/environments/`env`/security_actions_config`
|
5064
|
+
# @param [String] fields
|
5065
|
+
# Selector specifying which fields to include in a partial response.
|
5066
|
+
# @param [String] quota_user
|
5067
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5068
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5069
|
+
# @param [Google::Apis::RequestOptions] options
|
5070
|
+
# Request-specific options
|
5071
|
+
#
|
5072
|
+
# @yield [result, err] Result & error if block supplied
|
5073
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] parsed result object
|
5074
|
+
# @yieldparam err [StandardError] error object if request failed
|
5075
|
+
#
|
5076
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig]
|
5077
|
+
#
|
5078
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5079
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5080
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5081
|
+
def get_organization_environment_security_actions_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
5082
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5083
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5084
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig
|
5085
|
+
command.params['name'] = name unless name.nil?
|
5086
|
+
command.query['fields'] = fields unless fields.nil?
|
5087
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5088
|
+
execute_or_queue_command(command, &block)
|
5089
|
+
end
|
5090
|
+
|
5035
5091
|
# Get distributed trace configuration in an environment.
|
5036
5092
|
# @param [String] name
|
5037
5093
|
# Required. Name of the trace configuration. Use the following structure in your
|
@@ -5363,6 +5419,45 @@ module Google
|
|
5363
5419
|
execute_or_queue_command(command, &block)
|
5364
5420
|
end
|
5365
5421
|
|
5422
|
+
# UpdateSecurityActionConfig updates the current SecurityActions configuration.
|
5423
|
+
# This method is used to enable/disable the feature at the environment level.
|
5424
|
+
# @param [String] name
|
5425
|
+
# This is a singleton resource, the name will always be set by SecurityActions
|
5426
|
+
# and any user input will be ignored. The name is always: `organizations/`org`/
|
5427
|
+
# environments/`env`/security_actions_config`
|
5428
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] google_cloud_apigee_v1_security_actions_config_object
|
5429
|
+
# @param [String] update_mask
|
5430
|
+
# The list of fields to update.
|
5431
|
+
# @param [String] fields
|
5432
|
+
# Selector specifying which fields to include in a partial response.
|
5433
|
+
# @param [String] quota_user
|
5434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5436
|
+
# @param [Google::Apis::RequestOptions] options
|
5437
|
+
# Request-specific options
|
5438
|
+
#
|
5439
|
+
# @yield [result, err] Result & error if block supplied
|
5440
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] parsed result object
|
5441
|
+
# @yieldparam err [StandardError] error object if request failed
|
5442
|
+
#
|
5443
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig]
|
5444
|
+
#
|
5445
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5446
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5447
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5448
|
+
def update_organization_environment_security_actions_config(name, google_cloud_apigee_v1_security_actions_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5449
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
5450
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5451
|
+
command.request_object = google_cloud_apigee_v1_security_actions_config_object
|
5452
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5453
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig
|
5454
|
+
command.params['name'] = name unless name.nil?
|
5455
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
5456
|
+
command.query['fields'] = fields unless fields.nil?
|
5457
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5458
|
+
execute_or_queue_command(command, &block)
|
5459
|
+
end
|
5460
|
+
|
5366
5461
|
# Updates the trace configurations in an environment. Note that the repeated
|
5367
5462
|
# fields have replace semantics when included in the field mask and that they
|
5368
5463
|
# will be overwritten by the value of the fields in the request body.
|
@@ -5402,6 +5497,40 @@ module Google
|
|
5402
5497
|
execute_or_queue_command(command, &block)
|
5403
5498
|
end
|
5404
5499
|
|
5500
|
+
# Updates an add-on enablement status of an environment.
|
5501
|
+
# @param [String] name
|
5502
|
+
# Required. Name of the add-ons config. Must be in the format of `/organizations/
|
5503
|
+
# `org`/environments/`env`/addonsConfig`
|
5504
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonEnablementRequest] google_cloud_apigee_v1_set_addon_enablement_request_object
|
5505
|
+
# @param [String] fields
|
5506
|
+
# Selector specifying which fields to include in a partial response.
|
5507
|
+
# @param [String] quota_user
|
5508
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5509
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5510
|
+
# @param [Google::Apis::RequestOptions] options
|
5511
|
+
# Request-specific options
|
5512
|
+
#
|
5513
|
+
# @yield [result, err] Result & error if block supplied
|
5514
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
5515
|
+
# @yieldparam err [StandardError] error object if request failed
|
5516
|
+
#
|
5517
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
5518
|
+
#
|
5519
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5520
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5521
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5522
|
+
def set_organization_environment_addons_config_addon_enablement(name, google_cloud_apigee_v1_set_addon_enablement_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5523
|
+
command = make_simple_command(:post, 'v1/{+name}:setAddonEnablement', options)
|
5524
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonEnablementRequest::Representation
|
5525
|
+
command.request_object = google_cloud_apigee_v1_set_addon_enablement_request_object
|
5526
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
5527
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
5528
|
+
command.params['name'] = name unless name.nil?
|
5529
|
+
command.query['fields'] = fields unless fields.nil?
|
5530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5531
|
+
execute_or_queue_command(command, &block)
|
5532
|
+
end
|
5533
|
+
|
5405
5534
|
# Gets a list of metrics and dimensions that can be used to create analytics
|
5406
5535
|
# queries and reports. Each schema element contains the name of the field, its
|
5407
5536
|
# associated type, and a flag indicating whether it is a standard or custom
|
@@ -5603,11 +5732,10 @@ module Google
|
|
5603
5732
|
# before the new destination for the affected traffic is ready to receive it.
|
5604
5733
|
# This should only be necessary if the new deployment will be capturing traffic
|
5605
5734
|
# from another environment under a shared environment group or if traffic will
|
5606
|
-
# be rerouted to a different environment due to a base path removal. The
|
5607
|
-
# generateDeployChangeReport API
|
5608
|
-
#
|
5609
|
-
#
|
5610
|
-
# deployment.
|
5735
|
+
# be rerouted to a different environment due to a base path removal. The
|
5736
|
+
# generateDeployChangeReport API may be used to examine routing changes before
|
5737
|
+
# issuing the deployment request, and its response will indicate if a sequenced
|
5738
|
+
# rollout is recommended for the deployment.
|
5611
5739
|
# @param [String] service_account
|
5612
5740
|
# Google Cloud IAM service account. The service account represents the identity
|
5613
5741
|
# of the deployed proxy, and determines what permissions it has. The format must
|
@@ -5689,11 +5817,10 @@ module Google
|
|
5689
5817
|
# removed before removing the deployment from the runtime. This is likely to be
|
5690
5818
|
# a rare use case; it is only needed when the intended effect of undeploying
|
5691
5819
|
# this proxy is to cause the traffic it currently handles to be rerouted to some
|
5692
|
-
# other existing proxy in the environment group. The
|
5693
|
-
# GenerateUndeployChangeReport API
|
5694
|
-
#
|
5695
|
-
#
|
5696
|
-
# undeployment.
|
5820
|
+
# other existing proxy in the environment group. The
|
5821
|
+
# GenerateUndeployChangeReport API may be used to examine routing changes before
|
5822
|
+
# issuing the undeployment request, and its response will indicate if a
|
5823
|
+
# sequenced rollout is recommended for the undeployment.
|
5697
5824
|
# @param [String] fields
|
5698
5825
|
# Selector specifying which fields to include in a partial response.
|
5699
5826
|
# @param [String] quota_user
|
@@ -7623,6 +7750,199 @@ module Google
|
|
7623
7750
|
execute_or_queue_command(command, &block)
|
7624
7751
|
end
|
7625
7752
|
|
7753
|
+
# CreateSecurityAction creates a SecurityAction.
|
7754
|
+
# @param [String] parent
|
7755
|
+
# Required. The organization and environment that this SecurityAction applies to.
|
7756
|
+
# Format: organizations/`org`/environments/`env`
|
7757
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] google_cloud_apigee_v1_security_action_object
|
7758
|
+
# @param [String] security_action_id
|
7759
|
+
# Required. The ID to use for the SecurityAction, which will become the final
|
7760
|
+
# component of the action's resource name. This value should be 0-61 characters,
|
7761
|
+
# and valid format is (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
|
7762
|
+
# @param [String] fields
|
7763
|
+
# Selector specifying which fields to include in a partial response.
|
7764
|
+
# @param [String] quota_user
|
7765
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7766
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7767
|
+
# @param [Google::Apis::RequestOptions] options
|
7768
|
+
# Request-specific options
|
7769
|
+
#
|
7770
|
+
# @yield [result, err] Result & error if block supplied
|
7771
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7772
|
+
# @yieldparam err [StandardError] error object if request failed
|
7773
|
+
#
|
7774
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7775
|
+
#
|
7776
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7777
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7778
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7779
|
+
def create_organization_environment_security_action(parent, google_cloud_apigee_v1_security_action_object = nil, security_action_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7780
|
+
command = make_simple_command(:post, 'v1/{+parent}/securityActions', options)
|
7781
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7782
|
+
command.request_object = google_cloud_apigee_v1_security_action_object
|
7783
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7784
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7785
|
+
command.params['parent'] = parent unless parent.nil?
|
7786
|
+
command.query['securityActionId'] = security_action_id unless security_action_id.nil?
|
7787
|
+
command.query['fields'] = fields unless fields.nil?
|
7788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7789
|
+
execute_or_queue_command(command, &block)
|
7790
|
+
end
|
7791
|
+
|
7792
|
+
# Disable a SecurityAction. The `state` of the SecurityAction after disabling is
|
7793
|
+
# `DISABLED`. `DisableSecurityAction` can be called on SecurityActions in the
|
7794
|
+
# state `ENABLED`; SecurityActions in a different state (including `DISABLED`)
|
7795
|
+
# return an error.
|
7796
|
+
# @param [String] name
|
7797
|
+
# Required. The name of the SecurityAction to disable. Format: organizations/`
|
7798
|
+
# org`/environments/`env`/securityActions/`security_action`
|
7799
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DisableSecurityActionRequest] google_cloud_apigee_v1_disable_security_action_request_object
|
7800
|
+
# @param [String] fields
|
7801
|
+
# Selector specifying which fields to include in a partial response.
|
7802
|
+
# @param [String] quota_user
|
7803
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7804
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7805
|
+
# @param [Google::Apis::RequestOptions] options
|
7806
|
+
# Request-specific options
|
7807
|
+
#
|
7808
|
+
# @yield [result, err] Result & error if block supplied
|
7809
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7810
|
+
# @yieldparam err [StandardError] error object if request failed
|
7811
|
+
#
|
7812
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7813
|
+
#
|
7814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7817
|
+
def disable_organization_environment_security_action(name, google_cloud_apigee_v1_disable_security_action_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7818
|
+
command = make_simple_command(:post, 'v1/{+name}:disable', options)
|
7819
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DisableSecurityActionRequest::Representation
|
7820
|
+
command.request_object = google_cloud_apigee_v1_disable_security_action_request_object
|
7821
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7822
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7823
|
+
command.params['name'] = name unless name.nil?
|
7824
|
+
command.query['fields'] = fields unless fields.nil?
|
7825
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7826
|
+
execute_or_queue_command(command, &block)
|
7827
|
+
end
|
7828
|
+
|
7829
|
+
# Enable a SecurityAction. The `state` of the SecurityAction after enabling is `
|
7830
|
+
# ENABLED`. `EnableSecurityAction` can be called on SecurityActions in the state
|
7831
|
+
# `DISABLED`; SecurityActions in a different state (including `ENABLED) return
|
7832
|
+
# an error.
|
7833
|
+
# @param [String] name
|
7834
|
+
# Required. The name of the SecurityAction to enable. Format: organizations/`org`
|
7835
|
+
# /environments/`env`/securityActions/`security_action`
|
7836
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnableSecurityActionRequest] google_cloud_apigee_v1_enable_security_action_request_object
|
7837
|
+
# @param [String] fields
|
7838
|
+
# Selector specifying which fields to include in a partial response.
|
7839
|
+
# @param [String] quota_user
|
7840
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7841
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7842
|
+
# @param [Google::Apis::RequestOptions] options
|
7843
|
+
# Request-specific options
|
7844
|
+
#
|
7845
|
+
# @yield [result, err] Result & error if block supplied
|
7846
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7847
|
+
# @yieldparam err [StandardError] error object if request failed
|
7848
|
+
#
|
7849
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7850
|
+
#
|
7851
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7852
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7853
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7854
|
+
def enable_organization_environment_security_action(name, google_cloud_apigee_v1_enable_security_action_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7855
|
+
command = make_simple_command(:post, 'v1/{+name}:enable', options)
|
7856
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnableSecurityActionRequest::Representation
|
7857
|
+
command.request_object = google_cloud_apigee_v1_enable_security_action_request_object
|
7858
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7859
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7860
|
+
command.params['name'] = name unless name.nil?
|
7861
|
+
command.query['fields'] = fields unless fields.nil?
|
7862
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7863
|
+
execute_or_queue_command(command, &block)
|
7864
|
+
end
|
7865
|
+
|
7866
|
+
# Get a SecurityAction by name.
|
7867
|
+
# @param [String] name
|
7868
|
+
# Required. The fully qualified name of the SecurityAction to retrieve. Format:
|
7869
|
+
# organizations/`org`/environments/`env`/securityActions/`security_action`
|
7870
|
+
# @param [String] fields
|
7871
|
+
# Selector specifying which fields to include in a partial response.
|
7872
|
+
# @param [String] quota_user
|
7873
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7874
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7875
|
+
# @param [Google::Apis::RequestOptions] options
|
7876
|
+
# Request-specific options
|
7877
|
+
#
|
7878
|
+
# @yield [result, err] Result & error if block supplied
|
7879
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7880
|
+
# @yieldparam err [StandardError] error object if request failed
|
7881
|
+
#
|
7882
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7883
|
+
#
|
7884
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7885
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7886
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7887
|
+
def get_organization_environment_security_action(name, fields: nil, quota_user: nil, options: nil, &block)
|
7888
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7889
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7890
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7891
|
+
command.params['name'] = name unless name.nil?
|
7892
|
+
command.query['fields'] = fields unless fields.nil?
|
7893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7894
|
+
execute_or_queue_command(command, &block)
|
7895
|
+
end
|
7896
|
+
|
7897
|
+
# Returns a list of SecurityActions. This returns both enabled and disabled
|
7898
|
+
# actions.
|
7899
|
+
# @param [String] parent
|
7900
|
+
# Required. The parent, which owns this collection of SecurityActions. Format:
|
7901
|
+
# organizations/`org`/environments/`env`
|
7902
|
+
# @param [String] filter
|
7903
|
+
# The filter expression to filter List results. https://google.aip.dev/160.
|
7904
|
+
# Allows for filtering over: state and api_proxies. E.g.: state = ACTIVE AND
|
7905
|
+
# apiProxies:foo. Filtering by action is not supported https://github.com/aip-
|
7906
|
+
# dev/google.aip.dev/issues/624
|
7907
|
+
# @param [Fixnum] page_size
|
7908
|
+
# The maximum number of SecurityActions to return. If unspecified, at most 50
|
7909
|
+
# SecurityActions will be returned. The maximum value is 1000; values above 1000
|
7910
|
+
# will be coerced to 1000.
|
7911
|
+
# @param [String] page_token
|
7912
|
+
# A page token, received from a previous `ListSecurityActions` call. Provide
|
7913
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
7914
|
+
# provided to `ListSecurityActions` must match the call that provided the page
|
7915
|
+
# token.
|
7916
|
+
# @param [String] fields
|
7917
|
+
# Selector specifying which fields to include in a partial response.
|
7918
|
+
# @param [String] quota_user
|
7919
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7920
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7921
|
+
# @param [Google::Apis::RequestOptions] options
|
7922
|
+
# Request-specific options
|
7923
|
+
#
|
7924
|
+
# @yield [result, err] Result & error if block supplied
|
7925
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse] parsed result object
|
7926
|
+
# @yieldparam err [StandardError] error object if request failed
|
7927
|
+
#
|
7928
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse]
|
7929
|
+
#
|
7930
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7931
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7932
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7933
|
+
def list_organization_environment_security_actions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7934
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityActions', options)
|
7935
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse::Representation
|
7936
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse
|
7937
|
+
command.params['parent'] = parent unless parent.nil?
|
7938
|
+
command.query['filter'] = filter unless filter.nil?
|
7939
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
7940
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
7941
|
+
command.query['fields'] = fields unless fields.nil?
|
7942
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7943
|
+
execute_or_queue_command(command, &block)
|
7944
|
+
end
|
7945
|
+
|
7626
7946
|
# GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if
|
7627
7947
|
# security incident is not present for the specified organization and
|
7628
7948
|
# environment.
|
@@ -10145,8 +10465,8 @@ module Google
|
|
10145
10465
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] google_cloud_apigee_v1_security_profile_object
|
10146
10466
|
# @param [String] security_profile_id
|
10147
10467
|
# Required. The ID to use for the SecurityProfile, which will become the final
|
10148
|
-
# component of the action's resource name. This value should be
|
10149
|
-
# and
|
10468
|
+
# component of the action's resource name. This value should be 1-63 characters
|
10469
|
+
# and validated by "(^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$)".
|
10150
10470
|
# @param [String] fields
|
10151
10471
|
# Selector specifying which fields to include in a partial response.
|
10152
10472
|
# @param [String] quota_user
|
@@ -10786,7 +11106,7 @@ module Google
|
|
10786
11106
|
execute_or_queue_command(command, &block)
|
10787
11107
|
end
|
10788
11108
|
|
10789
|
-
# Creates a new category
|
11109
|
+
# Creates a new API category.
|
10790
11110
|
# @param [String] parent
|
10791
11111
|
# Required. Name of the portal. Use the following structure in your request: `
|
10792
11112
|
# organizations/`org`/sites/`site``
|
@@ -10820,7 +11140,7 @@ module Google
|
|
10820
11140
|
execute_or_queue_command(command, &block)
|
10821
11141
|
end
|
10822
11142
|
|
10823
|
-
# Deletes
|
11143
|
+
# Deletes an API category.
|
10824
11144
|
# @param [String] name
|
10825
11145
|
# Required. Name of the category. Use the following structure in your request: `
|
10826
11146
|
# organizations/`org`/sites/`site`/apicategories/`apicategory``
|
@@ -10851,7 +11171,7 @@ module Google
|
|
10851
11171
|
execute_or_queue_command(command, &block)
|
10852
11172
|
end
|
10853
11173
|
|
10854
|
-
# Gets
|
11174
|
+
# Gets an API category.
|
10855
11175
|
# @param [String] name
|
10856
11176
|
# Required. Name of the category. Use the following structure in your request: `
|
10857
11177
|
# organizations/`org`/sites/`site`/apicategories/`apicategory``
|
@@ -10882,7 +11202,7 @@ module Google
|
|
10882
11202
|
execute_or_queue_command(command, &block)
|
10883
11203
|
end
|
10884
11204
|
|
10885
|
-
#
|
11205
|
+
# Returns the API categories associated with a portal.
|
10886
11206
|
# @param [String] parent
|
10887
11207
|
# Required. Name of the portal. Use the following structure in your request: `
|
10888
11208
|
# organizations/`org`/sites/`site``
|
@@ -10913,7 +11233,7 @@ module Google
|
|
10913
11233
|
execute_or_queue_command(command, &block)
|
10914
11234
|
end
|
10915
11235
|
|
10916
|
-
# Updates
|
11236
|
+
# Updates an API category.
|
10917
11237
|
# @param [String] name
|
10918
11238
|
# Required. Name of the category. Use the following structure in your request: `
|
10919
11239
|
# organizations/`org`/sites/`site`/apicategories/`apicategory``
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.77.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: 2023-
|
11
|
+
date: 2023-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.77.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: []
|