Struct google_displayvideo1::api::FloodlightGroupMethods
source · pub struct FloodlightGroupMethods<'a, S>where
S: 'a,{ /* private fields */ }
Expand description
A builder providing access to all methods supported on floodlightGroup resources.
It is not used directly, but through the DisplayVideo
hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_displayvideo1 as displayvideo1;
use std::default::Default;
use displayvideo1::{DisplayVideo, 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 = DisplayVideo::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 `get(...)` and `patch(...)`
// to build up your call.
let rb = hub.floodlight_groups();
Implementations§
source§impl<'a, S> FloodlightGroupMethods<'a, S>
impl<'a, S> FloodlightGroupMethods<'a, S>
sourcepub fn get(&self, floodlight_group_id: i64) -> FloodlightGroupGetCall<'a, S>
pub fn get(&self, floodlight_group_id: i64) -> FloodlightGroupGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a Floodlight group.
§Arguments
floodlightGroupId
- Required. The ID of the Floodlight group to fetch.
sourcepub fn patch(
&self,
request: FloodlightGroup,
floodlight_group_id: i64
) -> FloodlightGroupPatchCall<'a, S>
pub fn patch( &self, request: FloodlightGroup, floodlight_group_id: i64 ) -> FloodlightGroupPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing Floodlight group. Returns the updated Floodlight group if successful.
§Arguments
request
- No description provided.floodlightGroupId
- Output only. The unique ID of the Floodlight group. Assigned by the system.
Trait Implementations§
impl<'a, S> MethodsBuilder for FloodlightGroupMethods<'a, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for FloodlightGroupMethods<'a, S>
impl<'a, S> Send for FloodlightGroupMethods<'a, S>where
S: Sync,
impl<'a, S> Sync for FloodlightGroupMethods<'a, S>where
S: Sync,
impl<'a, S> Unpin for FloodlightGroupMethods<'a, S>
impl<'a, S> !UnwindSafe for FloodlightGroupMethods<'a, S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more