Class: Google::Apis::NetworksecurityV1::NetworkSecurityService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::NetworksecurityV1::NetworkSecurityService
- Defined in:
- lib/google/apis/networksecurity_v1/service.rb
Overview
Network Security API
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://networksecurity.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#add_organization_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Adds items to an address group.
-
#add_project_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Adds items to an address group.
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#clone_organization_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Clones items from one address group to another.
-
#clone_project_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Clones items from one address group to another.
-
#create_organization_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new address group in a given project and location.
-
#create_organization_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpoint in a given organization and location.
-
#create_organization_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfile in a given organization and location.
-
#create_organization_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfileGroup in a given organization and location.
-
#create_project_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new address group in a given project and location.
-
#create_project_location_authorization_policy(parent, authorization_policy_object = nil, authorization_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new AuthorizationPolicy in a given project and location.
-
#create_project_location_authz_policy(parent, authz_policy_object = nil, authz_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new AuthzPolicy in a given project and location.
-
#create_project_location_backend_authentication_config(parent, backend_authentication_config_object = nil, backend_authentication_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new BackendAuthenticationConfig in a given project and location.
-
#create_project_location_client_tls_policy(parent, client_tls_policy_object = nil, client_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new ClientTlsPolicy in a given project and location.
-
#create_project_location_dns_threat_detector(parent, dns_threat_detector_object = nil, dns_threat_detector_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Creates a new DnsThreatDetector in a given project and location.
-
#create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpoint in a given project and location.
-
#create_project_location_firewall_endpoint_association(parent, firewall_endpoint_association_object = nil, firewall_endpoint_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpointAssociation in a given project and location.
-
#create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
-
#create_project_location_gateway_security_policy_rule(parent, gateway_security_policy_rule_object = nil, gateway_security_policy_rule_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
-
#create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment in a given project and location.
-
#create_project_location_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment group in a given project and location.
-
#create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an endpoint group in a given project and location.
-
#create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an association in a given project and location.
-
#create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment in a given project and location.
-
#create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment group in a given project and location.
-
#create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an endpoint group in a given project and location.
-
#create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an association in a given project and location.
-
#create_project_location_sac_attachment(parent, sac_attachment_object = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SACAttachment in a given project and location.
-
#create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SACRealm in a given project.
-
#create_project_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfile in a given project and location.
-
#create_project_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfileGroup in a given project and location.
-
#create_project_location_server_tls_policy(parent, server_tls_policy_object = nil, server_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new ServerTlsPolicy in a given project and location.
-
#create_project_location_tls_inspection_policy(parent, tls_inspection_policy_object = nil, tls_inspection_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new TlsInspectionPolicy in a given project and location.
-
#create_project_location_url_list(parent, url_list_object = nil, url_list_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new UrlList in a given project and location.
-
#delete_organization_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an address group.
-
#delete_organization_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single org Endpoint.
-
#delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a long-running operation.
-
#delete_organization_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfile.
-
#delete_organization_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfileGroup.
-
#delete_project_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single address group.
-
#delete_project_location_authorization_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single AuthorizationPolicy.
-
#delete_project_location_authz_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single AuthzPolicy.
-
#delete_project_location_backend_authentication_config(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.
-
#delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single ClientTlsPolicy.
-
#delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a single DnsThreatDetector.
-
#delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single project Endpoint.
-
#delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single FirewallEndpointAssociation.
-
#delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single GatewaySecurityPolicy.
-
#delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single GatewaySecurityPolicyRule.
-
#delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment.
-
#delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment group.
-
#delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an endpoint group.
-
#delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an association.
-
#delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment.
-
#delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment group.
-
#delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an endpoint group.
-
#delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an association.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a long-running operation.
-
#delete_project_location_sac_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes the specified attachment.
-
#delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes the specified realm.
-
#delete_project_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfile.
-
#delete_project_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfileGroup.
-
#delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single ServerTlsPolicy.
-
#delete_project_location_tls_inspection_policy(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single TlsInspectionPolicy.
-
#delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single UrlList.
-
#get_organization_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Location
Gets information about a location.
-
#get_organization_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AddressGroup
Gets details of a single address group.
-
#get_organization_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpoint
Gets details of a single org Endpoint.
-
#get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Gets the latest state of a long-running operation.
-
#get_organization_location_security_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfile
Gets details of a single SecurityProfile.
-
#get_organization_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Location
Gets information about a location.
-
#get_project_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AddressGroup
Gets details of a single address group.
-
#get_project_location_address_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_authorization_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AuthorizationPolicy
Gets details of a single AuthorizationPolicy.
-
#get_project_location_authorization_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_authz_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AuthzPolicy
Gets details of a single AuthzPolicy.
-
#get_project_location_authz_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_backend_authentication_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::BackendAuthenticationConfig
Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig.
-
#get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
-
#get_project_location_client_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Gets the details of a single DnsThreatDetector.
-
#get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpoint
Gets details of a single project Endpoint.
-
#get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpointAssociation
Gets details of a single FirewallEndpointAssociation.
-
#get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GatewaySecurityPolicy
Gets details of a single GatewaySecurityPolicy.
-
#get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule
Gets details of a single GatewaySecurityPolicyRule.
-
#get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptDeployment
Gets a specific deployment.
-
#get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptDeploymentGroup
Gets a specific deployment group.
-
#get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptEndpointGroup
Gets a specific endpoint group.
-
#get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation
Gets a specific association.
-
#get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringDeployment
Gets a specific deployment.
-
#get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringDeploymentGroup
Gets a specific deployment group.
-
#get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringEndpointGroup
Gets a specific endpoint group.
-
#get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation
Gets a specific association.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_sac_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SacAttachment
Returns the specified attachment.
-
#get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SacRealm
Returns the specified realm.
-
#get_project_location_security_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfile
Gets details of a single SecurityProfile.
-
#get_project_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
-
#get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
-
#get_project_location_server_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_tls_inspection_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::TlsInspectionPolicy
Gets details of a single TlsInspectionPolicy.
-
#get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::UrlList
Gets details of a single UrlList.
-
#initialize ⇒ NetworkSecurityService
constructor
A new instance of NetworkSecurityService.
-
#list_organization_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse
Lists references of an address group.
-
#list_organization_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
Lists address groups in a given project and location.
-
#list_organization_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given organization and location.
-
#list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_organization_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse
Lists SecurityProfileGroups in a given organization and location.
-
#list_organization_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given organization and location.
-
#list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#list_project_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse
Lists references of an address group.
-
#list_project_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
Lists address groups in a given project and location.
-
#list_project_location_authorization_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAuthorizationPoliciesResponse
Lists AuthorizationPolicies in a given project and location.
-
#list_project_location_authz_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAuthzPoliciesResponse
Lists AuthzPolicies in a given project and location.
-
#list_project_location_backend_authentication_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse
Lists BackendAuthenticationConfigs in a given project and location.
-
#list_project_location_client_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListClientTlsPoliciesResponse
Lists ClientTlsPolicies in a given project and location.
-
#list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse
Lists DnsThreatDetectors in a given project and location.
-
#list_project_location_firewall_endpoint_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointAssociationsResponse
Lists Associations in a given project and location.
-
#list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given project and location.
-
#list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse
Lists GatewaySecurityPolicies in a given project and location.
-
#list_project_location_gateway_security_policy_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListGatewaySecurityPolicyRulesResponse
Lists GatewaySecurityPolicyRules in a given project and location.
-
#list_project_location_intercept_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse
Lists deployment groups in a given project and location.
-
#list_project_location_intercept_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse
Lists deployments in a given project and location.
-
#list_project_location_intercept_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse
Lists associations in a given project and location.
-
#list_project_location_intercept_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse
Lists endpoint groups in a given project and location.
-
#list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse
Lists deployment groups in a given project and location.
-
#list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse
Lists deployments in a given project and location.
-
#list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse
Lists associations in a given project and location.
-
#list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse
Lists endpoint groups in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_sac_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse
Lists SACAttachments in a given project and location.
-
#list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSacRealmsResponse
Lists SACRealms in a given project.
-
#list_project_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse
Lists SecurityProfileGroups in a given project and location.
-
#list_project_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given project and location.
-
#list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
Lists ServerTlsPolicies in a given project and location.
-
#list_project_location_tls_inspection_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListTlsInspectionPoliciesResponse
Lists TlsInspectionPolicies in a given project and location.
-
#list_project_location_url_lists(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListUrlListsResponse
Lists UrlLists in a given project and location.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_organization_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates parameters of an address group.
-
#patch_organization_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single org Endpoint.
-
#patch_organization_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfile.
-
#patch_organization_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfileGroup.
-
#patch_project_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single address group.
-
#patch_project_location_authorization_policy(name, authorization_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single AuthorizationPolicy.
-
#patch_project_location_authz_policy(name, authz_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single AuthzPolicy.
-
#patch_project_location_backend_authentication_config(name, backend_authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig.
-
#patch_project_location_client_tls_policy(name, client_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single ClientTlsPolicy.
-
#patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Updates a single DnsThreatDetector.
-
#patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single project Endpoint.
-
#patch_project_location_firewall_endpoint_association(name, firewall_endpoint_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single FirewallEndpointAssociation.
-
#patch_project_location_gateway_security_policy(name, gateway_security_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single GatewaySecurityPolicy.
-
#patch_project_location_gateway_security_policy_rule(name, gateway_security_policy_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single GatewaySecurityPolicyRule.
-
#patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment.
-
#patch_project_location_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment group.
-
#patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an endpoint group.
-
#patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an association.
-
#patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment.
-
#patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment group.
-
#patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an endpoint group.
-
#patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an association.
-
#patch_project_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfile.
-
#patch_project_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfileGroup.
-
#patch_project_location_server_tls_policy(name, server_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single ServerTlsPolicy.
-
#patch_project_location_tls_inspection_policy(name, tls_inspection_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single TlsInspectionPolicy.
-
#patch_project_location_url_list(name, url_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single UrlList.
-
#remove_organization_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Removes items from an address group.
-
#remove_project_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Removes items from an address group.
-
#set_project_location_address_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_authorization_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_authz_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_client_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#set_project_location_server_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource.
-
#test_organization_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_authorization_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_authz_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_client_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_server_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ NetworkSecurityService
Returns a new instance of NetworkSecurityService.
47 48 49 50 51 52 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-networksecurity_v1', client_version: Google::Apis::NetworksecurityV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#add_organization_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Adds items to an address group.
162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 162 def add_organization_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:addItems', ) command.request_representation = Google::Apis::NetworksecurityV1::AddAddressGroupItemsRequest::Representation command.request_object = add_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#add_project_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Adds items to an address group.
1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1401 def add_project_location_address_group_items(address_group, add_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:addItems', ) command.request_representation = Google::Apis::NetworksecurityV1::AddAddressGroupItemsRequest::Representation command.request_object = add_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5680 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworksecurityV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1
, corresponding to Code.CANCELLED.
791 792 793 794 795 796 797 798 799 800 801 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 791 def cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworksecurityV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#clone_organization_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Clones items from one address group to another.
196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 196 def clone_organization_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:cloneItems', ) command.request_representation = Google::Apis::NetworksecurityV1::CloneAddressGroupItemsRequest::Representation command.request_object = clone_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#clone_project_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Clones items from one address group to another.
1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1435 def clone_project_location_address_group_items(address_group, clone_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:cloneItems', ) command.request_representation = Google::Apis::NetworksecurityV1::CloneAddressGroupItemsRequest::Representation command.request_object = clone_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new address group in a given project and location.
245 246 247 248 249 250 251 252 253 254 255 256 257 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 245 def create_organization_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/addressGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['addressGroupId'] = address_group_id unless address_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpoint in a given organization and location.
581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 581 def create_organization_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/firewallEndpoints', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfile in a given organization and location.
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1131 def create_organization_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/securityProfiles', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_organization_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfileGroup in a given organization and location.
943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 943 def create_organization_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/securityProfileGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['securityProfileGroupId'] = security_profile_group_id unless security_profile_group_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new address group in a given project and location.
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1484 def create_project_location_address_group(parent, address_group_object = nil, address_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/addressGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['addressGroupId'] = address_group_id unless address_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_authorization_policy(parent, authorization_policy_object = nil, authorization_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new AuthorizationPolicy in a given project and location.
1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1890 def (parent, = nil, authorization_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/authorizationPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::AuthorizationPolicy::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['authorizationPolicyId'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_authz_policy(parent, authz_policy_object = nil, authz_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new AuthzPolicy in a given project and location.
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2201 def create_project_location_authz_policy(parent, authz_policy_object = nil, authz_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/authzPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::AuthzPolicy::Representation command.request_object = authz_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['authzPolicyId'] = authz_policy_id unless authz_policy_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_backend_authentication_config(parent, backend_authentication_config_object = nil, backend_authentication_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new BackendAuthenticationConfig in a given project and location.
2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2534 def create_project_location_backend_authentication_config(parent, backend_authentication_config_object = nil, backend_authentication_config_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/backendAuthenticationConfigs', ) command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation command.request_object = backend_authentication_config_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['backendAuthenticationConfigId'] = backend_authentication_config_id unless backend_authentication_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_client_tls_policy(parent, client_tls_policy_object = nil, client_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new ClientTlsPolicy in a given project and location.
2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2723 def create_project_location_client_tls_policy(parent, client_tls_policy_object = nil, client_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/clientTlsPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::ClientTlsPolicy::Representation command.request_object = client_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['clientTlsPolicyId'] = client_tls_policy_id unless client_tls_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_dns_threat_detector(parent, dns_threat_detector_object = nil, dns_threat_detector_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Creates a new DnsThreatDetector in a given project and location.
3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3023 def create_project_location_dns_threat_detector(parent, dns_threat_detector_object = nil, dns_threat_detector_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/dnsThreatDetectors', ) command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation command.request_object = dns_threat_detector_object command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector command.params['parent'] = parent unless parent.nil? command.query['dnsThreatDetectorId'] = dns_threat_detector_id unless dns_threat_detector_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpoint in a given project and location.
3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3430 def create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/firewallEndpoints', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_firewall_endpoint_association(parent, firewall_endpoint_association_object = nil, firewall_endpoint_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new FirewallEndpointAssociation in a given project and location.
3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3210 def create_project_location_firewall_endpoint_association(parent, firewall_endpoint_association_object = nil, firewall_endpoint_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/firewallEndpointAssociations', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpointAssociation::Representation command.request_object = firewall_endpoint_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['firewallEndpointAssociationId'] = firewall_endpoint_association_id unless firewall_endpoint_association_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3639 def create_project_location_gateway_security_policy(parent, gateway_security_policy_object = nil, gateway_security_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/gatewaySecurityPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation command.request_object = gateway_security_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['gatewaySecurityPolicyId'] = gateway_security_policy_id unless gateway_security_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_gateway_security_policy_rule(parent, gateway_security_policy_rule_object = nil, gateway_security_policy_rule_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3823 def create_project_location_gateway_security_policy_rule(parent, gateway_security_policy_rule_object = nil, gateway_security_policy_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/rules', ) command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule::Representation command.request_object = gateway_security_policy_rule_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['gatewaySecurityPolicyRuleId'] = gateway_security_policy_rule_id unless gateway_security_policy_rule_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment in a given project and location. See https://google.aip. dev/133.
4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4223 def create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/interceptDeployments', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation command.request_object = intercept_deployment_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['interceptDeploymentId'] = intercept_deployment_id unless intercept_deployment_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment group in a given project and location. See https://google. aip.dev/133.
4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4014 def create_project_location_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/interceptDeploymentGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation command.request_object = intercept_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['interceptDeploymentGroupId'] = intercept_deployment_group_id unless intercept_deployment_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an endpoint group in a given project and location. See https://google. aip.dev/133.
4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4640 def create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation command.request_object = intercept_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['interceptEndpointGroupId'] = intercept_endpoint_group_id unless intercept_endpoint_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an association in a given project and location. See https://google.aip. dev/133.
4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4431 def create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroupAssociations', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation command.request_object = intercept_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['interceptEndpointGroupAssociationId'] = intercept_endpoint_group_association_id unless intercept_endpoint_group_association_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment in a given project and location. See https://google.aip. dev/133.
5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5057 def create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/mirroringDeployments', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation command.request_object = mirroring_deployment_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a deployment group in a given project and location. See https://google. aip.dev/133.
4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4848 def create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/mirroringDeploymentGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation command.request_object = mirroring_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an endpoint group in a given project and location. See https://google. aip.dev/133.
5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5474 def create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation command.request_object = mirroring_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates an association in a given project and location. See https://google.aip. dev/133.
5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5265 def create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroupAssociations', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation command.request_object = mirroring_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_sac_attachment(parent, sac_attachment_object = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SACAttachment in a given project and location.
5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5844 def (parent, = nil, request_id: nil, sac_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/sacAttachments', ) command.request_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sacAttachmentId'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SACRealm in a given project.
6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6014 def create_project_location_sac_realm(parent, sac_realm_object = nil, request_id: nil, sac_realm_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/sacRealms', ) command.request_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation command.request_object = sac_realm_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['sacRealmId'] = sac_realm_id unless sac_realm_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfile in a given project and location.
6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6360 def create_project_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/securityProfiles', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new SecurityProfileGroup in a given project and location.
6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6172 def create_project_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/securityProfileGroups', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['securityProfileGroupId'] = security_profile_group_id unless security_profile_group_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_server_tls_policy(parent, server_tls_policy_object = nil, server_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new ServerTlsPolicy in a given project and location.
6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6548 def create_project_location_server_tls_policy(parent, server_tls_policy_object = nil, server_tls_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/serverTlsPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::ServerTlsPolicy::Representation command.request_object = server_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['serverTlsPolicyId'] = server_tls_policy_id unless server_tls_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_tls_inspection_policy(parent, tls_inspection_policy_object = nil, tls_inspection_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new TlsInspectionPolicy in a given project and location.
6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6858 def create_project_location_tls_inspection_policy(parent, tls_inspection_policy_object = nil, tls_inspection_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tlsInspectionPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1::TlsInspectionPolicy::Representation command.request_object = tls_inspection_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['tlsInspectionPolicyId'] = tls_inspection_policy_id unless tls_inspection_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_url_list(parent, url_list_object = nil, url_list_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Creates a new UrlList in a given project and location.
7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7047 def create_project_location_url_list(parent, url_list_object = nil, url_list_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/urlLists', ) command.request_representation = Google::Apis::NetworksecurityV1::UrlList::Representation command.request_object = url_list_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['parent'] = parent unless parent.nil? command.query['urlListId'] = url_list_id unless url_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an address group.
291 292 293 294 295 296 297 298 299 300 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 291 def delete_organization_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single org Endpoint.
627 628 629 630 631 632 633 634 635 636 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 627 def delete_organization_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
826 827 828 829 830 831 832 833 834 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 826 def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfile.
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1169 def delete_organization_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_organization_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfileGroup.
981 982 983 984 985 986 987 988 989 990 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 981 def delete_organization_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single address group.
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1530 def delete_project_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_authorization_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single AuthorizationPolicy.
1924 1925 1926 1927 1928 1929 1930 1931 1932 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1924 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_authz_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single AuthzPolicy.
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2247 def delete_project_location_authz_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_backend_authentication_config(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig.
2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2571 def delete_project_location_backend_authentication_config(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single ClientTlsPolicy.
2757 2758 2759 2760 2761 2762 2763 2764 2765 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2757 def delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a single DnsThreatDetector.
3056 3057 3058 3059 3060 3061 3062 3063 3064 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3056 def delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single project Endpoint.
3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3476 def delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single FirewallEndpointAssociation.
3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3255 def delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single GatewaySecurityPolicy.
3673 3674 3675 3676 3677 3678 3679 3680 3681 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3673 def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single GatewaySecurityPolicyRule.
3858 3859 3860 3861 3862 3863 3864 3865 3866 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3858 def delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment. See https://google.aip.dev/135.
4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4261 def delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment group. See https://google.aip.dev/135.
4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4052 def delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an endpoint group. See https://google.aip.dev/135.
4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4678 def delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an association. See https://google.aip.dev/135.
4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4469 def delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment. See https://google.aip.dev/135.
5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5095 def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a deployment group. See https://google.aip.dev/135.
4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4886 def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an endpoint group. See https://google.aip.dev/135.
5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5512 def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes an association. See https://google.aip.dev/135.
5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5303 def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
5715 5716 5717 5718 5719 5720 5721 5722 5723 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5715 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_sac_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes the specified attachment.
5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5890 def (name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes the specified realm.
6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6060 def delete_project_location_sac_realm(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfile.
6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6398 def delete_project_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single SecurityProfileGroup.
6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6210 def delete_project_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['etag'] = etag unless etag.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single ServerTlsPolicy.
6582 6583 6584 6585 6586 6587 6588 6589 6590 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6582 def delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_tls_inspection_policy(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single TlsInspectionPolicy.
6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6896 def delete_project_location_tls_inspection_policy(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Deletes a single UrlList.
7081 7082 7083 7084 7085 7086 7087 7088 7089 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7081 def delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Location
Gets information about a location.
74 75 76 77 78 79 80 81 82 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 74 def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Location::Representation command.response_class = Google::Apis::NetworksecurityV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AddressGroup
Gets details of a single address group.
323 324 325 326 327 328 329 330 331 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 323 def get_organization_location_address_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::AddressGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpoint
Gets details of a single org Endpoint.
658 659 660 661 662 663 664 665 666 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 658 def get_organization_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpoint command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
857 858 859 860 861 862 863 864 865 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 857 def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_security_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfile
Gets details of a single SecurityProfile.
1202 1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1202 def get_organization_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.response_class = Google::Apis::NetworksecurityV1::SecurityProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_organization_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1014 def get_organization_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::SecurityProfileGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Location
Gets information about a location.
1313 1314 1315 1316 1317 1318 1319 1320 1321 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1313 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Location::Representation command.response_class = Google::Apis::NetworksecurityV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AddressGroup
Gets details of a single address group.
1562 1563 1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1562 def get_project_location_address_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::AddressGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_address_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1606 def get_project_location_address_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_authorization_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AuthorizationPolicy
Gets details of a single AuthorizationPolicy.
1955 1956 1957 1958 1959 1960 1961 1962 1963 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1955 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::AuthorizationPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::AuthorizationPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_authorization_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1999 def (resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_authz_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::AuthzPolicy
Gets details of a single AuthzPolicy.
2279 2280 2281 2282 2283 2284 2285 2286 2287 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2279 def get_project_location_authz_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::AuthzPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::AuthzPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_authz_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2323 def get_project_location_authz_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_backend_authentication_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::BackendAuthenticationConfig
Gets details of a single BackendAuthenticationConfig to BackendAuthenticationConfig.
2604 2605 2606 2607 2608 2609 2610 2611 2612 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2604 def get_project_location_backend_authentication_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation command.response_class = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
2788 2789 2790 2791 2792 2793 2794 2795 2796 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2788 def get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::ClientTlsPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::ClientTlsPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_client_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2832 def get_project_location_client_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Gets the details of a single DnsThreatDetector.
3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3086 def get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpoint
Gets details of a single project Endpoint.
3507 3508 3509 3510 3511 3512 3513 3514 3515 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3507 def get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpoint command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::FirewallEndpointAssociation
Gets details of a single FirewallEndpointAssociation.
3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3286 def get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpointAssociation::Representation command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpointAssociation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GatewaySecurityPolicy
Gets details of a single GatewaySecurityPolicy.
3704 3705 3706 3707 3708 3709 3710 3711 3712 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3704 def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule
Gets details of a single GatewaySecurityPolicyRule.
3889 3890 3891 3892 3893 3894 3895 3896 3897 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3889 def get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule::Representation command.response_class = Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptDeployment
Gets a specific deployment. See https://google.aip.dev/131.
4293 4294 4295 4296 4297 4298 4299 4300 4301 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4293 def get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation command.response_class = Google::Apis::NetworksecurityV1::InterceptDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptDeploymentGroup
Gets a specific deployment group. See https://google.aip.dev/131.
4085 4086 4087 4088 4089 4090 4091 4092 4093 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4085 def get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptEndpointGroup
Gets a specific endpoint group. See https://google.aip.dev/131.
4711 4712 4713 4714 4715 4716 4717 4718 4719 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4711 def get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation
Gets a specific association. See https://google.aip.dev/131.
4502 4503 4504 4505 4506 4507 4508 4509 4510 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4502 def get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringDeployment
Gets a specific deployment. See https://google.aip.dev/131.
5127 5128 5129 5130 5131 5132 5133 5134 5135 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5127 def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation command.response_class = Google::Apis::NetworksecurityV1::MirroringDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringDeploymentGroup
Gets a specific deployment group. See https://google.aip.dev/131.
4919 4920 4921 4922 4923 4924 4925 4926 4927 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4919 def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringEndpointGroup
Gets a specific endpoint group. See https://google.aip.dev/131.
5545 5546 5547 5548 5549 5550 5551 5552 5553 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5545 def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation
Gets a specific association. See https://google.aip.dev/131.
5336 5337 5338 5339 5340 5341 5342 5343 5344 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5336 def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
5746 5747 5748 5749 5750 5751 5752 5753 5754 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5746 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_sac_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SacAttachment
Returns the specified attachment.
5922 5923 5924 5925 5926 5927 5928 5929 5930 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5922 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SacAttachment::Representation command.response_class = Google::Apis::NetworksecurityV1::SacAttachment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SacRealm
Returns the specified realm.
6092 6093 6094 6095 6096 6097 6098 6099 6100 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6092 def get_project_location_sac_realm(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SacRealm::Representation command.response_class = Google::Apis::NetworksecurityV1::SacRealm command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_security_profile(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfile
Gets details of a single SecurityProfile.
6431 6432 6433 6434 6435 6436 6437 6438 6439 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6431 def get_project_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.response_class = Google::Apis::NetworksecurityV1::SecurityProfile command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
6243 6244 6245 6246 6247 6248 6249 6250 6251 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6243 def get_project_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.response_class = Google::Apis::NetworksecurityV1::SecurityProfileGroup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
6613 6614 6615 6616 6617 6618 6619 6620 6621 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6613 def get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::ServerTlsPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::ServerTlsPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_server_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6657 def get_project_location_server_tls_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_tls_inspection_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::TlsInspectionPolicy
Gets details of a single TlsInspectionPolicy.
6929 6930 6931 6932 6933 6934 6935 6936 6937 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6929 def get_project_location_tls_inspection_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::TlsInspectionPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1::TlsInspectionPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::UrlList
Gets details of a single UrlList.
7112 7113 7114 7115 7116 7117 7118 7119 7120 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7112 def get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1::UrlList::Representation command.response_class = Google::Apis::NetworksecurityV1::UrlList command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse
Lists references of an address group.
404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 404 def list_organization_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+addressGroup}:listReferences', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse command.params['addressGroup'] = address_group unless address_group.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
Lists address groups in a given project and location.
363 364 365 366 367 368 369 370 371 372 373 374 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 363 def list_organization_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/addressGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given organization and location.
697 698 699 700 701 702 703 704 705 706 707 708 709 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 697 def list_organization_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/firewallEndpoints', ) command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
902 903 904 905 906 907 908 909 910 911 912 913 914 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 902 def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse
Lists SecurityProfileGroups in a given organization and location.
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1052 def list_organization_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/securityProfileGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given organization and location.
1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1240 def list_organization_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/securityProfiles', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 126 def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse
Lists references of an address group.
1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1688 def list_project_location_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+addressGroup}:listReferences', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupReferencesResponse command.params['addressGroup'] = address_group unless address_group.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
Lists address groups in a given project and location.
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1647 def list_project_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/addressGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_authorization_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAuthorizationPoliciesResponse
Lists AuthorizationPolicies in a given project and location.
2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2037 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/authorizationPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAuthorizationPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAuthorizationPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_authz_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListAuthzPoliciesResponse
Lists AuthzPolicies in a given project and location.
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2365 def list_project_location_authz_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/authzPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListAuthzPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListAuthzPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_backend_authentication_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse
Lists BackendAuthenticationConfigs in a given project and location.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2642 def list_project_location_backend_authentication_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/backendAuthenticationConfigs', ) command.response_representation = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListBackendAuthenticationConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_client_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListClientTlsPoliciesResponse
Lists ClientTlsPolicies in a given project and location.
2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2870 def list_project_location_client_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/clientTlsPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListClientTlsPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListClientTlsPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse
Lists DnsThreatDetectors in a given project and location.
3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3122 def list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/dnsThreatDetectors', ) command.response_representation = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_firewall_endpoint_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointAssociationsResponse
Lists Associations in a given project and location.
3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3325 def list_project_location_firewall_endpoint_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/firewallEndpointAssociations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointAssociationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointAssociationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given project and location.
3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3546 def list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/firewallEndpoints', ) command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse
Lists GatewaySecurityPolicies in a given project and location.
3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3742 def list_project_location_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/gatewaySecurityPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListGatewaySecurityPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_gateway_security_policy_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListGatewaySecurityPolicyRulesResponse
Lists GatewaySecurityPolicyRules in a given project and location.
3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3929 def list_project_location_gateway_security_policy_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/rules', ) command.response_representation = Google::Apis::NetworksecurityV1::ListGatewaySecurityPolicyRulesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListGatewaySecurityPolicyRulesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_intercept_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse
Lists deployment groups in a given project and location. See https://google. aip.dev/132.
4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4134 def list_project_location_intercept_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/interceptDeploymentGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_intercept_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse
Lists deployments in a given project and location. See https://google.aip.dev/ 132.
4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4341 def list_project_location_intercept_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/interceptDeployments', ) command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_intercept_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse
Lists associations in a given project and location. See https://google.aip.dev/ 132.
4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4550 def list_project_location_intercept_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroupAssociations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_intercept_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse
Lists endpoint groups in a given project and location. See https://google.aip. dev/132.
4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4759 def list_project_location_intercept_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse
Lists deployment groups in a given project and location. See https://google. aip.dev/132.
4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4968 def list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/mirroringDeploymentGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse
Lists deployments in a given project and location. See https://google.aip.dev/ 132.
5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5175 def list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/mirroringDeployments', ) command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse
Lists associations in a given project and location. See https://google.aip.dev/ 132.
5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5384 def list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroupAssociations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse
Lists endpoint groups in a given project and location. See https://google.aip. dev/132.
5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5593 def list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5791 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_sac_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse
Lists SACAttachments in a given project and location.
5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5961 def (parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/sacAttachments', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSacAttachmentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSacRealmsResponse
Lists SACRealms in a given project.
6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6131 def list_project_location_sac_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/sacRealms', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSacRealmsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSacRealmsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse
Lists SecurityProfileGroups in a given project and location.
6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6281 def list_project_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/securityProfileGroups', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfileGroupsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given project and location.
6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6469 def list_project_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/securityProfiles', ) command.response_representation = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListSecurityProfilesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
Lists ServerTlsPolicies in a given project and location.
6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6701 def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/serverTlsPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_tls_inspection_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListTlsInspectionPoliciesResponse
Lists TlsInspectionPolicies in a given project and location.
6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6966 def list_project_location_tls_inspection_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tlsInspectionPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1::ListTlsInspectionPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListTlsInspectionPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_url_lists(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListUrlListsResponse
Lists UrlLists in a given project and location.
7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7149 def list_project_location_url_lists(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/urlLists', ) command.response_representation = Google::Apis::NetworksecurityV1::ListUrlListsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListUrlListsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::ListLocationsResponse
Lists information about the supported locations for this service. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1365 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::NetworksecurityV1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates parameters of an address group.
455 456 457 458 459 460 461 462 463 464 465 466 467 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 455 def patch_organization_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single org Endpoint.
749 750 751 752 753 754 755 756 757 758 759 760 761 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 749 def patch_organization_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfile.
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1280 def patch_organization_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_organization_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfileGroup.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1092 def patch_organization_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single address group.
1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1739 def patch_project_location_address_group(name, address_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_authorization_policy(name, authorization_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single AuthorizationPolicy.
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2077 def (name, = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::AuthorizationPolicy::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_authz_policy(name, authz_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single AuthzPolicy.
2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2417 def patch_project_location_authz_policy(name, authz_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::AuthzPolicy::Representation command.request_object = authz_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_backend_authentication_config(name, backend_authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single BackendAuthenticationConfig to BackendAuthenticationConfig.
2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2684 def patch_project_location_backend_authentication_config(name, backend_authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::BackendAuthenticationConfig::Representation command.request_object = backend_authentication_config_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_client_tls_policy(name, client_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single ClientTlsPolicy.
2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2910 def patch_project_location_client_tls_policy(name, client_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::ClientTlsPolicy::Representation command.request_object = client_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::DnsThreatDetector
Updates a single DnsThreatDetector.
3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3161 def patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation command.request_object = dns_threat_detector_object command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single project Endpoint.
3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3598 def patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_firewall_endpoint_association(name, firewall_endpoint_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Update a single FirewallEndpointAssociation.
3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3377 def patch_project_location_firewall_endpoint_association(name, firewall_endpoint_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpointAssociation::Representation command.request_object = firewall_endpoint_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_gateway_security_policy(name, gateway_security_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single GatewaySecurityPolicy.
3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3784 def patch_project_location_gateway_security_policy(name, gateway_security_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicy::Representation command.request_object = gateway_security_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_gateway_security_policy_rule(name, gateway_security_policy_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single GatewaySecurityPolicyRule.
3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 3971 def patch_project_location_gateway_security_policy_rule(name, gateway_security_policy_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::GatewaySecurityPolicyRule::Representation command.request_object = gateway_security_policy_rule_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment. See https://google.aip.dev/134.
4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4386 def patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation command.request_object = intercept_deployment_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment group. See https://google.aip.dev/134.
4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4179 def patch_project_location_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation command.request_object = intercept_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an endpoint group. See https://google.aip.dev/134.
4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4804 def patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation command.request_object = intercept_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an association. See https://google.aip.dev/134.
4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 4596 def patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation command.request_object = intercept_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment. See https://google.aip.dev/134.
5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5220 def patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation command.request_object = mirroring_deployment_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates a deployment group. See https://google.aip.dev/134.
5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5013 def patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation command.request_object = mirroring_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an endpoint group. See https://google.aip.dev/134.
5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5638 def patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation command.request_object = mirroring_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates an association. See https://google.aip.dev/134.
5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 5430 def patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation command.request_object = mirroring_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfile.
6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6509 def patch_project_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single SecurityProfileGroup.
6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6321 def patch_project_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_server_tls_policy(name, server_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single ServerTlsPolicy.
6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6742 def patch_project_location_server_tls_policy(name, server_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::ServerTlsPolicy::Representation command.request_object = server_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_tls_inspection_policy(name, tls_inspection_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single TlsInspectionPolicy.
7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7008 def patch_project_location_tls_inspection_policy(name, tls_inspection_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::TlsInspectionPolicy::Representation command.request_object = tls_inspection_policy_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_url_list(name, url_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Updates the parameters of a single UrlList.
7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 7190 def patch_project_location_url_list(name, url_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1::UrlList::Representation command.request_object = url_list_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_organization_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Removes items from an address group.
491 492 493 494 495 496 497 498 499 500 501 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 491 def remove_organization_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:removeItems', ) command.request_representation = Google::Apis::NetworksecurityV1::RemoveAddressGroupItemsRequest::Representation command.request_object = remove_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_project_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::Operation
Removes items from an address group.
1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1775 def remove_project_location_address_group_items(address_group, remove_address_group_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+addressGroup}:removeItems', ) command.request_representation = Google::Apis::NetworksecurityV1::RemoveAddressGroupItemsRequest::Representation command.request_object = remove_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1::Operation command.params['addressGroup'] = address_group unless address_group.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_address_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1812 def set_project_location_address_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_authorization_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2115 def (resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_authz_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2456 def set_project_location_authz_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_client_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2948 def set_project_location_client_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_server_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6780 def set_project_location_server_tls_policy_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_organization_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 530 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_address_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 1851 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_authorization_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2154 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_authz_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2495 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_client_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 2987 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_server_tls_policy_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 |
# File 'lib/google/apis/networksecurity_v1/service.rb', line 6819 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1::GoogleIamV1TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |