Skip to content

Latest commit

 

History

History
436 lines (235 loc) · 12.9 KB

GatewayCreateProducerGcp.md

File metadata and controls

436 lines (235 loc) · 12.9 KB

GatewayCreateProducerGcp

Properties

Name Type Description Notes
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
GcpCredType Pointer to string [optional]
GcpKey Pointer to string Base64-encoded service account private key text [optional]
GcpKeyAlgo Pointer to string Service account key algorithm, e.g. KEY_ALG_RSA_1024 [optional]
GcpSaEmail Pointer to string The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed) [optional]
GcpTokenScopes Pointer to string Access token scopes list, e.g. scope1,scope2 [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
Name string Dynamic secret name
ProducerEncryptionKeyName Pointer to string Dynamic producer encryption key [optional]
RoleBinding Pointer to string Role binding definitions in json format [optional]
ServiceAccountType string The type of the gcp dynamic secret. Options[fixed, dynamic] [default to "fixed"]
Tags Pointer to []string Add tags attached to this object [optional]
TargetName Pointer to string Target name [optional]
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]
UserTtl Pointer to string User TTL [optional] [default to "60m"]

Methods

NewGatewayCreateProducerGcp

func NewGatewayCreateProducerGcp(name string, serviceAccountType string, ) *GatewayCreateProducerGcp

NewGatewayCreateProducerGcp instantiates a new GatewayCreateProducerGcp 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

NewGatewayCreateProducerGcpWithDefaults

func NewGatewayCreateProducerGcpWithDefaults() *GatewayCreateProducerGcp

NewGatewayCreateProducerGcpWithDefaults instantiates a new GatewayCreateProducerGcp 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

GetDeleteProtection

func (o *GatewayCreateProducerGcp) GetDeleteProtection() string

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

GetDeleteProtectionOk

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

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *GatewayCreateProducerGcp) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetGcpCredType

func (o *GatewayCreateProducerGcp) GetGcpCredType() string

GetGcpCredType returns the GcpCredType field if non-nil, zero value otherwise.

GetGcpCredTypeOk

func (o *GatewayCreateProducerGcp) GetGcpCredTypeOk() (*string, bool)

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

SetGcpCredType

func (o *GatewayCreateProducerGcp) SetGcpCredType(v string)

SetGcpCredType sets GcpCredType field to given value.

HasGcpCredType

func (o *GatewayCreateProducerGcp) HasGcpCredType() bool

HasGcpCredType returns a boolean if a field has been set.

GetGcpKey

func (o *GatewayCreateProducerGcp) GetGcpKey() string

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

GetGcpKeyOk

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

SetGcpKey sets GcpKey field to given value.

HasGcpKey

func (o *GatewayCreateProducerGcp) HasGcpKey() bool

HasGcpKey returns a boolean if a field has been set.

GetGcpKeyAlgo

func (o *GatewayCreateProducerGcp) GetGcpKeyAlgo() string

GetGcpKeyAlgo returns the GcpKeyAlgo field if non-nil, zero value otherwise.

GetGcpKeyAlgoOk

func (o *GatewayCreateProducerGcp) GetGcpKeyAlgoOk() (*string, bool)

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

SetGcpKeyAlgo

func (o *GatewayCreateProducerGcp) SetGcpKeyAlgo(v string)

SetGcpKeyAlgo sets GcpKeyAlgo field to given value.

HasGcpKeyAlgo

func (o *GatewayCreateProducerGcp) HasGcpKeyAlgo() bool

HasGcpKeyAlgo returns a boolean if a field has been set.

GetGcpSaEmail

func (o *GatewayCreateProducerGcp) GetGcpSaEmail() string

GetGcpSaEmail returns the GcpSaEmail field if non-nil, zero value otherwise.

GetGcpSaEmailOk

func (o *GatewayCreateProducerGcp) GetGcpSaEmailOk() (*string, bool)

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

SetGcpSaEmail

func (o *GatewayCreateProducerGcp) SetGcpSaEmail(v string)

SetGcpSaEmail sets GcpSaEmail field to given value.

HasGcpSaEmail

func (o *GatewayCreateProducerGcp) HasGcpSaEmail() bool

HasGcpSaEmail returns a boolean if a field has been set.

GetGcpTokenScopes

func (o *GatewayCreateProducerGcp) GetGcpTokenScopes() string

GetGcpTokenScopes returns the GcpTokenScopes field if non-nil, zero value otherwise.

GetGcpTokenScopesOk

func (o *GatewayCreateProducerGcp) GetGcpTokenScopesOk() (*string, bool)

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

SetGcpTokenScopes

func (o *GatewayCreateProducerGcp) SetGcpTokenScopes(v string)

SetGcpTokenScopes sets GcpTokenScopes field to given value.

HasGcpTokenScopes

func (o *GatewayCreateProducerGcp) HasGcpTokenScopes() bool

HasGcpTokenScopes returns a boolean if a field has been set.

GetJson

func (o *GatewayCreateProducerGcp) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *GatewayCreateProducerGcp) HasJson() bool

HasJson returns a boolean if a field has been set.

GetName

func (o *GatewayCreateProducerGcp) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetProducerEncryptionKeyName

func (o *GatewayCreateProducerGcp) GetProducerEncryptionKeyName() string

GetProducerEncryptionKeyName returns the ProducerEncryptionKeyName field if non-nil, zero value otherwise.

GetProducerEncryptionKeyNameOk

func (o *GatewayCreateProducerGcp) GetProducerEncryptionKeyNameOk() (*string, bool)

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

SetProducerEncryptionKeyName

func (o *GatewayCreateProducerGcp) SetProducerEncryptionKeyName(v string)

SetProducerEncryptionKeyName sets ProducerEncryptionKeyName field to given value.

HasProducerEncryptionKeyName

func (o *GatewayCreateProducerGcp) HasProducerEncryptionKeyName() bool

HasProducerEncryptionKeyName returns a boolean if a field has been set.

GetRoleBinding

func (o *GatewayCreateProducerGcp) GetRoleBinding() string

GetRoleBinding returns the RoleBinding field if non-nil, zero value otherwise.

GetRoleBindingOk

func (o *GatewayCreateProducerGcp) GetRoleBindingOk() (*string, bool)

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

SetRoleBinding

func (o *GatewayCreateProducerGcp) SetRoleBinding(v string)

SetRoleBinding sets RoleBinding field to given value.

HasRoleBinding

func (o *GatewayCreateProducerGcp) HasRoleBinding() bool

HasRoleBinding returns a boolean if a field has been set.

GetServiceAccountType

func (o *GatewayCreateProducerGcp) GetServiceAccountType() string

GetServiceAccountType returns the ServiceAccountType field if non-nil, zero value otherwise.

GetServiceAccountTypeOk

func (o *GatewayCreateProducerGcp) GetServiceAccountTypeOk() (*string, bool)

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

SetServiceAccountType

func (o *GatewayCreateProducerGcp) SetServiceAccountType(v string)

SetServiceAccountType sets ServiceAccountType field to given value.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *GatewayCreateProducerGcp) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTargetName

func (o *GatewayCreateProducerGcp) GetTargetName() string

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

GetTargetNameOk

func (o *GatewayCreateProducerGcp) 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 *GatewayCreateProducerGcp) SetTargetName(v string)

SetTargetName sets TargetName field to given value.

HasTargetName

func (o *GatewayCreateProducerGcp) HasTargetName() bool

HasTargetName returns a boolean if a field has been set.

GetToken

func (o *GatewayCreateProducerGcp) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *GatewayCreateProducerGcp) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *GatewayCreateProducerGcp) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *GatewayCreateProducerGcp) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUserTtl

func (o *GatewayCreateProducerGcp) GetUserTtl() string

GetUserTtl returns the UserTtl field if non-nil, zero value otherwise.

GetUserTtlOk

func (o *GatewayCreateProducerGcp) GetUserTtlOk() (*string, bool)

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

SetUserTtl

func (o *GatewayCreateProducerGcp) SetUserTtl(v string)

SetUserTtl sets UserTtl field to given value.

HasUserTtl

func (o *GatewayCreateProducerGcp) HasUserTtl() bool

HasUserTtl returns a boolean if a field has been set.

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