Class: Google::Apis::NetworksecurityV1beta1::NetworkSecurityService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::NetworksecurityV1beta1::NetworkSecurityService
- Defined in:
- lib/google/apis/networksecurity_v1beta1/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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Creates a new FirewallEndpoint in a given project 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new AuthzPolicy 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::NetworksecurityV1beta1::Operation
Creates a new ClientTlsPolicy 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new GatewaySecurityPolicy 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::NetworksecurityV1beta1::Operation
Creates a new MirroringDeployment 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::NetworksecurityV1beta1::Operation
Creates a new MirroringDeploymentGroup 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::NetworksecurityV1beta1::Operation
Creates a new MirroringEndpointGroup 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::NetworksecurityV1beta1::Operation
Creates a new MirroringEndpointGroupAssociation 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single Endpoint.
-
#delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single address group.
-
#delete_project_location_authorization_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single AuthzPolicy.
-
#delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single ClientTlsPolicy.
-
#delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single FirewallEndpointAssociation.
-
#delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single GatewaySecurityPolicy.
-
#delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single GatewaySecurityPolicyRule.
-
#delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single MirroringDeployment.
-
#delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single MirroringDeploymentGroup.
-
#delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single MirroringEndpointGroup.
-
#delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single MirroringEndpointGroupAssociation.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Empty
Deletes a long-running operation.
-
#delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single TlsInspectionPolicy.
-
#delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single UrlList.
-
#get_organization_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::FirewallEndpoint
Gets details of a single Endpoint.
-
#get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Location
Gets information about a location.
-
#get_project_location_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource.
-
#get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GatewaySecurityPolicyRule
Gets details of a single GatewaySecurityPolicyRule.
-
#get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::MirroringDeployment
Gets details of a single MirroringDeployment.
-
#get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup
Gets details of a single MirroringDeploymentGroup.
-
#get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup
Gets details of a single MirroringEndpointGroup.
-
#get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation
Gets details of a single MirroringEndpointGroupAssociation.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::TlsInspectionPolicy
Gets details of a single TlsInspectionPolicy.
-
#get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListAddressGroupReferencesResponse
Lists references of an address group.
-
#list_organization_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given project and location.
-
#list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given organization and location.
-
#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::NetworksecurityV1beta1::ListAddressGroupReferencesResponse
Lists references of an address group.
-
#list_project_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListAuthzPoliciesResponse
Lists AuthzPolicies 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::NetworksecurityV1beta1::ListClientTlsPoliciesResponse
Lists ClientTlsPolicies 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::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse
Lists Associations 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse
Lists GatewaySecurityPolicyRules 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::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse
Lists MirroringDeploymentGroups 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::NetworksecurityV1beta1::ListMirroringDeploymentsResponse
Lists MirroringDeployments 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::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse
Lists MirroringEndpointGroupAssociations 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::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse
Lists MirroringEndpointGroups in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListUrlListsResponse
Lists UrlLists in a given project and location.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Update a single 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single AuthzPolicy.
-
#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::NetworksecurityV1beta1::Operation
Updates the parameters of a single ClientTlsPolicy.
-
#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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single GatewaySecurityPolicyRule.
-
#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::NetworksecurityV1beta1::Operation
Updates a single MirroringDeployment.
-
#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::NetworksecurityV1beta1::Operation
Updates a single MirroringDeploymentGroup.
-
#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::NetworksecurityV1beta1::Operation
Updates a single MirroringEndpointGroup.
-
#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::NetworksecurityV1beta1::Operation
Updates a single MirroringEndpointGroupAssociation.
-
#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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy 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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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_v1beta1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-networksecurity_v1beta1', client_version: Google::Apis::NetworksecurityV1beta1::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_v1beta1/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_v1beta1/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::NetworksecurityV1beta1::Operation
Adds items to an address group.
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 76 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, 'v1beta1/{+addressGroup}:addItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddAddressGroupItemsRequest::Representation command.request_object = add_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Adds items to an address group.
1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1246 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, 'v1beta1/{+addressGroup}:addItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddAddressGroupItemsRequest::Representation command.request_object = add_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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
.
4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4136 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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
.
658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 658 def cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:cancel', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Clones items from one address group to another.
110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 110 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, 'v1beta1/{+addressGroup}:cloneItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::CloneAddressGroupItemsRequest::Representation command.request_object = clone_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Clones items from one address group to another.
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1280 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, 'v1beta1/{+addressGroup}:cloneItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::CloneAddressGroupItemsRequest::Representation command.request_object = clone_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new address group in a given project and location.
159 160 161 162 163 164 165 166 167 168 169 170 171 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 159 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, 'v1beta1/{+parent}/addressGroups', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Creates a new FirewallEndpoint in a given project and location.
449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 449 def create_organization_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/firewallEndpoints', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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::NetworksecurityV1beta1::Operation
Creates a new SecurityProfile in a given organization and location.
989 990 991 992 993 994 995 996 997 998 999 1000 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 989 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, 'v1beta1/{+parent}/securityProfiles', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new SecurityProfileGroup in a given organization and location.
801 802 803 804 805 806 807 808 809 810 811 812 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 801 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, 'v1beta1/{+parent}/securityProfileGroups', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new address group in a given project and location.
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1329 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, 'v1beta1/{+parent}/addressGroups', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new AuthorizationPolicy in a given project and location.
1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1731 def (parent, = nil, authorization_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/authorizationPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthorizationPolicy::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new AuthzPolicy in a given project and location.
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2042 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, 'v1beta1/{+parent}/authzPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation command.request_object = authz_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::Operation
Creates a new ClientTlsPolicy in a given project and location.
2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2374 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, 'v1beta1/{+parent}/clientTlsPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation command.request_object = client_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::Operation
Creates a new FirewallEndpointAssociation in a given project and location.
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2686 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, 'v1beta1/{+parent}/firewallEndpointAssociations', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation command.request_object = firewall_endpoint_association_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2894 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, 'v1beta1/{+parent}/gatewaySecurityPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation command.request_object = gateway_security_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new GatewaySecurityPolicy in a given project and location.
3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3078 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, 'v1beta1/{+parent}/rules', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation command.request_object = gateway_security_policy_rule_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::Operation
Creates a new MirroringDeployment in a given project and location.
3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3492 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, 'v1beta1/{+parent}/mirroringDeployments', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation command.request_object = mirroring_deployment_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new MirroringDeploymentGroup in a given project and location.
3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3275 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, 'v1beta1/{+parent}/mirroringDeploymentGroups', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation command.request_object = mirroring_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new MirroringEndpointGroup in a given project and location.
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3927 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, 'v1beta1/{+parent}/mirroringEndpointGroups', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation command.request_object = mirroring_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new MirroringEndpointGroupAssociation in a given project and location.
3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3710 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, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation command.request_object = mirroring_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::Operation
Creates a new ServerTlsPolicy in a given project and location.
4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4278 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, 'v1beta1/{+parent}/serverTlsPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation command.request_object = server_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new TlsInspectionPolicy in a given project and location.
4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4581 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, 'v1beta1/{+parent}/tlsInspectionPolicies', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation command.request_object = tls_inspection_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Creates a new UrlList in a given project and location.
4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4770 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, 'v1beta1/{+parent}/urlLists', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation command.request_object = url_list_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes an address group.
205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 205 def delete_organization_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single Endpoint.
494 495 496 497 498 499 500 501 502 503 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 494 def delete_organization_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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
.
693 694 695 696 697 698 699 700 701 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 693 def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single SecurityProfile.
1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1027 def delete_organization_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single SecurityProfileGroup.
839 840 841 842 843 844 845 846 847 848 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 839 def delete_organization_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single address group.
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1375 def delete_project_location_address_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single AuthorizationPolicy.
1765 1766 1767 1768 1769 1770 1771 1772 1773 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1765 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single AuthzPolicy.
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2088 def delete_project_location_authz_policy(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single ClientTlsPolicy.
2408 2409 2410 2411 2412 2413 2414 2415 2416 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2408 def delete_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single FirewallEndpointAssociation.
2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2731 def delete_project_location_firewall_endpoint_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single GatewaySecurityPolicy.
2928 2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2928 def delete_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single GatewaySecurityPolicyRule.
3113 3114 3115 3116 3117 3118 3119 3120 3121 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3113 def delete_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single MirroringDeployment.
3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3537 def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single MirroringDeploymentGroup.
3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3320 def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single MirroringEndpointGroup.
3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3972 def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single MirroringEndpointGroupAssociation.
3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3755 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, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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
.
4171 4172 4173 4174 4175 4176 4177 4178 4179 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4171 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single ServerTlsPolicy.
4312 4313 4314 4315 4316 4317 4318 4319 4320 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4312 def delete_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single TlsInspectionPolicy.
4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4619 def delete_project_location_tls_inspection_policy(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Deletes a single UrlList.
4804 4805 4806 4807 4808 4809 4810 4811 4812 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4804 def delete_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_address_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::AddressGroup
Gets details of a single address group.
237 238 239 240 241 242 243 244 245 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 237 def get_organization_location_address_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::FirewallEndpoint
Gets details of a single Endpoint.
525 526 527 528 529 530 531 532 533 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 525 def get_organization_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
724 725 726 727 728 729 730 731 732 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 724 def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::SecurityProfile
Gets details of a single SecurityProfile.
1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1060 def get_organization_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::SecurityProfileGroup
Gets details of a single SecurityProfileGroup.
872 873 874 875 876 877 878 879 880 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 872 def get_organization_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Location
Gets information about a location.
1171 1172 1173 1174 1175 1176 1177 1178 1179 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1171 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Location::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::AddressGroup
Gets details of a single address group.
1407 1408 1409 1410 1411 1412 1413 1414 1415 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1407 def get_project_location_address_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1451 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, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::AuthorizationPolicy
Gets details of a single AuthorizationPolicy.
1796 1797 1798 1799 1800 1801 1802 1803 1804 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1796 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::AuthorizationPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1840 def (resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::AuthzPolicy
Gets details of a single AuthzPolicy.
2120 2121 2122 2123 2124 2125 2126 2127 2128 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2120 def get_project_location_authz_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2164 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, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
2439 2440 2441 2442 2443 2444 2445 2446 2447 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2439 def get_project_location_client_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2483 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, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation
Gets details of a single FirewallEndpointAssociation.
2762 2763 2764 2765 2766 2767 2768 2769 2770 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2762 def get_project_location_firewall_endpoint_association(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GatewaySecurityPolicy
Gets details of a single GatewaySecurityPolicy.
2959 2960 2961 2962 2963 2964 2965 2966 2967 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2959 def get_project_location_gateway_security_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GatewaySecurityPolicyRule
Gets details of a single GatewaySecurityPolicyRule.
3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3144 def get_project_location_gateway_security_policy_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::MirroringDeployment
Gets details of a single MirroringDeployment.
3568 3569 3570 3571 3572 3573 3574 3575 3576 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3568 def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::MirroringDeploymentGroup
Gets details of a single MirroringDeploymentGroup.
3351 3352 3353 3354 3355 3356 3357 3358 3359 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3351 def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::MirroringEndpointGroup
Gets details of a single MirroringEndpointGroup.
4003 4004 4005 4006 4007 4008 4009 4010 4011 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4003 def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::MirroringEndpointGroupAssociation
Gets details of a single MirroringEndpointGroupAssociation.
3786 3787 3788 3789 3790 3791 3792 3793 3794 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3786 def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
4202 4203 4204 4205 4206 4207 4208 4209 4210 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4202 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_server_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy
Gets details of a single ServerTlsPolicy.
4343 4344 4345 4346 4347 4348 4349 4350 4351 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4343 def get_project_location_server_tls_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4387 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, 'v1beta1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::TlsInspectionPolicy
Gets details of a single TlsInspectionPolicy.
4652 4653 4654 4655 4656 4657 4658 4659 4660 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4652 def get_project_location_tls_inspection_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::UrlList
Gets details of a single UrlList.
4835 4836 4837 4838 4839 4840 4841 4842 4843 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4835 def get_project_location_url_list(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListAddressGroupReferencesResponse
Lists references of an address group.
314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 314 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, 'v1beta1/{+addressGroup}:listReferences', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAddressGroupReferencesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListAddressGroupsResponse
Lists address groups in a given project and location.
274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 274 def list_organization_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/addressGroups', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAddressGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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::NetworksecurityV1beta1::ListFirewallEndpointsResponse
Lists FirewallEndpoints in a given project and location.
564 565 566 567 568 569 570 571 572 573 574 575 576 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 564 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, 'v1beta1/{+parent}/firewallEndpoints', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
761 762 763 764 765 766 767 768 769 770 771 772 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 761 def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/operations', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse
Lists SecurityProfileGroups in a given organization and location.
910 911 912 913 914 915 916 917 918 919 920 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 910 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, 'v1beta1/{+parent}/securityProfileGroups', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListSecurityProfilesResponse
Lists SecurityProfiles in a given organization and location.
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1098 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, 'v1beta1/{+parent}/securityProfiles', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_address_group_references(address_group, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListAddressGroupReferencesResponse
Lists references of an address group.
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1529 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, 'v1beta1/{+addressGroup}:listReferences', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAddressGroupReferencesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListAddressGroupsResponse
Lists address groups in a given project and location.
1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1489 def list_project_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/addressGroups', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAddressGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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::NetworksecurityV1beta1::ListAuthorizationPoliciesResponse
Lists AuthorizationPolicies in a given project and location.
1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1878 def (parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/authorizationPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAuthorizationPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListAuthzPoliciesResponse
Lists AuthzPolicies in a given project and location.
2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2206 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, 'v1beta1/{+parent}/authzPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListAuthzPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_client_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse
Lists ClientTlsPolicies in a given project and location.
2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2521 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, 'v1beta1/{+parent}/clientTlsPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListClientTlsPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse
Lists Associations in a given project and location.
2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2801 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, 'v1beta1/{+parent}/firewallEndpointAssociations', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointAssociationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_gateway_security_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse
Lists GatewaySecurityPolicies in a given project and location.
2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2997 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, 'v1beta1/{+parent}/gatewaySecurityPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse
Lists GatewaySecurityPolicyRules in a given project and location.
3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3184 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, 'v1beta1/{+parent}/rules', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListGatewaySecurityPolicyRulesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse
Lists MirroringDeploymentGroups in a given project and location.
3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3390 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, 'v1beta1/{+parent}/mirroringDeploymentGroups', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListMirroringDeploymentsResponse
Lists MirroringDeployments in a given project and location.
3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3607 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, 'v1beta1/{+parent}/mirroringDeployments', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringDeploymentsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse
Lists MirroringEndpointGroupAssociations in a given project and location.
3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3825 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, 'v1beta1/{+parent}/mirroringEndpointGroupAssociations', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupAssociationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse
Lists MirroringEndpointGroups in a given project and location.
4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4042 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, 'v1beta1/{+parent}/mirroringEndpointGroups', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListMirroringEndpointGroupsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4239 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/operations', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse
Lists ServerTlsPolicies in a given project and location.
4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4425 def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/serverTlsPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListServerTlsPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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['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::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse
Lists TlsInspectionPolicies in a given project and location.
4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4689 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, 'v1beta1/{+parent}/tlsInspectionPolicies', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListTlsInspectionPoliciesResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::ListUrlListsResponse
Lists UrlLists in a given project and location.
4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4872 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, 'v1beta1/{+parent}/urlLists', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListUrlListsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1211 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/locations', ) command.response_representation = Google::Apis::NetworksecurityV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::ListLocationsResponse 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['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::NetworksecurityV1beta1::Operation
Updates parameters of an address group.
365 366 367 368 369 370 371 372 373 374 375 376 377 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 365 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Update a single Endpoint.
616 617 618 619 620 621 622 623 624 625 626 627 628 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 616 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation command.request_object = firewall_endpoint_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single SecurityProfile.
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1138 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation command.request_object = security_profile_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single SecurityProfileGroup.
950 951 952 953 954 955 956 957 958 959 960 961 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 950 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation command.request_object = security_profile_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single address group.
1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1580 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AddressGroup::Representation command.request_object = address_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single AuthorizationPolicy.
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1918 def (name, = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthorizationPolicy::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single AuthzPolicy.
2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2258 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::AuthzPolicy::Representation command.request_object = authz_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_client_tls_policy(name, client_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Updates the parameters of a single ClientTlsPolicy.
2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2561 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy::Representation command.request_object = client_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::Operation
Update a single FirewallEndpointAssociation.
2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2853 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation::Representation command.request_object = firewall_endpoint_association_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single GatewaySecurityPolicy.
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3039 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicy::Representation command.request_object = gateway_security_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single GatewaySecurityPolicyRule.
3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3226 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GatewaySecurityPolicyRule::Representation command.request_object = gateway_security_policy_rule_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Updates a single MirroringDeployment.
3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3659 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeployment::Representation command.request_object = mirroring_deployment_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates a single MirroringDeploymentGroup.
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3442 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringDeploymentGroup::Representation command.request_object = mirroring_deployment_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates a single MirroringEndpointGroup.
4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4094 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroup::Representation command.request_object = mirroring_endpoint_group_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates a single MirroringEndpointGroupAssociation.
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3877 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::MirroringEndpointGroupAssociation::Representation command.request_object = mirroring_endpoint_group_association_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_server_tls_policy(name, server_tls_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Updates the parameters of a single ServerTlsPolicy.
4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4465 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::ServerTlsPolicy::Representation command.request_object = server_tls_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single TlsInspectionPolicy.
4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4731 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::TlsInspectionPolicy::Representation command.request_object = tls_inspection_policy_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Updates the parameters of a single UrlList.
4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4913 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, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::UrlList::Representation command.request_object = url_list_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Removes items from an address group.
401 402 403 404 405 406 407 408 409 410 411 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 401 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, 'v1beta1/{+addressGroup}:removeItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::RemoveAddressGroupItemsRequest::Representation command.request_object = remove_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::Operation
Removes items from an address group.
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1616 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, 'v1beta1/{+addressGroup}:removeItems', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::RemoveAddressGroupItemsRequest::Representation command.request_object = remove_address_group_items_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1653 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1956 def (resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2297 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2599 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::GoogleIamV1Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4503 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, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1SetIamPolicyRequest::Representation command.request_object = google_iam_v1_set_iam_policy_request_object command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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_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::NetworksecurityV1beta1::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.
1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1692 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1995 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2336 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2638 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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::NetworksecurityV1beta1::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.
4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 4542 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::NetworksecurityV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation command.response_class = Google::Apis::NetworksecurityV1beta1::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 |