GoodMem
ReferenceClient SDKsGo SDKModels

EndpointAuthentication Model

EndpointAuthentication Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
KindCredentialKind
ApiKeyPointer to ApiKeyAuth[optional]
GcpAdcPointer to GcpAdcAuth[optional]
LabelsPointer to map[string]stringOptional annotations to aid operators (e.g., "owner=vertex")[optional]

Methods

NewEndpointAuthentication

func NewEndpointAuthentication(kind CredentialKind, ) *EndpointAuthentication

NewEndpointAuthentication instantiates a new EndpointAuthentication 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

NewEndpointAuthenticationWithDefaults

func NewEndpointAuthenticationWithDefaults() *EndpointAuthentication

NewEndpointAuthenticationWithDefaults instantiates a new EndpointAuthentication 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

GetKind

func (o *EndpointAuthentication) GetKind() CredentialKind

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *EndpointAuthentication) GetKindOk() (*CredentialKind, bool)

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

SetKind

func (o *EndpointAuthentication) SetKind(v CredentialKind)

SetKind sets Kind field to given value.

GetApiKey

func (o *EndpointAuthentication) GetApiKey() ApiKeyAuth

GetApiKey returns the ApiKey field if non-nil, zero value otherwise.

GetApiKeyOk

func (o *EndpointAuthentication) GetApiKeyOk() (*ApiKeyAuth, bool)

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

SetApiKey

func (o *EndpointAuthentication) SetApiKey(v ApiKeyAuth)

SetApiKey sets ApiKey field to given value.

HasApiKey

func (o *EndpointAuthentication) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

GetGcpAdc

func (o *EndpointAuthentication) GetGcpAdc() GcpAdcAuth

GetGcpAdc returns the GcpAdc field if non-nil, zero value otherwise.

GetGcpAdcOk

func (o *EndpointAuthentication) GetGcpAdcOk() (*GcpAdcAuth, bool)

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

SetGcpAdc

func (o *EndpointAuthentication) SetGcpAdc(v GcpAdcAuth)

SetGcpAdc sets GcpAdc field to given value.

HasGcpAdc

func (o *EndpointAuthentication) HasGcpAdc() bool

HasGcpAdc returns a boolean if a field has been set.

GetLabels

func (o *EndpointAuthentication) GetLabels() map[string]string

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *EndpointAuthentication) GetLabelsOk() (*map[string]string, bool)

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

SetLabels

func (o *EndpointAuthentication) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

HasLabels

func (o *EndpointAuthentication) HasLabels() bool

HasLabels returns a boolean if a field has been set.

SetLabelsNil

func (o *EndpointAuthentication) SetLabelsNil(b bool)

SetLabelsNil sets the value for Labels to be an explicit nil

UnsetLabels

func (o *EndpointAuthentication) UnsetLabels()

UnsetLabels ensures that no value is present for Labels, not even an explicit nil

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