google-apis-apigee_v1 0.75.0 → 0.76.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/apigee_v1/classes.rb +473 -2
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +229 -0
- data/lib/google/apis/apigee_v1/service.rb +338 -12
- metadata +3 -3
@@ -4888,6 +4888,37 @@ module Google
|
|
4888
4888
|
execute_or_queue_command(command, &block)
|
4889
4889
|
end
|
4890
4890
|
|
4891
|
+
# Gets the add-ons config of an environment.
|
4892
|
+
# @param [String] name
|
4893
|
+
# Required. Name of the add-ons config. Must be in the format of `/organizations/
|
4894
|
+
# `org`/environments/`env`/addonsConfig`
|
4895
|
+
# @param [String] fields
|
4896
|
+
# Selector specifying which fields to include in a partial response.
|
4897
|
+
# @param [String] quota_user
|
4898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4900
|
+
# @param [Google::Apis::RequestOptions] options
|
4901
|
+
# Request-specific options
|
4902
|
+
#
|
4903
|
+
# @yield [result, err] Result & error if block supplied
|
4904
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig] parsed result object
|
4905
|
+
# @yieldparam err [StandardError] error object if request failed
|
4906
|
+
#
|
4907
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig]
|
4908
|
+
#
|
4909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4912
|
+
def get_organization_environment_addons_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
4913
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
4914
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig::Representation
|
4915
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AddonsConfig
|
4916
|
+
command.params['name'] = name unless name.nil?
|
4917
|
+
command.query['fields'] = fields unless fields.nil?
|
4918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4919
|
+
execute_or_queue_command(command, &block)
|
4920
|
+
end
|
4921
|
+
|
4891
4922
|
# Gets the API Security runtime configuration for an environment. This named
|
4892
4923
|
# ApiSecurityRuntimeConfig to prevent conflicts with ApiSecurityConfig from
|
4893
4924
|
# addon config.
|
@@ -5032,6 +5063,37 @@ module Google
|
|
5032
5063
|
execute_or_queue_command(command, &block)
|
5033
5064
|
end
|
5034
5065
|
|
5066
|
+
# GetSecurityActionConfig returns the current SecurityActions configuration.
|
5067
|
+
# @param [String] name
|
5068
|
+
# Required. The name of the SecurityActionsConfig to retrieve. This will always
|
5069
|
+
# be: `organizations/`org`/environments/`env`/security_actions_config`
|
5070
|
+
# @param [String] fields
|
5071
|
+
# Selector specifying which fields to include in a partial response.
|
5072
|
+
# @param [String] quota_user
|
5073
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5074
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5075
|
+
# @param [Google::Apis::RequestOptions] options
|
5076
|
+
# Request-specific options
|
5077
|
+
#
|
5078
|
+
# @yield [result, err] Result & error if block supplied
|
5079
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] parsed result object
|
5080
|
+
# @yieldparam err [StandardError] error object if request failed
|
5081
|
+
#
|
5082
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig]
|
5083
|
+
#
|
5084
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5085
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5086
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5087
|
+
def get_organization_environment_security_actions_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
5088
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
5089
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5090
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig
|
5091
|
+
command.params['name'] = name unless name.nil?
|
5092
|
+
command.query['fields'] = fields unless fields.nil?
|
5093
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5094
|
+
execute_or_queue_command(command, &block)
|
5095
|
+
end
|
5096
|
+
|
5035
5097
|
# Get distributed trace configuration in an environment.
|
5036
5098
|
# @param [String] name
|
5037
5099
|
# Required. Name of the trace configuration. Use the following structure in your
|
@@ -5363,6 +5425,45 @@ module Google
|
|
5363
5425
|
execute_or_queue_command(command, &block)
|
5364
5426
|
end
|
5365
5427
|
|
5428
|
+
# UpdateSecurityActionConfig updates the current SecurityActions configuration.
|
5429
|
+
# This method is used to enable/disable the feature at the environment level.
|
5430
|
+
# @param [String] name
|
5431
|
+
# This is a singleton resource, the name will always be set by SecurityActions
|
5432
|
+
# and any user input will be ignored. The name is always: `organizations/`org`/
|
5433
|
+
# environments/`env`/security_actions_config`
|
5434
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] google_cloud_apigee_v1_security_actions_config_object
|
5435
|
+
# @param [String] update_mask
|
5436
|
+
# The list of fields to update.
|
5437
|
+
# @param [String] fields
|
5438
|
+
# Selector specifying which fields to include in a partial response.
|
5439
|
+
# @param [String] quota_user
|
5440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5442
|
+
# @param [Google::Apis::RequestOptions] options
|
5443
|
+
# Request-specific options
|
5444
|
+
#
|
5445
|
+
# @yield [result, err] Result & error if block supplied
|
5446
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig] parsed result object
|
5447
|
+
# @yieldparam err [StandardError] error object if request failed
|
5448
|
+
#
|
5449
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig]
|
5450
|
+
#
|
5451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5454
|
+
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)
|
5455
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
5456
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5457
|
+
command.request_object = google_cloud_apigee_v1_security_actions_config_object
|
5458
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig::Representation
|
5459
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityActionsConfig
|
5460
|
+
command.params['name'] = name unless name.nil?
|
5461
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
5462
|
+
command.query['fields'] = fields unless fields.nil?
|
5463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5464
|
+
execute_or_queue_command(command, &block)
|
5465
|
+
end
|
5466
|
+
|
5366
5467
|
# Updates the trace configurations in an environment. Note that the repeated
|
5367
5468
|
# fields have replace semantics when included in the field mask and that they
|
5368
5469
|
# will be overwritten by the value of the fields in the request body.
|
@@ -5402,6 +5503,40 @@ module Google
|
|
5402
5503
|
execute_or_queue_command(command, &block)
|
5403
5504
|
end
|
5404
5505
|
|
5506
|
+
# Updates an add-on enablement status of an environment.
|
5507
|
+
# @param [String] name
|
5508
|
+
# Required. Name of the add-ons config. Must be in the format of `/organizations/
|
5509
|
+
# `org`/environments/`env`/addonsConfig`
|
5510
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonEnablementRequest] google_cloud_apigee_v1_set_addon_enablement_request_object
|
5511
|
+
# @param [String] fields
|
5512
|
+
# Selector specifying which fields to include in a partial response.
|
5513
|
+
# @param [String] quota_user
|
5514
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5515
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5516
|
+
# @param [Google::Apis::RequestOptions] options
|
5517
|
+
# Request-specific options
|
5518
|
+
#
|
5519
|
+
# @yield [result, err] Result & error if block supplied
|
5520
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
5521
|
+
# @yieldparam err [StandardError] error object if request failed
|
5522
|
+
#
|
5523
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
5524
|
+
#
|
5525
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5526
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5527
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5528
|
+
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)
|
5529
|
+
command = make_simple_command(:post, 'v1/{+name}:setAddonEnablement', options)
|
5530
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SetAddonEnablementRequest::Representation
|
5531
|
+
command.request_object = google_cloud_apigee_v1_set_addon_enablement_request_object
|
5532
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
5533
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
5534
|
+
command.params['name'] = name unless name.nil?
|
5535
|
+
command.query['fields'] = fields unless fields.nil?
|
5536
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5537
|
+
execute_or_queue_command(command, &block)
|
5538
|
+
end
|
5539
|
+
|
5405
5540
|
# Gets a list of metrics and dimensions that can be used to create analytics
|
5406
5541
|
# queries and reports. Each schema element contains the name of the field, its
|
5407
5542
|
# associated type, and a flag indicating whether it is a standard or custom
|
@@ -5603,11 +5738,10 @@ module Google
|
|
5603
5738
|
# before the new destination for the affected traffic is ready to receive it.
|
5604
5739
|
# This should only be necessary if the new deployment will be capturing traffic
|
5605
5740
|
# 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.
|
5741
|
+
# be rerouted to a different environment due to a base path removal. The
|
5742
|
+
# generateDeployChangeReport API may be used to examine routing changes before
|
5743
|
+
# issuing the deployment request, and its response will indicate if a sequenced
|
5744
|
+
# rollout is recommended for the deployment.
|
5611
5745
|
# @param [String] service_account
|
5612
5746
|
# Google Cloud IAM service account. The service account represents the identity
|
5613
5747
|
# of the deployed proxy, and determines what permissions it has. The format must
|
@@ -5689,11 +5823,10 @@ module Google
|
|
5689
5823
|
# removed before removing the deployment from the runtime. This is likely to be
|
5690
5824
|
# a rare use case; it is only needed when the intended effect of undeploying
|
5691
5825
|
# 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.
|
5826
|
+
# other existing proxy in the environment group. The
|
5827
|
+
# GenerateUndeployChangeReport API may be used to examine routing changes before
|
5828
|
+
# issuing the undeployment request, and its response will indicate if a
|
5829
|
+
# sequenced rollout is recommended for the undeployment.
|
5697
5830
|
# @param [String] fields
|
5698
5831
|
# Selector specifying which fields to include in a partial response.
|
5699
5832
|
# @param [String] quota_user
|
@@ -7623,6 +7756,199 @@ module Google
|
|
7623
7756
|
execute_or_queue_command(command, &block)
|
7624
7757
|
end
|
7625
7758
|
|
7759
|
+
# CreateSecurityAction creates a SecurityAction.
|
7760
|
+
# @param [String] parent
|
7761
|
+
# Required. The organization and environment that this SecurityAction applies to.
|
7762
|
+
# Format: organizations/`org`/environments/`env`
|
7763
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] google_cloud_apigee_v1_security_action_object
|
7764
|
+
# @param [String] security_action_id
|
7765
|
+
# Required. The ID to use for the SecurityAction, which will become the final
|
7766
|
+
# component of the action's resource name. This value should be 0-61 characters,
|
7767
|
+
# and valid format is (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
|
7768
|
+
# @param [String] fields
|
7769
|
+
# Selector specifying which fields to include in a partial response.
|
7770
|
+
# @param [String] quota_user
|
7771
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7772
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7773
|
+
# @param [Google::Apis::RequestOptions] options
|
7774
|
+
# Request-specific options
|
7775
|
+
#
|
7776
|
+
# @yield [result, err] Result & error if block supplied
|
7777
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7778
|
+
# @yieldparam err [StandardError] error object if request failed
|
7779
|
+
#
|
7780
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7781
|
+
#
|
7782
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7783
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7784
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7785
|
+
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)
|
7786
|
+
command = make_simple_command(:post, 'v1/{+parent}/securityActions', options)
|
7787
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7788
|
+
command.request_object = google_cloud_apigee_v1_security_action_object
|
7789
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7790
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7791
|
+
command.params['parent'] = parent unless parent.nil?
|
7792
|
+
command.query['securityActionId'] = security_action_id unless security_action_id.nil?
|
7793
|
+
command.query['fields'] = fields unless fields.nil?
|
7794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7795
|
+
execute_or_queue_command(command, &block)
|
7796
|
+
end
|
7797
|
+
|
7798
|
+
# Disable a SecurityAction. The `state` of the SecurityAction after disabling is
|
7799
|
+
# `DISABLED`. `DisableSecurityAction` can be called on SecurityActions in the
|
7800
|
+
# state `ENABLED`; SecurityActions in a different state (including `DISABLED`)
|
7801
|
+
# return an error.
|
7802
|
+
# @param [String] name
|
7803
|
+
# Required. The name of the SecurityAction to disable. Format: organizations/`
|
7804
|
+
# org`/environments/`env`/securityActions/`security_action`
|
7805
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DisableSecurityActionRequest] google_cloud_apigee_v1_disable_security_action_request_object
|
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::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7816
|
+
# @yieldparam err [StandardError] error object if request failed
|
7817
|
+
#
|
7818
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
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 disable_organization_environment_security_action(name, google_cloud_apigee_v1_disable_security_action_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7824
|
+
command = make_simple_command(:post, 'v1/{+name}:disable', options)
|
7825
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DisableSecurityActionRequest::Representation
|
7826
|
+
command.request_object = google_cloud_apigee_v1_disable_security_action_request_object
|
7827
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7828
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7829
|
+
command.params['name'] = name unless name.nil?
|
7830
|
+
command.query['fields'] = fields unless fields.nil?
|
7831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7832
|
+
execute_or_queue_command(command, &block)
|
7833
|
+
end
|
7834
|
+
|
7835
|
+
# Enable a SecurityAction. The `state` of the SecurityAction after enabling is `
|
7836
|
+
# ENABLED`. `EnableSecurityAction` can be called on SecurityActions in the state
|
7837
|
+
# `DISABLED`; SecurityActions in a different state (including `ENABLED) return
|
7838
|
+
# an error.
|
7839
|
+
# @param [String] name
|
7840
|
+
# Required. The name of the SecurityAction to enable. Format: organizations/`org`
|
7841
|
+
# /environments/`env`/securityActions/`security_action`
|
7842
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnableSecurityActionRequest] google_cloud_apigee_v1_enable_security_action_request_object
|
7843
|
+
# @param [String] fields
|
7844
|
+
# Selector specifying which fields to include in a partial response.
|
7845
|
+
# @param [String] quota_user
|
7846
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7847
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7848
|
+
# @param [Google::Apis::RequestOptions] options
|
7849
|
+
# Request-specific options
|
7850
|
+
#
|
7851
|
+
# @yield [result, err] Result & error if block supplied
|
7852
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7853
|
+
# @yieldparam err [StandardError] error object if request failed
|
7854
|
+
#
|
7855
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7856
|
+
#
|
7857
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7858
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7859
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7860
|
+
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)
|
7861
|
+
command = make_simple_command(:post, 'v1/{+name}:enable', options)
|
7862
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnableSecurityActionRequest::Representation
|
7863
|
+
command.request_object = google_cloud_apigee_v1_enable_security_action_request_object
|
7864
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7865
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7866
|
+
command.params['name'] = name unless name.nil?
|
7867
|
+
command.query['fields'] = fields unless fields.nil?
|
7868
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7869
|
+
execute_or_queue_command(command, &block)
|
7870
|
+
end
|
7871
|
+
|
7872
|
+
# Get a SecurityAction by name.
|
7873
|
+
# @param [String] name
|
7874
|
+
# Required. The fully qualified name of the SecurityAction to retrieve. Format:
|
7875
|
+
# organizations/`org`/environments/`env`/securityActions/`security_action`
|
7876
|
+
# @param [String] fields
|
7877
|
+
# Selector specifying which fields to include in a partial response.
|
7878
|
+
# @param [String] quota_user
|
7879
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7880
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7881
|
+
# @param [Google::Apis::RequestOptions] options
|
7882
|
+
# Request-specific options
|
7883
|
+
#
|
7884
|
+
# @yield [result, err] Result & error if block supplied
|
7885
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction] parsed result object
|
7886
|
+
# @yieldparam err [StandardError] error object if request failed
|
7887
|
+
#
|
7888
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction]
|
7889
|
+
#
|
7890
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7891
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7892
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7893
|
+
def get_organization_environment_security_action(name, fields: nil, quota_user: nil, options: nil, &block)
|
7894
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
7895
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction::Representation
|
7896
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAction
|
7897
|
+
command.params['name'] = name unless name.nil?
|
7898
|
+
command.query['fields'] = fields unless fields.nil?
|
7899
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7900
|
+
execute_or_queue_command(command, &block)
|
7901
|
+
end
|
7902
|
+
|
7903
|
+
# Returns a list of SecurityActions. This returns both enabled and disabled
|
7904
|
+
# actions.
|
7905
|
+
# @param [String] parent
|
7906
|
+
# Required. The parent, which owns this collection of SecurityActions. Format:
|
7907
|
+
# organizations/`org`/environments/`env`
|
7908
|
+
# @param [String] filter
|
7909
|
+
# The filter expression to filter List results. https://google.aip.dev/160.
|
7910
|
+
# Allows for filtering over: state and api_proxies. E.g.: state = ACTIVE AND
|
7911
|
+
# apiProxies:foo. Filtering by action is not supported https://github.com/aip-
|
7912
|
+
# dev/google.aip.dev/issues/624
|
7913
|
+
# @param [Fixnum] page_size
|
7914
|
+
# The maximum number of SecurityActions to return. If unspecified, at most 50
|
7915
|
+
# SecurityActions will be returned. The maximum value is 1000; values above 1000
|
7916
|
+
# will be coerced to 1000.
|
7917
|
+
# @param [String] page_token
|
7918
|
+
# A page token, received from a previous `ListSecurityActions` call. Provide
|
7919
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
7920
|
+
# provided to `ListSecurityActions` must match the call that provided the page
|
7921
|
+
# token.
|
7922
|
+
# @param [String] fields
|
7923
|
+
# Selector specifying which fields to include in a partial response.
|
7924
|
+
# @param [String] quota_user
|
7925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7927
|
+
# @param [Google::Apis::RequestOptions] options
|
7928
|
+
# Request-specific options
|
7929
|
+
#
|
7930
|
+
# @yield [result, err] Result & error if block supplied
|
7931
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse] parsed result object
|
7932
|
+
# @yieldparam err [StandardError] error object if request failed
|
7933
|
+
#
|
7934
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse]
|
7935
|
+
#
|
7936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7939
|
+
def list_organization_environment_security_actions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7940
|
+
command = make_simple_command(:get, 'v1/{+parent}/securityActions', options)
|
7941
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse::Representation
|
7942
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListSecurityActionsResponse
|
7943
|
+
command.params['parent'] = parent unless parent.nil?
|
7944
|
+
command.query['filter'] = filter unless filter.nil?
|
7945
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
7946
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
7947
|
+
command.query['fields'] = fields unless fields.nil?
|
7948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7949
|
+
execute_or_queue_command(command, &block)
|
7950
|
+
end
|
7951
|
+
|
7626
7952
|
# GetSecurityIncident gets the specified security incident. Returns NOT_FOUND if
|
7627
7953
|
# security incident is not present for the specified organization and
|
7628
7954
|
# environment.
|
@@ -10145,8 +10471,8 @@ module Google
|
|
10145
10471
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfile] google_cloud_apigee_v1_security_profile_object
|
10146
10472
|
# @param [String] security_profile_id
|
10147
10473
|
# 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
|
10474
|
+
# component of the action's resource name. This value should be 1-63 characters
|
10475
|
+
# and validated by "(^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$)".
|
10150
10476
|
# @param [String] fields
|
10151
10477
|
# Selector specifying which fields to include in a partial response.
|
10152
10478
|
# @param [String] quota_user
|
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.76.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-01 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.76.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: []
|