Skip to content

Latest commit

 

History

History
566 lines (305 loc) · 17.1 KB

RotatedSecretUpdateGcp.md

File metadata and controls

566 lines (305 loc) · 17.1 KB

RotatedSecretUpdateGcp

Properties

Name Type Description Notes
AddTag Pointer to []string List of the new tags that will be attached to this item [optional]
AuthenticationCredentials Pointer to string The credentials to connect with use-user-creds/use-target-creds [optional] [default to "use-user-creds"]
AutoRotate Pointer to string Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false] [optional]
DeleteProtection Pointer to string Protection from accidental deletion of this item [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]
Json Pointer to bool Set output format to JSON [optional] [default to false]
KeepPrevVersion Pointer to string Whether to keep previous version [true/false]. 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]
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Rotated secret name
NewName Pointer to string New item name [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]
RotationHour Pointer to int32 The Hour of the rotation in UTC [optional]
RotationInterval Pointer to string The number of days to wait between every automatic key rotation (1-365) [optional]
RotatorType string The rotator type. options: [target/service-account-rotator]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewRotatedSecretUpdateGcp

func NewRotatedSecretUpdateGcp(name string, rotatorType string, ) *RotatedSecretUpdateGcp

NewRotatedSecretUpdateGcp instantiates a new RotatedSecretUpdateGcp 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

NewRotatedSecretUpdateGcpWithDefaults

func NewRotatedSecretUpdateGcpWithDefaults() *RotatedSecretUpdateGcp

NewRotatedSecretUpdateGcpWithDefaults instantiates a new RotatedSecretUpdateGcp 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 *RotatedSecretUpdateGcp) GetAddTag() []string

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

GetAddTagOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetAddTag(v []string)

SetAddTag sets AddTag field to given value.

HasAddTag

func (o *RotatedSecretUpdateGcp) HasAddTag() bool

HasAddTag returns a boolean if a field has been set.

GetAuthenticationCredentials

func (o *RotatedSecretUpdateGcp) GetAuthenticationCredentials() string

GetAuthenticationCredentials returns the AuthenticationCredentials field if non-nil, zero value otherwise.

GetAuthenticationCredentialsOk

func (o *RotatedSecretUpdateGcp) GetAuthenticationCredentialsOk() (*string, bool)

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

SetAuthenticationCredentials

func (o *RotatedSecretUpdateGcp) SetAuthenticationCredentials(v string)

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretUpdateGcp) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretUpdateGcp) GetAutoRotate() string

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

GetAutoRotateOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetAutoRotate(v string)

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretUpdateGcp) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretUpdateGcp) GetDeleteProtection() string

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

GetDeleteProtectionOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretUpdateGcp) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretUpdateGcp) GetDescription() string

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

GetDescriptionOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretUpdateGcp) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGcpKey

func (o *RotatedSecretUpdateGcp) GetGcpKey() string

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

GetGcpKeyOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetGcpKey(v string)

SetGcpKey sets GcpKey field to given value.

HasGcpKey

func (o *RotatedSecretUpdateGcp) HasGcpKey() bool

HasGcpKey returns a boolean if a field has been set.

GetGcpServiceAccountEmail

func (o *RotatedSecretUpdateGcp) GetGcpServiceAccountEmail() string

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

GetGcpServiceAccountEmailOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetGcpServiceAccountEmail(v string)

SetGcpServiceAccountEmail sets GcpServiceAccountEmail field to given value.

HasGcpServiceAccountEmail

func (o *RotatedSecretUpdateGcp) HasGcpServiceAccountEmail() bool

HasGcpServiceAccountEmail returns a boolean if a field has been set.

GetGcpServiceAccountKeyId

func (o *RotatedSecretUpdateGcp) GetGcpServiceAccountKeyId() string

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

GetGcpServiceAccountKeyIdOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetGcpServiceAccountKeyId(v string)

SetGcpServiceAccountKeyId sets GcpServiceAccountKeyId field to given value.

HasGcpServiceAccountKeyId

func (o *RotatedSecretUpdateGcp) HasGcpServiceAccountKeyId() bool

HasGcpServiceAccountKeyId returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretUpdateGcp) GetJson() bool

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

GetJsonOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretUpdateGcp) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *RotatedSecretUpdateGcp) GetKeepPrevVersion() string

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

GetKeepPrevVersionOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *RotatedSecretUpdateGcp) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretUpdateGcp) GetKey() string

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

GetKeyOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretUpdateGcp) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretUpdateGcp) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *RotatedSecretUpdateGcp) GetMaxVersionsOk() (*string, bool)

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

SetMaxVersions

func (o *RotatedSecretUpdateGcp) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretUpdateGcp) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretUpdateGcp) GetName() string

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

GetNameOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *RotatedSecretUpdateGcp) GetNewName() string

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

GetNewNameOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *RotatedSecretUpdateGcp) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetPasswordLength

func (o *RotatedSecretUpdateGcp) GetPasswordLength() string

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

GetPasswordLengthOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetPasswordLength(v string)

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretUpdateGcp) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRmTag

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

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

GetRmTagOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetRmTag(v []string)

SetRmTag sets RmTag field to given value.

HasRmTag

func (o *RotatedSecretUpdateGcp) HasRmTag() bool

HasRmTag returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretUpdateGcp) GetRotationHour() int32

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

GetRotationHourOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetRotationHour(v int32)

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretUpdateGcp) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretUpdateGcp) GetRotationInterval() string

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

GetRotationIntervalOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetRotationInterval(v string)

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretUpdateGcp) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorType

func (o *RotatedSecretUpdateGcp) GetRotatorType() string

GetRotatorType returns the RotatorType field if non-nil, zero value otherwise.

GetRotatorTypeOk

func (o *RotatedSecretUpdateGcp) GetRotatorTypeOk() (*string, bool)

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

SetRotatorType

func (o *RotatedSecretUpdateGcp) SetRotatorType(v string)

SetRotatorType sets RotatorType field to given value.

GetToken

func (o *RotatedSecretUpdateGcp) GetToken() string

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

GetTokenOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretUpdateGcp) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretUpdateGcp) GetUidToken() string

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

GetUidTokenOk

func (o *RotatedSecretUpdateGcp) 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 *RotatedSecretUpdateGcp) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretUpdateGcp) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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