ProviderGithub

Struct ProviderGithub 

Source
pub struct ProviderGithub(/* private fields */);

Implementations§

Source§

impl ProviderGithub

Source

pub fn provider_ref(&self) -> String

Source

pub fn set_alias(self, alias: impl ToString) -> Self

Source

pub fn set_base_url(self, v: impl Into<PrimField<String>>) -> Self

Set the field base_url. The GitHub Base API URL

Source

pub fn set_insecure(self, v: impl Into<PrimField<bool>>) -> Self

Set the field insecure. Enable insecure mode for testing purposes

Source

pub fn set_organization(self, v: impl Into<PrimField<String>>) -> Self

Set the field organization. The GitHub organization name to manage. Use this field instead of owner when managing organization accounts.

Source

pub fn set_owner(self, v: impl Into<PrimField<String>>) -> Self

Set the field owner. The GitHub owner name to manage. Use this field instead of organization when managing individual accounts.

Source

pub fn set_parallel_requests(self, v: impl Into<PrimField<bool>>) -> Self

Set the field parallel_requests. Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits. Although, it is not possible to enable this setting on github.com because we enforce the respect of github.com’s best practices to avoid hitting abuse rate limitsDefaults to false if not set

Source

pub fn set_read_delay_ms(self, v: impl Into<PrimField<f64>>) -> Self

Set the field read_delay_ms. Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set.

Source

pub fn set_token(self, v: impl Into<PrimField<String>>) -> Self

Set the field token. The OAuth token used to connect to GitHub. Anonymous mode is enabled if both token and app_auth are not set.

Source

pub fn set_write_delay_ms(self, v: impl Into<PrimField<f64>>) -> Self

Set the field write_delay_ms. Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.