Skip to content

Latest commit

 

History

History
800 lines (431 loc) · 23.4 KB

GatewayUpdateItem.md

File metadata and controls

800 lines (431 loc) · 23.4 KB

GatewayUpdateItem

Properties

Name Type Description Notes
AddTag Pointer to []string List of the new tags that will be attached to this item [optional]
ApiId Pointer to string API ID to rotate (relevant only for rotator-type=api-key) [optional]
ApiKey Pointer to string API key to rotate (relevant only for rotator-type=api-key) [optional]
AppId Pointer to string ApplicationId (used in azure) [optional]
AutoRotate Pointer to string Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] [optional]
CustomPayload Pointer to string Secret payload to be sent with rotation request (relevant only for rotator-type=custom) [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Description of the object [optional] [default to "default_metadata"]
GcpKey Pointer to string Base64-encoded service account private key text [optional]
GcpServiceAccountEmail Pointer to string The email of the gcp service account to rotate [optional]
GcpServiceAccountKeyId Pointer to string The key id of the gcp service account to rotate [optional]
GraceRotation Pointer to string Create a new access key without deleting the old key from AWS for backup (relevant only for AWS) [true/false] [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
KeepPrevVersion Pointer to string Whether to keep previous version [true/false]. (relevant only for --type=rotated-secret). If not set, use default according to account settings [optional]
Key Pointer to string The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used) [optional]
Name string Item name
NewMetadata Pointer to string Deprecated - use description [optional] [default to "default_metadata"]
NewName Pointer to string New item name [optional]
NewVersion Pointer to bool Deprecated [optional]
PasswordLength Pointer to string The length of the password to be generated [optional]
RmTag Pointer to []string List of the existent tags that will be removed from this item [optional]
RotatedPassword Pointer to string rotated-username password (relevant only for rotator-type=password) [optional]
RotatedUsername Pointer to string username to be rotated, if selected \"use-self-creds\" at rotator-creds-type, this username will try to rotate it's own password, if \"use-target-creds\" is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password) [optional]
RotationEventIn Pointer to []string How many days before the rotation of the item would you like to be notified [optional]
RotationHour Pointer to int32 The Rotation Hour [optional] [default to 0]
RotationInterval Pointer to string The number of days to wait between every automatic key rotation (1-365) [optional]
RotatorCredsType Pointer to string The rotation credentials type [optional] [default to "use-self-creds"]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
Type string Item type
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewGatewayUpdateItem

func NewGatewayUpdateItem(name string, type_ string, ) *GatewayUpdateItem

NewGatewayUpdateItem instantiates a new GatewayUpdateItem 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

NewGatewayUpdateItemWithDefaults

func NewGatewayUpdateItemWithDefaults() *GatewayUpdateItem

NewGatewayUpdateItemWithDefaults instantiates a new GatewayUpdateItem 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

GetAddTag

func (o *GatewayUpdateItem) GetAddTag() []string

GetAddTag returns the AddTag field if non-nil, zero value otherwise.

GetAddTagOk

func (o *GatewayUpdateItem) GetAddTagOk() (*[]string, bool)

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

SetAddTag

func (o *GatewayUpdateItem) SetAddTag(v []string)

SetAddTag sets AddTag field to given value.

HasAddTag

func (o *GatewayUpdateItem) HasAddTag() bool

HasAddTag returns a boolean if a field has been set.

GetApiId

func (o *GatewayUpdateItem) GetApiId() string

GetApiId returns the ApiId field if non-nil, zero value otherwise.

GetApiIdOk

func (o *GatewayUpdateItem) GetApiIdOk() (*string, bool)

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

SetApiId

func (o *GatewayUpdateItem) SetApiId(v string)

SetApiId sets ApiId field to given value.

HasApiId

func (o *GatewayUpdateItem) HasApiId() bool

HasApiId returns a boolean if a field has been set.

GetApiKey

func (o *GatewayUpdateItem) GetApiKey() string

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

GetApiKeyOk

func (o *GatewayUpdateItem) GetApiKeyOk() (*string, 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 *GatewayUpdateItem) SetApiKey(v string)

SetApiKey sets ApiKey field to given value.

HasApiKey

func (o *GatewayUpdateItem) HasApiKey() bool

HasApiKey returns a boolean if a field has been set.

GetAppId

func (o *GatewayUpdateItem) GetAppId() string

GetAppId returns the AppId field if non-nil, zero value otherwise.

GetAppIdOk

func (o *GatewayUpdateItem) GetAppIdOk() (*string, bool)

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

SetAppId

func (o *GatewayUpdateItem) SetAppId(v string)

SetAppId sets AppId field to given value.

HasAppId

func (o *GatewayUpdateItem) HasAppId() bool

HasAppId returns a boolean if a field has been set.

GetAutoRotate

func (o *GatewayUpdateItem) GetAutoRotate() string

GetAutoRotate returns the AutoRotate field if non-nil, zero value otherwise.

GetAutoRotateOk

func (o *GatewayUpdateItem) GetAutoRotateOk() (*string, bool)

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

SetAutoRotate

func (o *GatewayUpdateItem) SetAutoRotate(v string)

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *GatewayUpdateItem) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetCustomPayload

func (o *GatewayUpdateItem) GetCustomPayload() string

GetCustomPayload returns the CustomPayload field if non-nil, zero value otherwise.

GetCustomPayloadOk

func (o *GatewayUpdateItem) GetCustomPayloadOk() (*string, bool)

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

SetCustomPayload

func (o *GatewayUpdateItem) SetCustomPayload(v string)

SetCustomPayload sets CustomPayload field to given value.

HasCustomPayload

func (o *GatewayUpdateItem) HasCustomPayload() bool

HasCustomPayload returns a boolean if a field has been set.

GetDeleteProtection

func (o *GatewayUpdateItem) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *GatewayUpdateItem) GetDeleteProtectionOk() (*string, bool)

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

SetDeleteProtection

func (o *GatewayUpdateItem) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *GatewayUpdateItem) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *GatewayUpdateItem) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *GatewayUpdateItem) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *GatewayUpdateItem) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *GatewayUpdateItem) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGcpKey

func (o *GatewayUpdateItem) GetGcpKey() string

GetGcpKey returns the GcpKey field if non-nil, zero value otherwise.

GetGcpKeyOk

func (o *GatewayUpdateItem) GetGcpKeyOk() (*string, bool)

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

SetGcpKey

func (o *GatewayUpdateItem) SetGcpKey(v string)

SetGcpKey sets GcpKey field to given value.

HasGcpKey

func (o *GatewayUpdateItem) HasGcpKey() bool

HasGcpKey returns a boolean if a field has been set.

GetGcpServiceAccountEmail

func (o *GatewayUpdateItem) GetGcpServiceAccountEmail() string

GetGcpServiceAccountEmail returns the GcpServiceAccountEmail field if non-nil, zero value otherwise.

GetGcpServiceAccountEmailOk

func (o *GatewayUpdateItem) GetGcpServiceAccountEmailOk() (*string, bool)

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

SetGcpServiceAccountEmail

func (o *GatewayUpdateItem) SetGcpServiceAccountEmail(v string)

SetGcpServiceAccountEmail sets GcpServiceAccountEmail field to given value.

HasGcpServiceAccountEmail

func (o *GatewayUpdateItem) HasGcpServiceAccountEmail() bool

HasGcpServiceAccountEmail returns a boolean if a field has been set.

GetGcpServiceAccountKeyId

func (o *GatewayUpdateItem) GetGcpServiceAccountKeyId() string

GetGcpServiceAccountKeyId returns the GcpServiceAccountKeyId field if non-nil, zero value otherwise.

GetGcpServiceAccountKeyIdOk

func (o *GatewayUpdateItem) GetGcpServiceAccountKeyIdOk() (*string, bool)

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

SetGcpServiceAccountKeyId

func (o *GatewayUpdateItem) SetGcpServiceAccountKeyId(v string)

SetGcpServiceAccountKeyId sets GcpServiceAccountKeyId field to given value.

HasGcpServiceAccountKeyId

func (o *GatewayUpdateItem) HasGcpServiceAccountKeyId() bool

HasGcpServiceAccountKeyId returns a boolean if a field has been set.

GetGraceRotation

func (o *GatewayUpdateItem) GetGraceRotation() string

GetGraceRotation returns the GraceRotation field if non-nil, zero value otherwise.

GetGraceRotationOk

func (o *GatewayUpdateItem) GetGraceRotationOk() (*string, bool)

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

SetGraceRotation

func (o *GatewayUpdateItem) SetGraceRotation(v string)

SetGraceRotation sets GraceRotation field to given value.

HasGraceRotation

func (o *GatewayUpdateItem) HasGraceRotation() bool

HasGraceRotation returns a boolean if a field has been set.

GetJson

func (o *GatewayUpdateItem) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *GatewayUpdateItem) GetJsonOk() (*bool, bool)

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

SetJson

func (o *GatewayUpdateItem) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *GatewayUpdateItem) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *GatewayUpdateItem) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

func (o *GatewayUpdateItem) GetKeepPrevVersionOk() (*string, bool)

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

SetKeepPrevVersion

func (o *GatewayUpdateItem) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *GatewayUpdateItem) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *GatewayUpdateItem) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *GatewayUpdateItem) GetKeyOk() (*string, bool)

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

SetKey

func (o *GatewayUpdateItem) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *GatewayUpdateItem) HasKey() bool

HasKey returns a boolean if a field has been set.

GetName

func (o *GatewayUpdateItem) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *GatewayUpdateItem) GetNameOk() (*string, bool)

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

SetName

func (o *GatewayUpdateItem) SetName(v string)

SetName sets Name field to given value.

GetNewMetadata

func (o *GatewayUpdateItem) GetNewMetadata() string

GetNewMetadata returns the NewMetadata field if non-nil, zero value otherwise.

GetNewMetadataOk

func (o *GatewayUpdateItem) GetNewMetadataOk() (*string, bool)

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

SetNewMetadata

func (o *GatewayUpdateItem) SetNewMetadata(v string)

SetNewMetadata sets NewMetadata field to given value.

HasNewMetadata

func (o *GatewayUpdateItem) HasNewMetadata() bool

HasNewMetadata returns a boolean if a field has been set.

GetNewName

func (o *GatewayUpdateItem) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *GatewayUpdateItem) GetNewNameOk() (*string, bool)

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

SetNewName

func (o *GatewayUpdateItem) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *GatewayUpdateItem) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetNewVersion

func (o *GatewayUpdateItem) GetNewVersion() bool

GetNewVersion returns the NewVersion field if non-nil, zero value otherwise.

GetNewVersionOk

func (o *GatewayUpdateItem) GetNewVersionOk() (*bool, bool)

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

SetNewVersion

func (o *GatewayUpdateItem) SetNewVersion(v bool)

SetNewVersion sets NewVersion field to given value.

HasNewVersion

func (o *GatewayUpdateItem) HasNewVersion() bool

HasNewVersion returns a boolean if a field has been set.

GetPasswordLength

func (o *GatewayUpdateItem) GetPasswordLength() string

GetPasswordLength returns the PasswordLength field if non-nil, zero value otherwise.

GetPasswordLengthOk

func (o *GatewayUpdateItem) GetPasswordLengthOk() (*string, bool)

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

SetPasswordLength

func (o *GatewayUpdateItem) SetPasswordLength(v string)

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *GatewayUpdateItem) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRmTag

func (o *GatewayUpdateItem) GetRmTag() []string

GetRmTag returns the RmTag field if non-nil, zero value otherwise.

GetRmTagOk

func (o *GatewayUpdateItem) GetRmTagOk() (*[]string, bool)

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

SetRmTag

func (o *GatewayUpdateItem) SetRmTag(v []string)

SetRmTag sets RmTag field to given value.

HasRmTag

func (o *GatewayUpdateItem) HasRmTag() bool

HasRmTag returns a boolean if a field has been set.

GetRotatedPassword

func (o *GatewayUpdateItem) GetRotatedPassword() string

GetRotatedPassword returns the RotatedPassword field if non-nil, zero value otherwise.

GetRotatedPasswordOk

func (o *GatewayUpdateItem) GetRotatedPasswordOk() (*string, bool)

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

SetRotatedPassword

func (o *GatewayUpdateItem) SetRotatedPassword(v string)

SetRotatedPassword sets RotatedPassword field to given value.

HasRotatedPassword

func (o *GatewayUpdateItem) HasRotatedPassword() bool

HasRotatedPassword returns a boolean if a field has been set.

GetRotatedUsername

func (o *GatewayUpdateItem) GetRotatedUsername() string

GetRotatedUsername returns the RotatedUsername field if non-nil, zero value otherwise.

GetRotatedUsernameOk

func (o *GatewayUpdateItem) GetRotatedUsernameOk() (*string, bool)

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

SetRotatedUsername

func (o *GatewayUpdateItem) SetRotatedUsername(v string)

SetRotatedUsername sets RotatedUsername field to given value.

HasRotatedUsername

func (o *GatewayUpdateItem) HasRotatedUsername() bool

HasRotatedUsername returns a boolean if a field has been set.

GetRotationEventIn

func (o *GatewayUpdateItem) GetRotationEventIn() []string

GetRotationEventIn returns the RotationEventIn field if non-nil, zero value otherwise.

GetRotationEventInOk

func (o *GatewayUpdateItem) GetRotationEventInOk() (*[]string, bool)

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

SetRotationEventIn

func (o *GatewayUpdateItem) SetRotationEventIn(v []string)

SetRotationEventIn sets RotationEventIn field to given value.

HasRotationEventIn

func (o *GatewayUpdateItem) HasRotationEventIn() bool

HasRotationEventIn returns a boolean if a field has been set.

GetRotationHour

func (o *GatewayUpdateItem) GetRotationHour() int32

GetRotationHour returns the RotationHour field if non-nil, zero value otherwise.

GetRotationHourOk

func (o *GatewayUpdateItem) GetRotationHourOk() (*int32, bool)

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

SetRotationHour

func (o *GatewayUpdateItem) SetRotationHour(v int32)

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *GatewayUpdateItem) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *GatewayUpdateItem) GetRotationInterval() string

GetRotationInterval returns the RotationInterval field if non-nil, zero value otherwise.

GetRotationIntervalOk

func (o *GatewayUpdateItem) GetRotationIntervalOk() (*string, bool)

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

SetRotationInterval

func (o *GatewayUpdateItem) SetRotationInterval(v string)

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *GatewayUpdateItem) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorCredsType

func (o *GatewayUpdateItem) GetRotatorCredsType() string

GetRotatorCredsType returns the RotatorCredsType field if non-nil, zero value otherwise.

GetRotatorCredsTypeOk

func (o *GatewayUpdateItem) GetRotatorCredsTypeOk() (*string, bool)

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

SetRotatorCredsType

func (o *GatewayUpdateItem) SetRotatorCredsType(v string)

SetRotatorCredsType sets RotatorCredsType field to given value.

HasRotatorCredsType

func (o *GatewayUpdateItem) HasRotatorCredsType() bool

HasRotatorCredsType returns a boolean if a field has been set.

GetToken

func (o *GatewayUpdateItem) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *GatewayUpdateItem) GetTokenOk() (*string, bool)

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

SetToken

func (o *GatewayUpdateItem) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *GatewayUpdateItem) HasToken() bool

HasToken returns a boolean if a field has been set.

GetType

func (o *GatewayUpdateItem) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *GatewayUpdateItem) GetTypeOk() (*string, bool)

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

SetType

func (o *GatewayUpdateItem) SetType(v string)

SetType sets Type field to given value.

GetUidToken

func (o *GatewayUpdateItem) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *GatewayUpdateItem) GetUidTokenOk() (*string, bool)

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

SetUidToken

func (o *GatewayUpdateItem) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *GatewayUpdateItem) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]