GoodMem
ReferenceClient SDKsGo SDKModels

GcpAdcAuth Model

GcpAdcAuth Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ScopesPointer to []stringAdditional OAuth scopes. Empty list falls back to the default cloud-platform scope.[optional]
QuotaProjectIdPointer to NullableStringOptional quota project used for billing[optional]

Methods

NewGcpAdcAuth

func NewGcpAdcAuth() *GcpAdcAuth

NewGcpAdcAuth instantiates a new GcpAdcAuth object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewGcpAdcAuthWithDefaults

func NewGcpAdcAuthWithDefaults() *GcpAdcAuth

NewGcpAdcAuthWithDefaults instantiates a new GcpAdcAuth object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetScopes

func (o *GcpAdcAuth) GetScopes() []string

GetScopes returns the Scopes field if non-nil, zero value otherwise.

GetScopesOk

func (o *GcpAdcAuth) GetScopesOk() (*[]string, bool)

GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetScopes

func (o *GcpAdcAuth) SetScopes(v []string)

SetScopes sets Scopes field to given value.

HasScopes

func (o *GcpAdcAuth) HasScopes() bool

HasScopes returns a boolean if a field has been set.

SetScopesNil

func (o *GcpAdcAuth) SetScopesNil(b bool)

SetScopesNil sets the value for Scopes to be an explicit nil

UnsetScopes

func (o *GcpAdcAuth) UnsetScopes()

UnsetScopes ensures that no value is present for Scopes, not even an explicit nil

GetQuotaProjectId

func (o *GcpAdcAuth) GetQuotaProjectId() string

GetQuotaProjectId returns the QuotaProjectId field if non-nil, zero value otherwise.

GetQuotaProjectIdOk

func (o *GcpAdcAuth) GetQuotaProjectIdOk() (*string, bool)

GetQuotaProjectIdOk returns a tuple with the QuotaProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuotaProjectId

func (o *GcpAdcAuth) SetQuotaProjectId(v string)

SetQuotaProjectId sets QuotaProjectId field to given value.

HasQuotaProjectId

func (o *GcpAdcAuth) HasQuotaProjectId() bool

HasQuotaProjectId returns a boolean if a field has been set.

SetQuotaProjectIdNil

func (o *GcpAdcAuth) SetQuotaProjectIdNil(b bool)

SetQuotaProjectIdNil sets the value for QuotaProjectId to be an explicit nil

UnsetQuotaProjectId

func (o *GcpAdcAuth) UnsetQuotaProjectId()

UnsetQuotaProjectId ensures that no value is present for QuotaProjectId, not even an explicit nil

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK