Skip to content

Latest commit

 

History

History
535 lines (288 loc) · 16.2 KB

RotatedSecretCreateGcp.md

File metadata and controls

535 lines (288 loc) · 16.2 KB

RotatedSecretCreateGcp

Properties

Name Type Description Notes
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 object [true/false] [optional]
Description Pointer to string Description of the object [optional]
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]
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
PasswordLength Pointer to string The length of the password to be generated [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 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]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName string Target name
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

NewRotatedSecretCreateGcp

func NewRotatedSecretCreateGcp(name string, rotatorType string, targetName string, ) *RotatedSecretCreateGcp

NewRotatedSecretCreateGcp instantiates a new RotatedSecretCreateGcp 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

NewRotatedSecretCreateGcpWithDefaults

func NewRotatedSecretCreateGcpWithDefaults() *RotatedSecretCreateGcp

NewRotatedSecretCreateGcpWithDefaults instantiates a new RotatedSecretCreateGcp 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

GetAuthenticationCredentials

func (o *RotatedSecretCreateGcp) GetAuthenticationCredentials() string

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

GetAuthenticationCredentialsOk

func (o *RotatedSecretCreateGcp) 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 *RotatedSecretCreateGcp) SetAuthenticationCredentials(v string)

SetAuthenticationCredentials sets AuthenticationCredentials field to given value.

HasAuthenticationCredentials

func (o *RotatedSecretCreateGcp) HasAuthenticationCredentials() bool

HasAuthenticationCredentials returns a boolean if a field has been set.

GetAutoRotate

func (o *RotatedSecretCreateGcp) GetAutoRotate() string

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

GetAutoRotateOk

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

SetAutoRotate sets AutoRotate field to given value.

HasAutoRotate

func (o *RotatedSecretCreateGcp) HasAutoRotate() bool

HasAutoRotate returns a boolean if a field has been set.

GetDeleteProtection

func (o *RotatedSecretCreateGcp) GetDeleteProtection() string

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

GetDeleteProtectionOk

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

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *RotatedSecretCreateGcp) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *RotatedSecretCreateGcp) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *RotatedSecretCreateGcp) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGcpKey

func (o *RotatedSecretCreateGcp) GetGcpKey() string

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

GetGcpKeyOk

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

SetGcpKey sets GcpKey field to given value.

HasGcpKey

func (o *RotatedSecretCreateGcp) HasGcpKey() bool

HasGcpKey returns a boolean if a field has been set.

GetGcpServiceAccountEmail

func (o *RotatedSecretCreateGcp) GetGcpServiceAccountEmail() string

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

GetGcpServiceAccountEmailOk

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

SetGcpServiceAccountEmail sets GcpServiceAccountEmail field to given value.

HasGcpServiceAccountEmail

func (o *RotatedSecretCreateGcp) HasGcpServiceAccountEmail() bool

HasGcpServiceAccountEmail returns a boolean if a field has been set.

GetGcpServiceAccountKeyId

func (o *RotatedSecretCreateGcp) GetGcpServiceAccountKeyId() string

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

GetGcpServiceAccountKeyIdOk

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

SetGcpServiceAccountKeyId sets GcpServiceAccountKeyId field to given value.

HasGcpServiceAccountKeyId

func (o *RotatedSecretCreateGcp) HasGcpServiceAccountKeyId() bool

HasGcpServiceAccountKeyId returns a boolean if a field has been set.

GetJson

func (o *RotatedSecretCreateGcp) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *RotatedSecretCreateGcp) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *RotatedSecretCreateGcp) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

HasKey

func (o *RotatedSecretCreateGcp) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *RotatedSecretCreateGcp) GetMaxVersions() string

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

GetMaxVersionsOk

func (o *RotatedSecretCreateGcp) 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 *RotatedSecretCreateGcp) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *RotatedSecretCreateGcp) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *RotatedSecretCreateGcp) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetPasswordLength

func (o *RotatedSecretCreateGcp) GetPasswordLength() string

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

GetPasswordLengthOk

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

SetPasswordLength sets PasswordLength field to given value.

HasPasswordLength

func (o *RotatedSecretCreateGcp) HasPasswordLength() bool

HasPasswordLength returns a boolean if a field has been set.

GetRotationEventIn

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

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

GetRotationEventInOk

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

SetRotationEventIn sets RotationEventIn field to given value.

HasRotationEventIn

func (o *RotatedSecretCreateGcp) HasRotationEventIn() bool

HasRotationEventIn returns a boolean if a field has been set.

GetRotationHour

func (o *RotatedSecretCreateGcp) GetRotationHour() int32

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

GetRotationHourOk

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

SetRotationHour sets RotationHour field to given value.

HasRotationHour

func (o *RotatedSecretCreateGcp) HasRotationHour() bool

HasRotationHour returns a boolean if a field has been set.

GetRotationInterval

func (o *RotatedSecretCreateGcp) GetRotationInterval() string

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

GetRotationIntervalOk

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

SetRotationInterval sets RotationInterval field to given value.

HasRotationInterval

func (o *RotatedSecretCreateGcp) HasRotationInterval() bool

HasRotationInterval returns a boolean if a field has been set.

GetRotatorType

func (o *RotatedSecretCreateGcp) GetRotatorType() string

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

GetRotatorTypeOk

func (o *RotatedSecretCreateGcp) 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 *RotatedSecretCreateGcp) SetRotatorType(v string)

SetRotatorType sets RotatorType field to given value.

GetTags

func (o *RotatedSecretCreateGcp) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *RotatedSecretCreateGcp) GetTagsOk() (*[]string, bool)

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

SetTags

func (o *RotatedSecretCreateGcp) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *RotatedSecretCreateGcp) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *RotatedSecretCreateGcp) GetTargetName() string

GetTargetName returns the TargetName field if non-nil, zero value otherwise.

GetTargetNameOk

func (o *RotatedSecretCreateGcp) GetTargetNameOk() (*string, bool)

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

SetTargetName

func (o *RotatedSecretCreateGcp) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

GetToken

func (o *RotatedSecretCreateGcp) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *RotatedSecretCreateGcp) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *RotatedSecretCreateGcp) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *RotatedSecretCreateGcp) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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