EndpointAuthentication Type
EndpointAuthentication Type documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Kind | CredentialKind | Selected credential strategy | |
| ApiKey | Pointer to NullableApiKeyAuth | [optional] | |
| GcpAdc | Pointer to NullableGcpAdcAuth | [optional] | |
| Labels | Pointer to map[string]string | Optional 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.
SetApiKeyNil
func (o *EndpointAuthentication) SetApiKeyNil(b bool)
SetApiKeyNil sets the value for ApiKey to be an explicit nil
UnsetApiKey
func (o *EndpointAuthentication) UnsetApiKey()
UnsetApiKey ensures that no value is present for ApiKey, not even an explicit nil
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.
SetGcpAdcNil
func (o *EndpointAuthentication) SetGcpAdcNil(b bool)
SetGcpAdcNil sets the value for GcpAdc to be an explicit nil
UnsetGcpAdc
func (o *EndpointAuthentication) UnsetGcpAdc()
UnsetGcpAdc ensures that no value is present for GcpAdc, not even an explicit nil
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.