Skip to content

Latest commit

 

History

History
259 lines (140 loc) · 7.02 KB

TargetCreateGcp.md

File metadata and controls

259 lines (140 loc) · 7.02 KB

TargetCreateGcp

Properties

Name Type Description Notes
Description Pointer to string Description of the object [optional]
GcpKey Pointer to string Base64-encoded service account private key text [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 target 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 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]
UseGwCloudIdentity Pointer to bool [optional]

Methods

NewTargetCreateGcp

func NewTargetCreateGcp(name string, ) *TargetCreateGcp

NewTargetCreateGcp instantiates a new TargetCreateGcp 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

NewTargetCreateGcpWithDefaults

func NewTargetCreateGcpWithDefaults() *TargetCreateGcp

NewTargetCreateGcpWithDefaults instantiates a new TargetCreateGcp 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

GetDescription

func (o *TargetCreateGcp) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *TargetCreateGcp) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGcpKey

func (o *TargetCreateGcp) GetGcpKey() string

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

GetGcpKeyOk

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

SetGcpKey sets GcpKey field to given value.

HasGcpKey

func (o *TargetCreateGcp) HasGcpKey() bool

HasGcpKey returns a boolean if a field has been set.

GetJson

func (o *TargetCreateGcp) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *TargetCreateGcp) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *TargetCreateGcp) GetKey() string

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

GetKeyOk

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

SetKey sets Key field to given value.

HasKey

func (o *TargetCreateGcp) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *TargetCreateGcp) GetMaxVersions() string

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

GetMaxVersionsOk

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

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *TargetCreateGcp) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *TargetCreateGcp) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetToken

func (o *TargetCreateGcp) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *TargetCreateGcp) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *TargetCreateGcp) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *TargetCreateGcp) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUseGwCloudIdentity

func (o *TargetCreateGcp) GetUseGwCloudIdentity() bool

GetUseGwCloudIdentity returns the UseGwCloudIdentity field if non-nil, zero value otherwise.

GetUseGwCloudIdentityOk

func (o *TargetCreateGcp) GetUseGwCloudIdentityOk() (*bool, bool)

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

SetUseGwCloudIdentity

func (o *TargetCreateGcp) SetUseGwCloudIdentity(v bool)

SetUseGwCloudIdentity sets UseGwCloudIdentity field to given value.

HasUseGwCloudIdentity

func (o *TargetCreateGcp) HasUseGwCloudIdentity() bool

HasUseGwCloudIdentity returns a boolean if a field has been set.

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