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
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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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.
45 46 47 48 49 50 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 45 def initialize super('https://networksecurity.googleapis.com/', '', 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.
38 39 40 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 38 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.
43 44 45 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 43 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.
74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 74 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.
867 868 869 870 871 872 873 874 875 876 877 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 867 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.
2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2547 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.
656 657 658 659 660 661 662 663 664 665 666 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 656 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.
108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 108 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.
901 902 903 904 905 906 907 908 909 910 911 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 901 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.
157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 157 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.
447 448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 447 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_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.
950 951 952 953 954 955 956 957 958 959 960 961 962 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 950 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.
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1352 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_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.
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1654 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.
1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1966 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.
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2174 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.
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2358 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_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.
2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2689 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.
2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2992 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.
3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3181 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.
203 204 205 206 207 208 209 210 211 212 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 203 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.
492 493 494 495 496 497 498 499 500 501 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 492 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.
691 692 693 694 695 696 697 698 699 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 691 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_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.
996 997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 996 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.
1386 1387 1388 1389 1390 1391 1392 1393 1394 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1386 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_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Operation
Deletes a single ClientTlsPolicy.
1688 1689 1690 1691 1692 1693 1694 1695 1696 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1688 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.
2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2011 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.
2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2208 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.
2393 2394 2395 2396 2397 2398 2399 2400 2401 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2393 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_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.
2582 2583 2584 2585 2586 2587 2588 2589 2590 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2582 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.
2723 2724 2725 2726 2727 2728 2729 2730 2731 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2723 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.
3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3030 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.
3215 3216 3217 3218 3219 3220 3221 3222 3223 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3215 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.
235 236 237 238 239 240 241 242 243 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 235 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.
523 524 525 526 527 528 529 530 531 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 523 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.
722 723 724 725 726 727 728 729 730 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 722 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_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::Location
Gets information about a location.
792 793 794 795 796 797 798 799 800 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 792 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.
1028 1029 1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1028 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.
1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1072 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.
1417 1418 1419 1420 1421 1422 1423 1424 1425 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1417 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.
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1461 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_client_tls_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetworksecurityV1beta1::ClientTlsPolicy
Gets details of a single ClientTlsPolicy.
1719 1720 1721 1722 1723 1724 1725 1726 1727 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1719 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.
1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1763 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.
2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2042 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.
2239 2240 2241 2242 2243 2244 2245 2246 2247 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2239 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.
2424 2425 2426 2427 2428 2429 2430 2431 2432 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2424 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_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.
2613 2614 2615 2616 2617 2618 2619 2620 2621 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2613 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.
2754 2755 2756 2757 2758 2759 2760 2761 2762 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2754 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.
2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2798 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.
3063 3064 3065 3066 3067 3068 3069 3070 3071 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3063 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.
3246 3247 3248 3249 3250 3251 3252 3253 3254 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3246 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.
312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 312 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.
272 273 274 275 276 277 278 279 280 281 282 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 272 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.
562 563 564 565 566 567 568 569 570 571 572 573 574 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 562 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.
759 760 761 762 763 764 765 766 767 768 769 770 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 759 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_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.
1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1150 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.
1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1110 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.
1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1499 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_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.
1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1801 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.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2081 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.
2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2277 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.
2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2464 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_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.
2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2650 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.
2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2836 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.
3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3100 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.
3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3283 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.
832 833 834 835 836 837 838 839 840 841 842 843 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 832 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.
363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 363 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.
614 615 616 617 618 619 620 621 622 623 624 625 626 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 614 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_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.
1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1201 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.
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1539 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_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.
1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1841 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.
2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2133 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.
2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2319 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.
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2506 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_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.
2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2876 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.
3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3142 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.
3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 3324 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.
399 400 401 402 403 404 405 406 407 408 409 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 399 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.
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1237 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.
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1274 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.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1577 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_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.
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1879 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.
2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2914 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.
1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1313 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.
1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1616 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.
1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 1918 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.
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 |
# File 'lib/google/apis/networksecurity_v1beta1/service.rb', line 2953 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 |