pub struct NetworkEdgeSecurityServiceMethods<'a, S>where
S: 'a,{ /* private fields */ }
Expand description
A builder providing access to all methods supported on networkEdgeSecurityService resources.
It is not used directly, but through the Compute
hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_compute1 as compute1;
use std::default::Default;
use compute1::{Compute, oauth2, hyper, hyper_rustls, chrono, FieldMask};
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `patch(...)`
// to build up your call.
let rb = hub.network_edge_security_services();
Implementations§
source§impl<'a, S> NetworkEdgeSecurityServiceMethods<'a, S>
impl<'a, S> NetworkEdgeSecurityServiceMethods<'a, S>
sourcepub fn aggregated_list(
&self,
project: &str
) -> NetworkEdgeSecurityServiceAggregatedListCall<'a, S>
pub fn aggregated_list( &self, project: &str ) -> NetworkEdgeSecurityServiceAggregatedListCall<'a, S>
Create a builder to help you perform the following task:
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
§Arguments
project
- Name of the project scoping this request.
sourcepub fn delete(
&self,
project: &str,
region: &str,
network_edge_security_service: &str
) -> NetworkEdgeSecurityServiceDeleteCall<'a, S>
pub fn delete( &self, project: &str, region: &str, network_edge_security_service: &str ) -> NetworkEdgeSecurityServiceDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes the specified service.
§Arguments
project
- Project ID for this request.region
- Name of the region scoping this request.networkEdgeSecurityService
- Name of the network edge security service to delete.
sourcepub fn get(
&self,
project: &str,
region: &str,
network_edge_security_service: &str
) -> NetworkEdgeSecurityServiceGetCall<'a, S>
pub fn get( &self, project: &str, region: &str, network_edge_security_service: &str ) -> NetworkEdgeSecurityServiceGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a specified NetworkEdgeSecurityService.
§Arguments
project
- Project ID for this request.region
- Name of the region scoping this request.networkEdgeSecurityService
- Name of the network edge security service to get.
sourcepub fn insert(
&self,
request: NetworkEdgeSecurityService,
project: &str,
region: &str
) -> NetworkEdgeSecurityServiceInsertCall<'a, S>
pub fn insert( &self, request: NetworkEdgeSecurityService, project: &str, region: &str ) -> NetworkEdgeSecurityServiceInsertCall<'a, S>
Create a builder to help you perform the following task:
Creates a new service in the specified project using the data included in the request.
§Arguments
request
- No description provided.project
- Project ID for this request.region
- Name of the region scoping this request.
sourcepub fn patch(
&self,
request: NetworkEdgeSecurityService,
project: &str,
region: &str,
network_edge_security_service: &str
) -> NetworkEdgeSecurityServicePatchCall<'a, S>
pub fn patch( &self, request: NetworkEdgeSecurityService, project: &str, region: &str, network_edge_security_service: &str ) -> NetworkEdgeSecurityServicePatchCall<'a, S>
Create a builder to help you perform the following task:
Patches the specified policy with the data included in the request.
§Arguments
request
- No description provided.project
- Project ID for this request.region
- Name of the region scoping this request.networkEdgeSecurityService
- Name of the network edge security service to update.