Documentation ¶
Index ¶
- type Client
- func (a *Client) IamServiceBatchGetPrincipals(params *IamServiceBatchGetPrincipalsParams, ...) (*IamServiceBatchGetPrincipalsOK, error)
- func (a *Client) IamServiceCreateUserPrincipal(params *IamServiceCreateUserPrincipalParams, ...) (*IamServiceCreateUserPrincipalOK, error)
- func (a *Client) IamServiceDeleteOrganizationMembership(params *IamServiceDeleteOrganizationMembershipParams, ...) (*IamServiceDeleteOrganizationMembershipOK, error)
- func (a *Client) IamServiceGetCallerIdentity(params *IamServiceGetCallerIdentityParams, ...) (*IamServiceGetCallerIdentityOK, error)
- func (a *Client) IamServiceGetCurrentUserPrincipal(params *IamServiceGetCurrentUserPrincipalParams, ...) (*IamServiceGetCurrentUserPrincipalOK, error)
- func (a *Client) IamServiceGetOrganizationAuthMetadata(params *IamServiceGetOrganizationAuthMetadataParams, ...) (*IamServiceGetOrganizationAuthMetadataOK, error)
- func (a *Client) IamServiceGetUserPrincipalByIDInOrganization(params *IamServiceGetUserPrincipalByIDInOrganizationParams, ...) (*IamServiceGetUserPrincipalByIDInOrganizationOK, error)
- func (a *Client) IamServiceGetUserPrincipalsByIDsInOrganization(params *IamServiceGetUserPrincipalsByIDsInOrganizationParams, ...) (*IamServiceGetUserPrincipalsByIDsInOrganizationOK, error)
- func (a *Client) IamServiceListUserPrincipalsByOrganization(params *IamServiceListUserPrincipalsByOrganizationParams, ...) (*IamServiceListUserPrincipalsByOrganizationOK, error)
- func (a *Client) IamServicePing(params *IamServicePingParams, opts ...ClientOption) (*IamServicePingOK, error)
- func (a *Client) IamServiceSearchPrincipals(params *IamServiceSearchPrincipalsParams, ...) (*IamServiceSearchPrincipalsOK, error)
- func (a *Client) IamServiceUpdateWebConsolePreferences(params *IamServiceUpdateWebConsolePreferencesParams, ...) (*IamServiceUpdateWebConsolePreferencesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type IamServiceBatchGetPrincipalsDefault
- func (o *IamServiceBatchGetPrincipalsDefault) Code() int
- func (o *IamServiceBatchGetPrincipalsDefault) Error() string
- func (o *IamServiceBatchGetPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceBatchGetPrincipalsDefault) IsClientError() bool
- func (o *IamServiceBatchGetPrincipalsDefault) IsCode(code int) bool
- func (o *IamServiceBatchGetPrincipalsDefault) IsRedirect() bool
- func (o *IamServiceBatchGetPrincipalsDefault) IsServerError() bool
- func (o *IamServiceBatchGetPrincipalsDefault) IsSuccess() bool
- func (o *IamServiceBatchGetPrincipalsDefault) String() string
- type IamServiceBatchGetPrincipalsOK
- func (o *IamServiceBatchGetPrincipalsOK) Code() int
- func (o *IamServiceBatchGetPrincipalsOK) Error() string
- func (o *IamServiceBatchGetPrincipalsOK) GetPayload() *models.HashicorpCloudIamBatchGetPrincipalsResponse
- func (o *IamServiceBatchGetPrincipalsOK) IsClientError() bool
- func (o *IamServiceBatchGetPrincipalsOK) IsCode(code int) bool
- func (o *IamServiceBatchGetPrincipalsOK) IsRedirect() bool
- func (o *IamServiceBatchGetPrincipalsOK) IsServerError() bool
- func (o *IamServiceBatchGetPrincipalsOK) IsSuccess() bool
- func (o *IamServiceBatchGetPrincipalsOK) String() string
- type IamServiceBatchGetPrincipalsParams
- func NewIamServiceBatchGetPrincipalsParams() *IamServiceBatchGetPrincipalsParams
- func NewIamServiceBatchGetPrincipalsParamsWithContext(ctx context.Context) *IamServiceBatchGetPrincipalsParams
- func NewIamServiceBatchGetPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceBatchGetPrincipalsParams
- func NewIamServiceBatchGetPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) SetContext(ctx context.Context)
- func (o *IamServiceBatchGetPrincipalsParams) SetDefaults()
- func (o *IamServiceBatchGetPrincipalsParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceBatchGetPrincipalsParams) SetOrganizationID(organizationID string)
- func (o *IamServiceBatchGetPrincipalsParams) SetPrincipalIds(principalIds []string)
- func (o *IamServiceBatchGetPrincipalsParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceBatchGetPrincipalsParams) SetView(view *string)
- func (o *IamServiceBatchGetPrincipalsParams) WithContext(ctx context.Context) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithDefaults() *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithHTTPClient(client *http.Client) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithPrincipalIds(principalIds []string) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithTimeout(timeout time.Duration) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WithView(view *string) *IamServiceBatchGetPrincipalsParams
- func (o *IamServiceBatchGetPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceBatchGetPrincipalsReader
- type IamServiceCreateUserPrincipalDefault
- func (o *IamServiceCreateUserPrincipalDefault) Code() int
- func (o *IamServiceCreateUserPrincipalDefault) Error() string
- func (o *IamServiceCreateUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceCreateUserPrincipalDefault) IsClientError() bool
- func (o *IamServiceCreateUserPrincipalDefault) IsCode(code int) bool
- func (o *IamServiceCreateUserPrincipalDefault) IsRedirect() bool
- func (o *IamServiceCreateUserPrincipalDefault) IsServerError() bool
- func (o *IamServiceCreateUserPrincipalDefault) IsSuccess() bool
- func (o *IamServiceCreateUserPrincipalDefault) String() string
- type IamServiceCreateUserPrincipalOK
- func (o *IamServiceCreateUserPrincipalOK) Code() int
- func (o *IamServiceCreateUserPrincipalOK) Error() string
- func (o *IamServiceCreateUserPrincipalOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
- func (o *IamServiceCreateUserPrincipalOK) IsClientError() bool
- func (o *IamServiceCreateUserPrincipalOK) IsCode(code int) bool
- func (o *IamServiceCreateUserPrincipalOK) IsRedirect() bool
- func (o *IamServiceCreateUserPrincipalOK) IsServerError() bool
- func (o *IamServiceCreateUserPrincipalOK) IsSuccess() bool
- func (o *IamServiceCreateUserPrincipalOK) String() string
- type IamServiceCreateUserPrincipalParams
- func NewIamServiceCreateUserPrincipalParams() *IamServiceCreateUserPrincipalParams
- func NewIamServiceCreateUserPrincipalParamsWithContext(ctx context.Context) *IamServiceCreateUserPrincipalParams
- func NewIamServiceCreateUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceCreateUserPrincipalParams
- func NewIamServiceCreateUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) SetBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest)
- func (o *IamServiceCreateUserPrincipalParams) SetContext(ctx context.Context)
- func (o *IamServiceCreateUserPrincipalParams) SetDefaults()
- func (o *IamServiceCreateUserPrincipalParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceCreateUserPrincipalParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceCreateUserPrincipalParams) WithBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest) *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) WithContext(ctx context.Context) *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) WithDefaults() *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) WithHTTPClient(client *http.Client) *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) WithTimeout(timeout time.Duration) *IamServiceCreateUserPrincipalParams
- func (o *IamServiceCreateUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceCreateUserPrincipalReader
- type IamServiceDeleteOrganizationMembershipDefault
- func (o *IamServiceDeleteOrganizationMembershipDefault) Code() int
- func (o *IamServiceDeleteOrganizationMembershipDefault) Error() string
- func (o *IamServiceDeleteOrganizationMembershipDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceDeleteOrganizationMembershipDefault) IsClientError() bool
- func (o *IamServiceDeleteOrganizationMembershipDefault) IsCode(code int) bool
- func (o *IamServiceDeleteOrganizationMembershipDefault) IsRedirect() bool
- func (o *IamServiceDeleteOrganizationMembershipDefault) IsServerError() bool
- func (o *IamServiceDeleteOrganizationMembershipDefault) IsSuccess() bool
- func (o *IamServiceDeleteOrganizationMembershipDefault) String() string
- type IamServiceDeleteOrganizationMembershipOK
- func (o *IamServiceDeleteOrganizationMembershipOK) Code() int
- func (o *IamServiceDeleteOrganizationMembershipOK) Error() string
- func (o *IamServiceDeleteOrganizationMembershipOK) GetPayload() models.HashicorpCloudIamDeleteOrganizationMembershipResponse
- func (o *IamServiceDeleteOrganizationMembershipOK) IsClientError() bool
- func (o *IamServiceDeleteOrganizationMembershipOK) IsCode(code int) bool
- func (o *IamServiceDeleteOrganizationMembershipOK) IsRedirect() bool
- func (o *IamServiceDeleteOrganizationMembershipOK) IsServerError() bool
- func (o *IamServiceDeleteOrganizationMembershipOK) IsSuccess() bool
- func (o *IamServiceDeleteOrganizationMembershipOK) String() string
- type IamServiceDeleteOrganizationMembershipParams
- func NewIamServiceDeleteOrganizationMembershipParams() *IamServiceDeleteOrganizationMembershipParams
- func NewIamServiceDeleteOrganizationMembershipParamsWithContext(ctx context.Context) *IamServiceDeleteOrganizationMembershipParams
- func NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient(client *http.Client) *IamServiceDeleteOrganizationMembershipParams
- func NewIamServiceDeleteOrganizationMembershipParamsWithTimeout(timeout time.Duration) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) SetContext(ctx context.Context)
- func (o *IamServiceDeleteOrganizationMembershipParams) SetDefaults()
- func (o *IamServiceDeleteOrganizationMembershipParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceDeleteOrganizationMembershipParams) SetOrganizationID(organizationID string)
- func (o *IamServiceDeleteOrganizationMembershipParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceDeleteOrganizationMembershipParams) SetUserPrincipalID(userPrincipalID string)
- func (o *IamServiceDeleteOrganizationMembershipParams) WithContext(ctx context.Context) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WithDefaults() *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WithHTTPClient(client *http.Client) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WithOrganizationID(organizationID string) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WithTimeout(timeout time.Duration) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WithUserPrincipalID(userPrincipalID string) *IamServiceDeleteOrganizationMembershipParams
- func (o *IamServiceDeleteOrganizationMembershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceDeleteOrganizationMembershipReader
- type IamServiceGetCallerIdentityDefault
- func (o *IamServiceGetCallerIdentityDefault) Code() int
- func (o *IamServiceGetCallerIdentityDefault) Error() string
- func (o *IamServiceGetCallerIdentityDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceGetCallerIdentityDefault) IsClientError() bool
- func (o *IamServiceGetCallerIdentityDefault) IsCode(code int) bool
- func (o *IamServiceGetCallerIdentityDefault) IsRedirect() bool
- func (o *IamServiceGetCallerIdentityDefault) IsServerError() bool
- func (o *IamServiceGetCallerIdentityDefault) IsSuccess() bool
- func (o *IamServiceGetCallerIdentityDefault) String() string
- type IamServiceGetCallerIdentityOK
- func (o *IamServiceGetCallerIdentityOK) Code() int
- func (o *IamServiceGetCallerIdentityOK) Error() string
- func (o *IamServiceGetCallerIdentityOK) GetPayload() *models.HashicorpCloudIamGetCallerIdentityResponse
- func (o *IamServiceGetCallerIdentityOK) IsClientError() bool
- func (o *IamServiceGetCallerIdentityOK) IsCode(code int) bool
- func (o *IamServiceGetCallerIdentityOK) IsRedirect() bool
- func (o *IamServiceGetCallerIdentityOK) IsServerError() bool
- func (o *IamServiceGetCallerIdentityOK) IsSuccess() bool
- func (o *IamServiceGetCallerIdentityOK) String() string
- type IamServiceGetCallerIdentityParams
- func NewIamServiceGetCallerIdentityParams() *IamServiceGetCallerIdentityParams
- func NewIamServiceGetCallerIdentityParamsWithContext(ctx context.Context) *IamServiceGetCallerIdentityParams
- func NewIamServiceGetCallerIdentityParamsWithHTTPClient(client *http.Client) *IamServiceGetCallerIdentityParams
- func NewIamServiceGetCallerIdentityParamsWithTimeout(timeout time.Duration) *IamServiceGetCallerIdentityParams
- func (o *IamServiceGetCallerIdentityParams) SetContext(ctx context.Context)
- func (o *IamServiceGetCallerIdentityParams) SetDefaults()
- func (o *IamServiceGetCallerIdentityParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceGetCallerIdentityParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceGetCallerIdentityParams) WithContext(ctx context.Context) *IamServiceGetCallerIdentityParams
- func (o *IamServiceGetCallerIdentityParams) WithDefaults() *IamServiceGetCallerIdentityParams
- func (o *IamServiceGetCallerIdentityParams) WithHTTPClient(client *http.Client) *IamServiceGetCallerIdentityParams
- func (o *IamServiceGetCallerIdentityParams) WithTimeout(timeout time.Duration) *IamServiceGetCallerIdentityParams
- func (o *IamServiceGetCallerIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceGetCallerIdentityReader
- type IamServiceGetCurrentUserPrincipalDefault
- func (o *IamServiceGetCurrentUserPrincipalDefault) Code() int
- func (o *IamServiceGetCurrentUserPrincipalDefault) Error() string
- func (o *IamServiceGetCurrentUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceGetCurrentUserPrincipalDefault) IsClientError() bool
- func (o *IamServiceGetCurrentUserPrincipalDefault) IsCode(code int) bool
- func (o *IamServiceGetCurrentUserPrincipalDefault) IsRedirect() bool
- func (o *IamServiceGetCurrentUserPrincipalDefault) IsServerError() bool
- func (o *IamServiceGetCurrentUserPrincipalDefault) IsSuccess() bool
- func (o *IamServiceGetCurrentUserPrincipalDefault) String() string
- type IamServiceGetCurrentUserPrincipalOK
- func (o *IamServiceGetCurrentUserPrincipalOK) Code() int
- func (o *IamServiceGetCurrentUserPrincipalOK) Error() string
- func (o *IamServiceGetCurrentUserPrincipalOK) GetPayload() *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
- func (o *IamServiceGetCurrentUserPrincipalOK) IsClientError() bool
- func (o *IamServiceGetCurrentUserPrincipalOK) IsCode(code int) bool
- func (o *IamServiceGetCurrentUserPrincipalOK) IsRedirect() bool
- func (o *IamServiceGetCurrentUserPrincipalOK) IsServerError() bool
- func (o *IamServiceGetCurrentUserPrincipalOK) IsSuccess() bool
- func (o *IamServiceGetCurrentUserPrincipalOK) String() string
- type IamServiceGetCurrentUserPrincipalParams
- func NewIamServiceGetCurrentUserPrincipalParams() *IamServiceGetCurrentUserPrincipalParams
- func NewIamServiceGetCurrentUserPrincipalParamsWithContext(ctx context.Context) *IamServiceGetCurrentUserPrincipalParams
- func NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceGetCurrentUserPrincipalParams
- func NewIamServiceGetCurrentUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) SetContext(ctx context.Context)
- func (o *IamServiceGetCurrentUserPrincipalParams) SetDefaults()
- func (o *IamServiceGetCurrentUserPrincipalParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceGetCurrentUserPrincipalParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceGetCurrentUserPrincipalParams) SetWebPortalPreferences(webPortalPreferences *bool)
- func (o *IamServiceGetCurrentUserPrincipalParams) WithContext(ctx context.Context) *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) WithDefaults() *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) WithHTTPClient(client *http.Client) *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) WithTimeout(timeout time.Duration) *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) WithWebPortalPreferences(webPortalPreferences *bool) *IamServiceGetCurrentUserPrincipalParams
- func (o *IamServiceGetCurrentUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceGetCurrentUserPrincipalReader
- type IamServiceGetOrganizationAuthMetadataDefault
- func (o *IamServiceGetOrganizationAuthMetadataDefault) Code() int
- func (o *IamServiceGetOrganizationAuthMetadataDefault) Error() string
- func (o *IamServiceGetOrganizationAuthMetadataDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceGetOrganizationAuthMetadataDefault) IsClientError() bool
- func (o *IamServiceGetOrganizationAuthMetadataDefault) IsCode(code int) bool
- func (o *IamServiceGetOrganizationAuthMetadataDefault) IsRedirect() bool
- func (o *IamServiceGetOrganizationAuthMetadataDefault) IsServerError() bool
- func (o *IamServiceGetOrganizationAuthMetadataDefault) IsSuccess() bool
- func (o *IamServiceGetOrganizationAuthMetadataDefault) String() string
- type IamServiceGetOrganizationAuthMetadataOK
- func (o *IamServiceGetOrganizationAuthMetadataOK) Code() int
- func (o *IamServiceGetOrganizationAuthMetadataOK) Error() string
- func (o *IamServiceGetOrganizationAuthMetadataOK) GetPayload() *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
- func (o *IamServiceGetOrganizationAuthMetadataOK) IsClientError() bool
- func (o *IamServiceGetOrganizationAuthMetadataOK) IsCode(code int) bool
- func (o *IamServiceGetOrganizationAuthMetadataOK) IsRedirect() bool
- func (o *IamServiceGetOrganizationAuthMetadataOK) IsServerError() bool
- func (o *IamServiceGetOrganizationAuthMetadataOK) IsSuccess() bool
- func (o *IamServiceGetOrganizationAuthMetadataOK) String() string
- type IamServiceGetOrganizationAuthMetadataParams
- func NewIamServiceGetOrganizationAuthMetadataParams() *IamServiceGetOrganizationAuthMetadataParams
- func NewIamServiceGetOrganizationAuthMetadataParamsWithContext(ctx context.Context) *IamServiceGetOrganizationAuthMetadataParams
- func NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient(client *http.Client) *IamServiceGetOrganizationAuthMetadataParams
- func NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout(timeout time.Duration) *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) SetContext(ctx context.Context)
- func (o *IamServiceGetOrganizationAuthMetadataParams) SetDefaults()
- func (o *IamServiceGetOrganizationAuthMetadataParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceGetOrganizationAuthMetadataParams) SetOrganizationID(organizationID string)
- func (o *IamServiceGetOrganizationAuthMetadataParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceGetOrganizationAuthMetadataParams) WithContext(ctx context.Context) *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) WithDefaults() *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) WithHTTPClient(client *http.Client) *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) WithOrganizationID(organizationID string) *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) WithTimeout(timeout time.Duration) *IamServiceGetOrganizationAuthMetadataParams
- func (o *IamServiceGetOrganizationAuthMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceGetOrganizationAuthMetadataReader
- type IamServiceGetUserPrincipalByIDInOrganizationDefault
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) Code() int
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) Error() string
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsClientError() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsCode(code int) bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsRedirect() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsServerError() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsSuccess() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) String() string
- type IamServiceGetUserPrincipalByIDInOrganizationOK
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) Code() int
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) Error() string
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsClientError() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsCode(code int) bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsRedirect() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsServerError() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsSuccess() bool
- func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) String() string
- type IamServiceGetUserPrincipalByIDInOrganizationParams
- func NewIamServiceGetUserPrincipalByIDInOrganizationParams() *IamServiceGetUserPrincipalByIDInOrganizationParams
- func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetContext(ctx context.Context)
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetDefaults()
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetOrganizationID(organizationID string)
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID(userPrincipalID string)
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithContext(ctx context.Context) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithDefaults() *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithOrganizationID(organizationID string) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID(userPrincipalID string) *IamServiceGetUserPrincipalByIDInOrganizationParams
- func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceGetUserPrincipalByIDInOrganizationReader
- type IamServiceGetUserPrincipalsByIDsInOrganizationBody
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) MarshalBinary() ([]byte, error)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) UnmarshalBinary(b []byte) error
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) Validate(formats strfmt.Registry) error
- type IamServiceGetUserPrincipalsByIDsInOrganizationDefault
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Code() int
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Error() string
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsClientError() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsCode(code int) bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsRedirect() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsServerError() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsSuccess() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) String() string
- type IamServiceGetUserPrincipalsByIDsInOrganizationOK
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) Code() int
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) Error() string
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) GetPayload() *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsClientError() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsCode(code int) bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsRedirect() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsServerError() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsSuccess() bool
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) String() string
- type IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func NewIamServiceGetUserPrincipalsByIDsInOrganizationParams() *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetBody(body IamServiceGetUserPrincipalsByIDsInOrganizationBody)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetContext(ctx context.Context)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetDefaults()
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID(organizationID string)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithBody(body IamServiceGetUserPrincipalsByIDsInOrganizationBody) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithContext(ctx context.Context) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithDefaults() *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID(organizationID string) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
- func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceGetUserPrincipalsByIDsInOrganizationReader
- type IamServiceListUserPrincipalsByOrganizationDefault
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) Code() int
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) Error() string
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsClientError() bool
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsCode(code int) bool
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsRedirect() bool
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsServerError() bool
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsSuccess() bool
- func (o *IamServiceListUserPrincipalsByOrganizationDefault) String() string
- type IamServiceListUserPrincipalsByOrganizationOK
- func (o *IamServiceListUserPrincipalsByOrganizationOK) Code() int
- func (o *IamServiceListUserPrincipalsByOrganizationOK) Error() string
- func (o *IamServiceListUserPrincipalsByOrganizationOK) GetPayload() *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
- func (o *IamServiceListUserPrincipalsByOrganizationOK) IsClientError() bool
- func (o *IamServiceListUserPrincipalsByOrganizationOK) IsCode(code int) bool
- func (o *IamServiceListUserPrincipalsByOrganizationOK) IsRedirect() bool
- func (o *IamServiceListUserPrincipalsByOrganizationOK) IsServerError() bool
- func (o *IamServiceListUserPrincipalsByOrganizationOK) IsSuccess() bool
- func (o *IamServiceListUserPrincipalsByOrganizationOK) String() string
- type IamServiceListUserPrincipalsByOrganizationParams
- func NewIamServiceListUserPrincipalsByOrganizationParams() *IamServiceListUserPrincipalsByOrganizationParams
- func NewIamServiceListUserPrincipalsByOrganizationParamsWithContext(ctx context.Context) *IamServiceListUserPrincipalsByOrganizationParams
- func NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceListUserPrincipalsByOrganizationParams
- func NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetContext(ctx context.Context)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetDefaults()
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetOrganizationID(organizationID string)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithContext(ctx context.Context) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithDefaults() *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithOrganizationID(organizationID string) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken(paginationNextPageToken *string) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPageSize(paginationPageSize *int64) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceListUserPrincipalsByOrganizationParams
- func (o *IamServiceListUserPrincipalsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceListUserPrincipalsByOrganizationReader
- type IamServicePingDefault
- func (o *IamServicePingDefault) Code() int
- func (o *IamServicePingDefault) Error() string
- func (o *IamServicePingDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServicePingDefault) IsClientError() bool
- func (o *IamServicePingDefault) IsCode(code int) bool
- func (o *IamServicePingDefault) IsRedirect() bool
- func (o *IamServicePingDefault) IsServerError() bool
- func (o *IamServicePingDefault) IsSuccess() bool
- func (o *IamServicePingDefault) String() string
- type IamServicePingOK
- func (o *IamServicePingOK) Code() int
- func (o *IamServicePingOK) Error() string
- func (o *IamServicePingOK) GetPayload() models.HashicorpCloudIamPingResponse
- func (o *IamServicePingOK) IsClientError() bool
- func (o *IamServicePingOK) IsCode(code int) bool
- func (o *IamServicePingOK) IsRedirect() bool
- func (o *IamServicePingOK) IsServerError() bool
- func (o *IamServicePingOK) IsSuccess() bool
- func (o *IamServicePingOK) String() string
- type IamServicePingParams
- func NewIamServicePingParams() *IamServicePingParams
- func NewIamServicePingParamsWithContext(ctx context.Context) *IamServicePingParams
- func NewIamServicePingParamsWithHTTPClient(client *http.Client) *IamServicePingParams
- func NewIamServicePingParamsWithTimeout(timeout time.Duration) *IamServicePingParams
- func (o *IamServicePingParams) SetContext(ctx context.Context)
- func (o *IamServicePingParams) SetDefaults()
- func (o *IamServicePingParams) SetHTTPClient(client *http.Client)
- func (o *IamServicePingParams) SetTimeout(timeout time.Duration)
- func (o *IamServicePingParams) WithContext(ctx context.Context) *IamServicePingParams
- func (o *IamServicePingParams) WithDefaults() *IamServicePingParams
- func (o *IamServicePingParams) WithHTTPClient(client *http.Client) *IamServicePingParams
- func (o *IamServicePingParams) WithTimeout(timeout time.Duration) *IamServicePingParams
- func (o *IamServicePingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServicePingReader
- type IamServiceSearchPrincipalsBody
- func (o *IamServiceSearchPrincipalsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IamServiceSearchPrincipalsBody) MarshalBinary() ([]byte, error)
- func (o *IamServiceSearchPrincipalsBody) UnmarshalBinary(b []byte) error
- func (o *IamServiceSearchPrincipalsBody) Validate(formats strfmt.Registry) error
- type IamServiceSearchPrincipalsDefault
- func (o *IamServiceSearchPrincipalsDefault) Code() int
- func (o *IamServiceSearchPrincipalsDefault) Error() string
- func (o *IamServiceSearchPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceSearchPrincipalsDefault) IsClientError() bool
- func (o *IamServiceSearchPrincipalsDefault) IsCode(code int) bool
- func (o *IamServiceSearchPrincipalsDefault) IsRedirect() bool
- func (o *IamServiceSearchPrincipalsDefault) IsServerError() bool
- func (o *IamServiceSearchPrincipalsDefault) IsSuccess() bool
- func (o *IamServiceSearchPrincipalsDefault) String() string
- type IamServiceSearchPrincipalsOK
- func (o *IamServiceSearchPrincipalsOK) Code() int
- func (o *IamServiceSearchPrincipalsOK) Error() string
- func (o *IamServiceSearchPrincipalsOK) GetPayload() *models.HashicorpCloudIamSearchPrincipalsResponse
- func (o *IamServiceSearchPrincipalsOK) IsClientError() bool
- func (o *IamServiceSearchPrincipalsOK) IsCode(code int) bool
- func (o *IamServiceSearchPrincipalsOK) IsRedirect() bool
- func (o *IamServiceSearchPrincipalsOK) IsServerError() bool
- func (o *IamServiceSearchPrincipalsOK) IsSuccess() bool
- func (o *IamServiceSearchPrincipalsOK) String() string
- type IamServiceSearchPrincipalsParams
- func NewIamServiceSearchPrincipalsParams() *IamServiceSearchPrincipalsParams
- func NewIamServiceSearchPrincipalsParamsWithContext(ctx context.Context) *IamServiceSearchPrincipalsParams
- func NewIamServiceSearchPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceSearchPrincipalsParams
- func NewIamServiceSearchPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) SetBody(body IamServiceSearchPrincipalsBody)
- func (o *IamServiceSearchPrincipalsParams) SetContext(ctx context.Context)
- func (o *IamServiceSearchPrincipalsParams) SetDefaults()
- func (o *IamServiceSearchPrincipalsParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceSearchPrincipalsParams) SetOrganizationID(organizationID string)
- func (o *IamServiceSearchPrincipalsParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceSearchPrincipalsParams) WithBody(body IamServiceSearchPrincipalsBody) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WithContext(ctx context.Context) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WithDefaults() *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WithHTTPClient(client *http.Client) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WithTimeout(timeout time.Duration) *IamServiceSearchPrincipalsParams
- func (o *IamServiceSearchPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceSearchPrincipalsReader
- type IamServiceUpdateWebConsolePreferencesDefault
- func (o *IamServiceUpdateWebConsolePreferencesDefault) Code() int
- func (o *IamServiceUpdateWebConsolePreferencesDefault) Error() string
- func (o *IamServiceUpdateWebConsolePreferencesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *IamServiceUpdateWebConsolePreferencesDefault) IsClientError() bool
- func (o *IamServiceUpdateWebConsolePreferencesDefault) IsCode(code int) bool
- func (o *IamServiceUpdateWebConsolePreferencesDefault) IsRedirect() bool
- func (o *IamServiceUpdateWebConsolePreferencesDefault) IsServerError() bool
- func (o *IamServiceUpdateWebConsolePreferencesDefault) IsSuccess() bool
- func (o *IamServiceUpdateWebConsolePreferencesDefault) String() string
- type IamServiceUpdateWebConsolePreferencesOK
- func (o *IamServiceUpdateWebConsolePreferencesOK) Code() int
- func (o *IamServiceUpdateWebConsolePreferencesOK) Error() string
- func (o *IamServiceUpdateWebConsolePreferencesOK) GetPayload() *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
- func (o *IamServiceUpdateWebConsolePreferencesOK) IsClientError() bool
- func (o *IamServiceUpdateWebConsolePreferencesOK) IsCode(code int) bool
- func (o *IamServiceUpdateWebConsolePreferencesOK) IsRedirect() bool
- func (o *IamServiceUpdateWebConsolePreferencesOK) IsServerError() bool
- func (o *IamServiceUpdateWebConsolePreferencesOK) IsSuccess() bool
- func (o *IamServiceUpdateWebConsolePreferencesOK) String() string
- type IamServiceUpdateWebConsolePreferencesParams
- func NewIamServiceUpdateWebConsolePreferencesParams() *IamServiceUpdateWebConsolePreferencesParams
- func NewIamServiceUpdateWebConsolePreferencesParamsWithContext(ctx context.Context) *IamServiceUpdateWebConsolePreferencesParams
- func NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient(client *http.Client) *IamServiceUpdateWebConsolePreferencesParams
- func NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout(timeout time.Duration) *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) SetBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest)
- func (o *IamServiceUpdateWebConsolePreferencesParams) SetContext(ctx context.Context)
- func (o *IamServiceUpdateWebConsolePreferencesParams) SetDefaults()
- func (o *IamServiceUpdateWebConsolePreferencesParams) SetHTTPClient(client *http.Client)
- func (o *IamServiceUpdateWebConsolePreferencesParams) SetTimeout(timeout time.Duration)
- func (o *IamServiceUpdateWebConsolePreferencesParams) WithBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest) *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) WithContext(ctx context.Context) *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) WithDefaults() *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) WithHTTPClient(client *http.Client) *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) WithTimeout(timeout time.Duration) *IamServiceUpdateWebConsolePreferencesParams
- func (o *IamServiceUpdateWebConsolePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IamServiceUpdateWebConsolePreferencesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for iam service API
func (*Client) IamServiceBatchGetPrincipals ¶ added in v0.66.0
func (a *Client) IamServiceBatchGetPrincipals(params *IamServiceBatchGetPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceBatchGetPrincipalsOK, error)
IamServiceBatchGetPrincipals batches get principals retrieves principals in a batch
func (*Client) IamServiceCreateUserPrincipal ¶ added in v0.64.0
func (a *Client) IamServiceCreateUserPrincipal(params *IamServiceCreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceCreateUserPrincipalOK, error)
IamServiceCreateUserPrincipal creates user principal creates a new user principal
func (*Client) IamServiceDeleteOrganizationMembership ¶ added in v0.64.0
func (a *Client) IamServiceDeleteOrganizationMembership(params *IamServiceDeleteOrganizationMembershipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceDeleteOrganizationMembershipOK, error)
IamServiceDeleteOrganizationMembership deletes organization membership deletes a user principal s organization membership
func (*Client) IamServiceGetCallerIdentity ¶ added in v0.65.0
func (a *Client) IamServiceGetCallerIdentity(params *IamServiceGetCallerIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCallerIdentityOK, error)
IamServiceGetCallerIdentity gets caller identity returns the identity of the current caller
func (*Client) IamServiceGetCurrentUserPrincipal ¶ added in v0.64.0
func (a *Client) IamServiceGetCurrentUserPrincipal(params *IamServiceGetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCurrentUserPrincipalOK, error)
IamServiceGetCurrentUserPrincipal gets current user principal retrieves information about the current user principal this endpoint it meant to be used by external clients over an HTTP API it supports retrieving the basic user principal data useful for any client and optionally the user preferences for the h c p web portal j s application
func (*Client) IamServiceGetOrganizationAuthMetadata ¶ added in v0.64.0
func (a *Client) IamServiceGetOrganizationAuthMetadata(params *IamServiceGetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetOrganizationAuthMetadataOK, error)
IamServiceGetOrganizationAuthMetadata gets organization auth metadata returns metadata about the organization s configured authentication methods
func (*Client) IamServiceGetUserPrincipalByIDInOrganization ¶ added in v0.64.0
func (a *Client) IamServiceGetUserPrincipalByIDInOrganization(params *IamServiceGetUserPrincipalByIDInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalByIDInOrganizationOK, error)
IamServiceGetUserPrincipalByIDInOrganization gets user principal retrieves a user principal
func (*Client) IamServiceGetUserPrincipalsByIDsInOrganization ¶ added in v0.64.0
func (a *Client) IamServiceGetUserPrincipalsByIDsInOrganization(params *IamServiceGetUserPrincipalsByIDsInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalsByIDsInOrganizationOK, error)
IamServiceGetUserPrincipalsByIDsInOrganization gets user principals by i ds in organization is a batch method to fetch users by ID for a given organization if some of the requested users don t exist or aren t members of the given organization then they will be omitted in response we re using p o s t because g e t has a length limitation for URL which is given that user id is UUID would limit us to fetching up to 48 users at a time which is less than ideal
func (*Client) IamServiceListUserPrincipalsByOrganization ¶ added in v0.64.0
func (a *Client) IamServiceListUserPrincipalsByOrganization(params *IamServiceListUserPrincipalsByOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceListUserPrincipalsByOrganizationOK, error)
IamServiceListUserPrincipalsByOrganization lists user principals by organization returns a list of principals that are members of an organization
func (*Client) IamServicePing ¶ added in v0.64.0
func (a *Client) IamServicePing(params *IamServicePingParams, opts ...ClientOption) (*IamServicePingOK, error)
IamServicePing pings pings the healthcheck endpoint exposed for HTTP healthchecks via datadog synthetic monitoring
func (*Client) IamServiceSearchPrincipals ¶ added in v0.64.0
func (a *Client) IamServiceSearchPrincipals(params *IamServiceSearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceSearchPrincipalsOK, error)
IamServiceSearchPrincipals searches principals returns principal details for principals within the supplied organization optional filters may be specified to filter the result set
func (*Client) IamServiceUpdateWebConsolePreferences ¶ added in v0.64.0
func (a *Client) IamServiceUpdateWebConsolePreferences(params *IamServiceUpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceUpdateWebConsolePreferencesOK, error)
IamServiceUpdateWebConsolePreferences updates web console preferences updates a user principal s web portal fka web console preferences
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { IamServiceBatchGetPrincipals(params *IamServiceBatchGetPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceBatchGetPrincipalsOK, error) IamServiceCreateUserPrincipal(params *IamServiceCreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceCreateUserPrincipalOK, error) IamServiceDeleteOrganizationMembership(params *IamServiceDeleteOrganizationMembershipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceDeleteOrganizationMembershipOK, error) IamServiceGetCallerIdentity(params *IamServiceGetCallerIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCallerIdentityOK, error) IamServiceGetCurrentUserPrincipal(params *IamServiceGetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCurrentUserPrincipalOK, error) IamServiceGetOrganizationAuthMetadata(params *IamServiceGetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetOrganizationAuthMetadataOK, error) IamServiceGetUserPrincipalByIDInOrganization(params *IamServiceGetUserPrincipalByIDInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalByIDInOrganizationOK, error) IamServiceGetUserPrincipalsByIDsInOrganization(params *IamServiceGetUserPrincipalsByIDsInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalsByIDsInOrganizationOK, error) IamServiceListUserPrincipalsByOrganization(params *IamServiceListUserPrincipalsByOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceListUserPrincipalsByOrganizationOK, error) IamServicePing(params *IamServicePingParams, opts ...ClientOption) (*IamServicePingOK, error) IamServiceSearchPrincipals(params *IamServiceSearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceSearchPrincipalsOK, error) IamServiceUpdateWebConsolePreferences(params *IamServiceUpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceUpdateWebConsolePreferencesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new iam service API client.
type IamServiceBatchGetPrincipalsDefault ¶ added in v0.66.0
type IamServiceBatchGetPrincipalsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceBatchGetPrincipalsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceBatchGetPrincipalsDefault ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsDefault(code int) *IamServiceBatchGetPrincipalsDefault
NewIamServiceBatchGetPrincipalsDefault creates a IamServiceBatchGetPrincipalsDefault with default headers values
func (*IamServiceBatchGetPrincipalsDefault) Code ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) Code() int
Code gets the status code for the iam service batch get principals default response
func (*IamServiceBatchGetPrincipalsDefault) Error ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) Error() string
func (*IamServiceBatchGetPrincipalsDefault) GetPayload ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceBatchGetPrincipalsDefault) IsClientError ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) IsClientError() bool
IsClientError returns true when this iam service batch get principals default response has a 4xx status code
func (*IamServiceBatchGetPrincipalsDefault) IsCode ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) IsCode(code int) bool
IsCode returns true when this iam service batch get principals default response a status code equal to that given
func (*IamServiceBatchGetPrincipalsDefault) IsRedirect ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) IsRedirect() bool
IsRedirect returns true when this iam service batch get principals default response has a 3xx status code
func (*IamServiceBatchGetPrincipalsDefault) IsServerError ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) IsServerError() bool
IsServerError returns true when this iam service batch get principals default response has a 5xx status code
func (*IamServiceBatchGetPrincipalsDefault) IsSuccess ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) IsSuccess() bool
IsSuccess returns true when this iam service batch get principals default response has a 2xx status code
func (*IamServiceBatchGetPrincipalsDefault) String ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsDefault) String() string
type IamServiceBatchGetPrincipalsOK ¶ added in v0.66.0
type IamServiceBatchGetPrincipalsOK struct {
Payload *models.HashicorpCloudIamBatchGetPrincipalsResponse
}
IamServiceBatchGetPrincipalsOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceBatchGetPrincipalsOK ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsOK() *IamServiceBatchGetPrincipalsOK
NewIamServiceBatchGetPrincipalsOK creates a IamServiceBatchGetPrincipalsOK with default headers values
func (*IamServiceBatchGetPrincipalsOK) Code ¶ added in v0.68.0
func (o *IamServiceBatchGetPrincipalsOK) Code() int
Code gets the status code for the iam service batch get principals o k response
func (*IamServiceBatchGetPrincipalsOK) Error ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) Error() string
func (*IamServiceBatchGetPrincipalsOK) GetPayload ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) GetPayload() *models.HashicorpCloudIamBatchGetPrincipalsResponse
func (*IamServiceBatchGetPrincipalsOK) IsClientError ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) IsClientError() bool
IsClientError returns true when this iam service batch get principals o k response has a 4xx status code
func (*IamServiceBatchGetPrincipalsOK) IsCode ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) IsCode(code int) bool
IsCode returns true when this iam service batch get principals o k response a status code equal to that given
func (*IamServiceBatchGetPrincipalsOK) IsRedirect ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) IsRedirect() bool
IsRedirect returns true when this iam service batch get principals o k response has a 3xx status code
func (*IamServiceBatchGetPrincipalsOK) IsServerError ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) IsServerError() bool
IsServerError returns true when this iam service batch get principals o k response has a 5xx status code
func (*IamServiceBatchGetPrincipalsOK) IsSuccess ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) IsSuccess() bool
IsSuccess returns true when this iam service batch get principals o k response has a 2xx status code
func (*IamServiceBatchGetPrincipalsOK) String ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsOK) String() string
type IamServiceBatchGetPrincipalsParams ¶ added in v0.66.0
type IamServiceBatchGetPrincipalsParams struct { /* OrganizationID. organization_id is the organization to query principals in. */ OrganizationID string /* PrincipalIds. principal_ids is the list of principals to retrieve. A maximum of 1000 princiapls are allowed in a single request. */ PrincipalIds []string /* View. view allows the caller to choose the set of principal data that is returned. If unset, the request defaults to PRINCIPAL_VIEW_BASIC. - PRINCIPAL_VIEW_UNSPECIFIED: The default / unset value. - PRINCIPAL_VIEW_BASIC: Include basic metadata about the principal, but not the principal details. This will return the Id and Type only. - PRINCIPAL_VIEW_FULL: Include everything. Default: "PRINCIPAL_VIEW_UNSPECIFIED" */ View *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceBatchGetPrincipalsParams contains all the parameters to send to the API endpoint
for the iam service batch get principals operation. Typically these are written to a http.Request.
func NewIamServiceBatchGetPrincipalsParams ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsParams() *IamServiceBatchGetPrincipalsParams
NewIamServiceBatchGetPrincipalsParams creates a new IamServiceBatchGetPrincipalsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceBatchGetPrincipalsParamsWithContext ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsParamsWithContext(ctx context.Context) *IamServiceBatchGetPrincipalsParams
NewIamServiceBatchGetPrincipalsParamsWithContext creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a context for a request.
func NewIamServiceBatchGetPrincipalsParamsWithHTTPClient ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceBatchGetPrincipalsParams
NewIamServiceBatchGetPrincipalsParamsWithHTTPClient creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceBatchGetPrincipalsParamsWithTimeout ¶ added in v0.66.0
func NewIamServiceBatchGetPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceBatchGetPrincipalsParams
NewIamServiceBatchGetPrincipalsParamsWithTimeout creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a timeout on a request.
func (*IamServiceBatchGetPrincipalsParams) SetContext ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) SetDefaults ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetDefaults()
SetDefaults hydrates default values in the iam service batch get principals params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceBatchGetPrincipalsParams) SetHTTPClient ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) SetOrganizationID ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) SetPrincipalIds ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetPrincipalIds(principalIds []string)
SetPrincipalIds adds the principalIds to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) SetTimeout ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) SetView ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) SetView(view *string)
SetView adds the view to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithContext ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithContext(ctx context.Context) *IamServiceBatchGetPrincipalsParams
WithContext adds the context to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithDefaults ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithDefaults() *IamServiceBatchGetPrincipalsParams
WithDefaults hydrates default values in the iam service batch get principals params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceBatchGetPrincipalsParams) WithHTTPClient ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithHTTPClient(client *http.Client) *IamServiceBatchGetPrincipalsParams
WithHTTPClient adds the HTTPClient to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithOrganizationID ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceBatchGetPrincipalsParams
WithOrganizationID adds the organizationID to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithPrincipalIds ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithPrincipalIds(principalIds []string) *IamServiceBatchGetPrincipalsParams
WithPrincipalIds adds the principalIds to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithTimeout ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithTimeout(timeout time.Duration) *IamServiceBatchGetPrincipalsParams
WithTimeout adds the timeout to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WithView ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WithView(view *string) *IamServiceBatchGetPrincipalsParams
WithView adds the view to the iam service batch get principals params
func (*IamServiceBatchGetPrincipalsParams) WriteToRequest ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceBatchGetPrincipalsReader ¶ added in v0.66.0
type IamServiceBatchGetPrincipalsReader struct {
// contains filtered or unexported fields
}
IamServiceBatchGetPrincipalsReader is a Reader for the IamServiceBatchGetPrincipals structure.
func (*IamServiceBatchGetPrincipalsReader) ReadResponse ¶ added in v0.66.0
func (o *IamServiceBatchGetPrincipalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceCreateUserPrincipalDefault ¶ added in v0.64.0
type IamServiceCreateUserPrincipalDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceCreateUserPrincipalDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceCreateUserPrincipalDefault ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalDefault(code int) *IamServiceCreateUserPrincipalDefault
NewIamServiceCreateUserPrincipalDefault creates a IamServiceCreateUserPrincipalDefault with default headers values
func (*IamServiceCreateUserPrincipalDefault) Code ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) Code() int
Code gets the status code for the iam service create user principal default response
func (*IamServiceCreateUserPrincipalDefault) Error ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) Error() string
func (*IamServiceCreateUserPrincipalDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceCreateUserPrincipalDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) IsClientError() bool
IsClientError returns true when this iam service create user principal default response has a 4xx status code
func (*IamServiceCreateUserPrincipalDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) IsCode(code int) bool
IsCode returns true when this iam service create user principal default response a status code equal to that given
func (*IamServiceCreateUserPrincipalDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) IsRedirect() bool
IsRedirect returns true when this iam service create user principal default response has a 3xx status code
func (*IamServiceCreateUserPrincipalDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) IsServerError() bool
IsServerError returns true when this iam service create user principal default response has a 5xx status code
func (*IamServiceCreateUserPrincipalDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) IsSuccess() bool
IsSuccess returns true when this iam service create user principal default response has a 2xx status code
func (*IamServiceCreateUserPrincipalDefault) String ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalDefault) String() string
type IamServiceCreateUserPrincipalOK ¶ added in v0.64.0
type IamServiceCreateUserPrincipalOK struct {
Payload *models.HashicorpCloudIamUserPrincipalResponse
}
IamServiceCreateUserPrincipalOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceCreateUserPrincipalOK ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalOK() *IamServiceCreateUserPrincipalOK
NewIamServiceCreateUserPrincipalOK creates a IamServiceCreateUserPrincipalOK with default headers values
func (*IamServiceCreateUserPrincipalOK) Code ¶ added in v0.68.0
func (o *IamServiceCreateUserPrincipalOK) Code() int
Code gets the status code for the iam service create user principal o k response
func (*IamServiceCreateUserPrincipalOK) Error ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) Error() string
func (*IamServiceCreateUserPrincipalOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
func (*IamServiceCreateUserPrincipalOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) IsClientError() bool
IsClientError returns true when this iam service create user principal o k response has a 4xx status code
func (*IamServiceCreateUserPrincipalOK) IsCode ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) IsCode(code int) bool
IsCode returns true when this iam service create user principal o k response a status code equal to that given
func (*IamServiceCreateUserPrincipalOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) IsRedirect() bool
IsRedirect returns true when this iam service create user principal o k response has a 3xx status code
func (*IamServiceCreateUserPrincipalOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) IsServerError() bool
IsServerError returns true when this iam service create user principal o k response has a 5xx status code
func (*IamServiceCreateUserPrincipalOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) IsSuccess() bool
IsSuccess returns true when this iam service create user principal o k response has a 2xx status code
func (*IamServiceCreateUserPrincipalOK) String ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalOK) String() string
type IamServiceCreateUserPrincipalParams ¶ added in v0.64.0
type IamServiceCreateUserPrincipalParams struct { /* Body. CreateUserPrincipalRequest is the request to create a user principal on the IAM service. */ Body *models.HashicorpCloudIamCreateUserPrincipalRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceCreateUserPrincipalParams contains all the parameters to send to the API endpoint
for the iam service create user principal operation. Typically these are written to a http.Request.
func NewIamServiceCreateUserPrincipalParams ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalParams() *IamServiceCreateUserPrincipalParams
NewIamServiceCreateUserPrincipalParams creates a new IamServiceCreateUserPrincipalParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceCreateUserPrincipalParamsWithContext ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalParamsWithContext(ctx context.Context) *IamServiceCreateUserPrincipalParams
NewIamServiceCreateUserPrincipalParamsWithContext creates a new IamServiceCreateUserPrincipalParams object with the ability to set a context for a request.
func NewIamServiceCreateUserPrincipalParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceCreateUserPrincipalParams
NewIamServiceCreateUserPrincipalParamsWithHTTPClient creates a new IamServiceCreateUserPrincipalParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceCreateUserPrincipalParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceCreateUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceCreateUserPrincipalParams
NewIamServiceCreateUserPrincipalParamsWithTimeout creates a new IamServiceCreateUserPrincipalParams object with the ability to set a timeout on a request.
func (*IamServiceCreateUserPrincipalParams) SetBody ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) SetBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest)
SetBody adds the body to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) SetContext ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) SetDefaults()
SetDefaults hydrates default values in the iam service create user principal params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceCreateUserPrincipalParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) WithBody ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WithBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest) *IamServiceCreateUserPrincipalParams
WithBody adds the body to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) WithContext ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WithContext(ctx context.Context) *IamServiceCreateUserPrincipalParams
WithContext adds the context to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WithDefaults() *IamServiceCreateUserPrincipalParams
WithDefaults hydrates default values in the iam service create user principal params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceCreateUserPrincipalParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WithHTTPClient(client *http.Client) *IamServiceCreateUserPrincipalParams
WithHTTPClient adds the HTTPClient to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WithTimeout(timeout time.Duration) *IamServiceCreateUserPrincipalParams
WithTimeout adds the timeout to the iam service create user principal params
func (*IamServiceCreateUserPrincipalParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceCreateUserPrincipalReader ¶ added in v0.64.0
type IamServiceCreateUserPrincipalReader struct {
// contains filtered or unexported fields
}
IamServiceCreateUserPrincipalReader is a Reader for the IamServiceCreateUserPrincipal structure.
func (*IamServiceCreateUserPrincipalReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceCreateUserPrincipalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceDeleteOrganizationMembershipDefault ¶ added in v0.64.0
type IamServiceDeleteOrganizationMembershipDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceDeleteOrganizationMembershipDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceDeleteOrganizationMembershipDefault ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipDefault(code int) *IamServiceDeleteOrganizationMembershipDefault
NewIamServiceDeleteOrganizationMembershipDefault creates a IamServiceDeleteOrganizationMembershipDefault with default headers values
func (*IamServiceDeleteOrganizationMembershipDefault) Code ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) Code() int
Code gets the status code for the iam service delete organization membership default response
func (*IamServiceDeleteOrganizationMembershipDefault) Error ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) Error() string
func (*IamServiceDeleteOrganizationMembershipDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceDeleteOrganizationMembershipDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) IsClientError() bool
IsClientError returns true when this iam service delete organization membership default response has a 4xx status code
func (*IamServiceDeleteOrganizationMembershipDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) IsCode(code int) bool
IsCode returns true when this iam service delete organization membership default response a status code equal to that given
func (*IamServiceDeleteOrganizationMembershipDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) IsRedirect() bool
IsRedirect returns true when this iam service delete organization membership default response has a 3xx status code
func (*IamServiceDeleteOrganizationMembershipDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) IsServerError() bool
IsServerError returns true when this iam service delete organization membership default response has a 5xx status code
func (*IamServiceDeleteOrganizationMembershipDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) IsSuccess() bool
IsSuccess returns true when this iam service delete organization membership default response has a 2xx status code
func (*IamServiceDeleteOrganizationMembershipDefault) String ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipDefault) String() string
type IamServiceDeleteOrganizationMembershipOK ¶ added in v0.64.0
type IamServiceDeleteOrganizationMembershipOK struct {
Payload models.HashicorpCloudIamDeleteOrganizationMembershipResponse
}
IamServiceDeleteOrganizationMembershipOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceDeleteOrganizationMembershipOK ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipOK() *IamServiceDeleteOrganizationMembershipOK
NewIamServiceDeleteOrganizationMembershipOK creates a IamServiceDeleteOrganizationMembershipOK with default headers values
func (*IamServiceDeleteOrganizationMembershipOK) Code ¶ added in v0.68.0
func (o *IamServiceDeleteOrganizationMembershipOK) Code() int
Code gets the status code for the iam service delete organization membership o k response
func (*IamServiceDeleteOrganizationMembershipOK) Error ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) Error() string
func (*IamServiceDeleteOrganizationMembershipOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) GetPayload() models.HashicorpCloudIamDeleteOrganizationMembershipResponse
func (*IamServiceDeleteOrganizationMembershipOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) IsClientError() bool
IsClientError returns true when this iam service delete organization membership o k response has a 4xx status code
func (*IamServiceDeleteOrganizationMembershipOK) IsCode ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) IsCode(code int) bool
IsCode returns true when this iam service delete organization membership o k response a status code equal to that given
func (*IamServiceDeleteOrganizationMembershipOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) IsRedirect() bool
IsRedirect returns true when this iam service delete organization membership o k response has a 3xx status code
func (*IamServiceDeleteOrganizationMembershipOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) IsServerError() bool
IsServerError returns true when this iam service delete organization membership o k response has a 5xx status code
func (*IamServiceDeleteOrganizationMembershipOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) IsSuccess() bool
IsSuccess returns true when this iam service delete organization membership o k response has a 2xx status code
func (*IamServiceDeleteOrganizationMembershipOK) String ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipOK) String() string
type IamServiceDeleteOrganizationMembershipParams ¶ added in v0.64.0
type IamServiceDeleteOrganizationMembershipParams struct { /* OrganizationID. organization_id is the ID of the organization the user principal is being deleted from. */ OrganizationID string /* UserPrincipalID. user_principal_id is the ID of the user principal to delete from the organization. */ UserPrincipalID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceDeleteOrganizationMembershipParams contains all the parameters to send to the API endpoint
for the iam service delete organization membership operation. Typically these are written to a http.Request.
func NewIamServiceDeleteOrganizationMembershipParams ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipParams() *IamServiceDeleteOrganizationMembershipParams
NewIamServiceDeleteOrganizationMembershipParams creates a new IamServiceDeleteOrganizationMembershipParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceDeleteOrganizationMembershipParamsWithContext ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipParamsWithContext(ctx context.Context) *IamServiceDeleteOrganizationMembershipParams
NewIamServiceDeleteOrganizationMembershipParamsWithContext creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a context for a request.
func NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient(client *http.Client) *IamServiceDeleteOrganizationMembershipParams
NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceDeleteOrganizationMembershipParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceDeleteOrganizationMembershipParamsWithTimeout(timeout time.Duration) *IamServiceDeleteOrganizationMembershipParams
NewIamServiceDeleteOrganizationMembershipParamsWithTimeout creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a timeout on a request.
func (*IamServiceDeleteOrganizationMembershipParams) SetContext ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetDefaults()
SetDefaults hydrates default values in the iam service delete organization membership params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceDeleteOrganizationMembershipParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) SetUserPrincipalID ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) SetUserPrincipalID(userPrincipalID string)
SetUserPrincipalID adds the userPrincipalId to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WithContext ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithContext(ctx context.Context) *IamServiceDeleteOrganizationMembershipParams
WithContext adds the context to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithDefaults() *IamServiceDeleteOrganizationMembershipParams
WithDefaults hydrates default values in the iam service delete organization membership params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceDeleteOrganizationMembershipParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithHTTPClient(client *http.Client) *IamServiceDeleteOrganizationMembershipParams
WithHTTPClient adds the HTTPClient to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithOrganizationID(organizationID string) *IamServiceDeleteOrganizationMembershipParams
WithOrganizationID adds the organizationID to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithTimeout(timeout time.Duration) *IamServiceDeleteOrganizationMembershipParams
WithTimeout adds the timeout to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WithUserPrincipalID ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WithUserPrincipalID(userPrincipalID string) *IamServiceDeleteOrganizationMembershipParams
WithUserPrincipalID adds the userPrincipalID to the iam service delete organization membership params
func (*IamServiceDeleteOrganizationMembershipParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceDeleteOrganizationMembershipReader ¶ added in v0.64.0
type IamServiceDeleteOrganizationMembershipReader struct {
// contains filtered or unexported fields
}
IamServiceDeleteOrganizationMembershipReader is a Reader for the IamServiceDeleteOrganizationMembership structure.
func (*IamServiceDeleteOrganizationMembershipReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceDeleteOrganizationMembershipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceGetCallerIdentityDefault ¶ added in v0.65.0
type IamServiceGetCallerIdentityDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceGetCallerIdentityDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceGetCallerIdentityDefault ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityDefault(code int) *IamServiceGetCallerIdentityDefault
NewIamServiceGetCallerIdentityDefault creates a IamServiceGetCallerIdentityDefault with default headers values
func (*IamServiceGetCallerIdentityDefault) Code ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) Code() int
Code gets the status code for the iam service get caller identity default response
func (*IamServiceGetCallerIdentityDefault) Error ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) Error() string
func (*IamServiceGetCallerIdentityDefault) GetPayload ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceGetCallerIdentityDefault) IsClientError ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) IsClientError() bool
IsClientError returns true when this iam service get caller identity default response has a 4xx status code
func (*IamServiceGetCallerIdentityDefault) IsCode ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) IsCode(code int) bool
IsCode returns true when this iam service get caller identity default response a status code equal to that given
func (*IamServiceGetCallerIdentityDefault) IsRedirect ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) IsRedirect() bool
IsRedirect returns true when this iam service get caller identity default response has a 3xx status code
func (*IamServiceGetCallerIdentityDefault) IsServerError ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) IsServerError() bool
IsServerError returns true when this iam service get caller identity default response has a 5xx status code
func (*IamServiceGetCallerIdentityDefault) IsSuccess ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) IsSuccess() bool
IsSuccess returns true when this iam service get caller identity default response has a 2xx status code
func (*IamServiceGetCallerIdentityDefault) String ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityDefault) String() string
type IamServiceGetCallerIdentityOK ¶ added in v0.65.0
type IamServiceGetCallerIdentityOK struct {
Payload *models.HashicorpCloudIamGetCallerIdentityResponse
}
IamServiceGetCallerIdentityOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceGetCallerIdentityOK ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityOK() *IamServiceGetCallerIdentityOK
NewIamServiceGetCallerIdentityOK creates a IamServiceGetCallerIdentityOK with default headers values
func (*IamServiceGetCallerIdentityOK) Code ¶ added in v0.68.0
func (o *IamServiceGetCallerIdentityOK) Code() int
Code gets the status code for the iam service get caller identity o k response
func (*IamServiceGetCallerIdentityOK) Error ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) Error() string
func (*IamServiceGetCallerIdentityOK) GetPayload ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) GetPayload() *models.HashicorpCloudIamGetCallerIdentityResponse
func (*IamServiceGetCallerIdentityOK) IsClientError ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) IsClientError() bool
IsClientError returns true when this iam service get caller identity o k response has a 4xx status code
func (*IamServiceGetCallerIdentityOK) IsCode ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) IsCode(code int) bool
IsCode returns true when this iam service get caller identity o k response a status code equal to that given
func (*IamServiceGetCallerIdentityOK) IsRedirect ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) IsRedirect() bool
IsRedirect returns true when this iam service get caller identity o k response has a 3xx status code
func (*IamServiceGetCallerIdentityOK) IsServerError ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) IsServerError() bool
IsServerError returns true when this iam service get caller identity o k response has a 5xx status code
func (*IamServiceGetCallerIdentityOK) IsSuccess ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) IsSuccess() bool
IsSuccess returns true when this iam service get caller identity o k response has a 2xx status code
func (*IamServiceGetCallerIdentityOK) String ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityOK) String() string
type IamServiceGetCallerIdentityParams ¶ added in v0.65.0
type IamServiceGetCallerIdentityParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceGetCallerIdentityParams contains all the parameters to send to the API endpoint
for the iam service get caller identity operation. Typically these are written to a http.Request.
func NewIamServiceGetCallerIdentityParams ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityParams() *IamServiceGetCallerIdentityParams
NewIamServiceGetCallerIdentityParams creates a new IamServiceGetCallerIdentityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceGetCallerIdentityParamsWithContext ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityParamsWithContext(ctx context.Context) *IamServiceGetCallerIdentityParams
NewIamServiceGetCallerIdentityParamsWithContext creates a new IamServiceGetCallerIdentityParams object with the ability to set a context for a request.
func NewIamServiceGetCallerIdentityParamsWithHTTPClient ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityParamsWithHTTPClient(client *http.Client) *IamServiceGetCallerIdentityParams
NewIamServiceGetCallerIdentityParamsWithHTTPClient creates a new IamServiceGetCallerIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceGetCallerIdentityParamsWithTimeout ¶ added in v0.65.0
func NewIamServiceGetCallerIdentityParamsWithTimeout(timeout time.Duration) *IamServiceGetCallerIdentityParams
NewIamServiceGetCallerIdentityParamsWithTimeout creates a new IamServiceGetCallerIdentityParams object with the ability to set a timeout on a request.
func (*IamServiceGetCallerIdentityParams) SetContext ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) SetDefaults ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) SetDefaults()
SetDefaults hydrates default values in the iam service get caller identity params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetCallerIdentityParams) SetHTTPClient ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) SetTimeout ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) WithContext ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) WithContext(ctx context.Context) *IamServiceGetCallerIdentityParams
WithContext adds the context to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) WithDefaults ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) WithDefaults() *IamServiceGetCallerIdentityParams
WithDefaults hydrates default values in the iam service get caller identity params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetCallerIdentityParams) WithHTTPClient ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) WithHTTPClient(client *http.Client) *IamServiceGetCallerIdentityParams
WithHTTPClient adds the HTTPClient to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) WithTimeout ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) WithTimeout(timeout time.Duration) *IamServiceGetCallerIdentityParams
WithTimeout adds the timeout to the iam service get caller identity params
func (*IamServiceGetCallerIdentityParams) WriteToRequest ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceGetCallerIdentityReader ¶ added in v0.65.0
type IamServiceGetCallerIdentityReader struct {
// contains filtered or unexported fields
}
IamServiceGetCallerIdentityReader is a Reader for the IamServiceGetCallerIdentity structure.
func (*IamServiceGetCallerIdentityReader) ReadResponse ¶ added in v0.65.0
func (o *IamServiceGetCallerIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceGetCurrentUserPrincipalDefault ¶ added in v0.64.0
type IamServiceGetCurrentUserPrincipalDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceGetCurrentUserPrincipalDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceGetCurrentUserPrincipalDefault ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalDefault(code int) *IamServiceGetCurrentUserPrincipalDefault
NewIamServiceGetCurrentUserPrincipalDefault creates a IamServiceGetCurrentUserPrincipalDefault with default headers values
func (*IamServiceGetCurrentUserPrincipalDefault) Code ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) Code() int
Code gets the status code for the iam service get current user principal default response
func (*IamServiceGetCurrentUserPrincipalDefault) Error ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) Error() string
func (*IamServiceGetCurrentUserPrincipalDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceGetCurrentUserPrincipalDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) IsClientError() bool
IsClientError returns true when this iam service get current user principal default response has a 4xx status code
func (*IamServiceGetCurrentUserPrincipalDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) IsCode(code int) bool
IsCode returns true when this iam service get current user principal default response a status code equal to that given
func (*IamServiceGetCurrentUserPrincipalDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) IsRedirect() bool
IsRedirect returns true when this iam service get current user principal default response has a 3xx status code
func (*IamServiceGetCurrentUserPrincipalDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) IsServerError() bool
IsServerError returns true when this iam service get current user principal default response has a 5xx status code
func (*IamServiceGetCurrentUserPrincipalDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) IsSuccess() bool
IsSuccess returns true when this iam service get current user principal default response has a 2xx status code
func (*IamServiceGetCurrentUserPrincipalDefault) String ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalDefault) String() string
type IamServiceGetCurrentUserPrincipalOK ¶ added in v0.64.0
type IamServiceGetCurrentUserPrincipalOK struct {
Payload *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
}
IamServiceGetCurrentUserPrincipalOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceGetCurrentUserPrincipalOK ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalOK() *IamServiceGetCurrentUserPrincipalOK
NewIamServiceGetCurrentUserPrincipalOK creates a IamServiceGetCurrentUserPrincipalOK with default headers values
func (*IamServiceGetCurrentUserPrincipalOK) Code ¶ added in v0.68.0
func (o *IamServiceGetCurrentUserPrincipalOK) Code() int
Code gets the status code for the iam service get current user principal o k response
func (*IamServiceGetCurrentUserPrincipalOK) Error ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) Error() string
func (*IamServiceGetCurrentUserPrincipalOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) GetPayload() *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
func (*IamServiceGetCurrentUserPrincipalOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) IsClientError() bool
IsClientError returns true when this iam service get current user principal o k response has a 4xx status code
func (*IamServiceGetCurrentUserPrincipalOK) IsCode ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) IsCode(code int) bool
IsCode returns true when this iam service get current user principal o k response a status code equal to that given
func (*IamServiceGetCurrentUserPrincipalOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) IsRedirect() bool
IsRedirect returns true when this iam service get current user principal o k response has a 3xx status code
func (*IamServiceGetCurrentUserPrincipalOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) IsServerError() bool
IsServerError returns true when this iam service get current user principal o k response has a 5xx status code
func (*IamServiceGetCurrentUserPrincipalOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) IsSuccess() bool
IsSuccess returns true when this iam service get current user principal o k response has a 2xx status code
func (*IamServiceGetCurrentUserPrincipalOK) String ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalOK) String() string
type IamServiceGetCurrentUserPrincipalParams ¶ added in v0.64.0
type IamServiceGetCurrentUserPrincipalParams struct { /* WebPortalPreferences. web_portal_preferences is a flag indicating whether user's portal preferences need to be included or not. Typically the HCP Web Portal JS application will set this option to true, as its the main consumer of this data. Other clients (e.g. a CLI, a TF provider) will not need to enable it. */ WebPortalPreferences *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceGetCurrentUserPrincipalParams contains all the parameters to send to the API endpoint
for the iam service get current user principal operation. Typically these are written to a http.Request.
func NewIamServiceGetCurrentUserPrincipalParams ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalParams() *IamServiceGetCurrentUserPrincipalParams
NewIamServiceGetCurrentUserPrincipalParams creates a new IamServiceGetCurrentUserPrincipalParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceGetCurrentUserPrincipalParamsWithContext ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalParamsWithContext(ctx context.Context) *IamServiceGetCurrentUserPrincipalParams
NewIamServiceGetCurrentUserPrincipalParamsWithContext creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a context for a request.
func NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceGetCurrentUserPrincipalParams
NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceGetCurrentUserPrincipalParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceGetCurrentUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceGetCurrentUserPrincipalParams
NewIamServiceGetCurrentUserPrincipalParamsWithTimeout creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a timeout on a request.
func (*IamServiceGetCurrentUserPrincipalParams) SetContext ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) SetDefaults()
SetDefaults hydrates default values in the iam service get current user principal params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetCurrentUserPrincipalParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) SetWebPortalPreferences ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) SetWebPortalPreferences(webPortalPreferences *bool)
SetWebPortalPreferences adds the webPortalPreferences to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) WithContext ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WithContext(ctx context.Context) *IamServiceGetCurrentUserPrincipalParams
WithContext adds the context to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WithDefaults() *IamServiceGetCurrentUserPrincipalParams
WithDefaults hydrates default values in the iam service get current user principal params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetCurrentUserPrincipalParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WithHTTPClient(client *http.Client) *IamServiceGetCurrentUserPrincipalParams
WithHTTPClient adds the HTTPClient to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WithTimeout(timeout time.Duration) *IamServiceGetCurrentUserPrincipalParams
WithTimeout adds the timeout to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) WithWebPortalPreferences ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WithWebPortalPreferences(webPortalPreferences *bool) *IamServiceGetCurrentUserPrincipalParams
WithWebPortalPreferences adds the webPortalPreferences to the iam service get current user principal params
func (*IamServiceGetCurrentUserPrincipalParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceGetCurrentUserPrincipalReader ¶ added in v0.64.0
type IamServiceGetCurrentUserPrincipalReader struct {
// contains filtered or unexported fields
}
IamServiceGetCurrentUserPrincipalReader is a Reader for the IamServiceGetCurrentUserPrincipal structure.
func (*IamServiceGetCurrentUserPrincipalReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceGetCurrentUserPrincipalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceGetOrganizationAuthMetadataDefault ¶ added in v0.64.0
type IamServiceGetOrganizationAuthMetadataDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceGetOrganizationAuthMetadataDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceGetOrganizationAuthMetadataDefault ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataDefault(code int) *IamServiceGetOrganizationAuthMetadataDefault
NewIamServiceGetOrganizationAuthMetadataDefault creates a IamServiceGetOrganizationAuthMetadataDefault with default headers values
func (*IamServiceGetOrganizationAuthMetadataDefault) Code ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) Code() int
Code gets the status code for the iam service get organization auth metadata default response
func (*IamServiceGetOrganizationAuthMetadataDefault) Error ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) Error() string
func (*IamServiceGetOrganizationAuthMetadataDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceGetOrganizationAuthMetadataDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) IsClientError() bool
IsClientError returns true when this iam service get organization auth metadata default response has a 4xx status code
func (*IamServiceGetOrganizationAuthMetadataDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) IsCode(code int) bool
IsCode returns true when this iam service get organization auth metadata default response a status code equal to that given
func (*IamServiceGetOrganizationAuthMetadataDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) IsRedirect() bool
IsRedirect returns true when this iam service get organization auth metadata default response has a 3xx status code
func (*IamServiceGetOrganizationAuthMetadataDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) IsServerError() bool
IsServerError returns true when this iam service get organization auth metadata default response has a 5xx status code
func (*IamServiceGetOrganizationAuthMetadataDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) IsSuccess() bool
IsSuccess returns true when this iam service get organization auth metadata default response has a 2xx status code
func (*IamServiceGetOrganizationAuthMetadataDefault) String ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataDefault) String() string
type IamServiceGetOrganizationAuthMetadataOK ¶ added in v0.64.0
type IamServiceGetOrganizationAuthMetadataOK struct {
Payload *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
}
IamServiceGetOrganizationAuthMetadataOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceGetOrganizationAuthMetadataOK ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataOK() *IamServiceGetOrganizationAuthMetadataOK
NewIamServiceGetOrganizationAuthMetadataOK creates a IamServiceGetOrganizationAuthMetadataOK with default headers values
func (*IamServiceGetOrganizationAuthMetadataOK) Code ¶ added in v0.68.0
func (o *IamServiceGetOrganizationAuthMetadataOK) Code() int
Code gets the status code for the iam service get organization auth metadata o k response
func (*IamServiceGetOrganizationAuthMetadataOK) Error ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) Error() string
func (*IamServiceGetOrganizationAuthMetadataOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) GetPayload() *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
func (*IamServiceGetOrganizationAuthMetadataOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) IsClientError() bool
IsClientError returns true when this iam service get organization auth metadata o k response has a 4xx status code
func (*IamServiceGetOrganizationAuthMetadataOK) IsCode ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) IsCode(code int) bool
IsCode returns true when this iam service get organization auth metadata o k response a status code equal to that given
func (*IamServiceGetOrganizationAuthMetadataOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) IsRedirect() bool
IsRedirect returns true when this iam service get organization auth metadata o k response has a 3xx status code
func (*IamServiceGetOrganizationAuthMetadataOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) IsServerError() bool
IsServerError returns true when this iam service get organization auth metadata o k response has a 5xx status code
func (*IamServiceGetOrganizationAuthMetadataOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) IsSuccess() bool
IsSuccess returns true when this iam service get organization auth metadata o k response has a 2xx status code
func (*IamServiceGetOrganizationAuthMetadataOK) String ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataOK) String() string
type IamServiceGetOrganizationAuthMetadataParams ¶ added in v0.64.0
type IamServiceGetOrganizationAuthMetadataParams struct { /* OrganizationID. organization_id is the UUID identifier of the organization for which authentication metadata will be retrieved. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceGetOrganizationAuthMetadataParams contains all the parameters to send to the API endpoint
for the iam service get organization auth metadata operation. Typically these are written to a http.Request.
func NewIamServiceGetOrganizationAuthMetadataParams ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataParams() *IamServiceGetOrganizationAuthMetadataParams
NewIamServiceGetOrganizationAuthMetadataParams creates a new IamServiceGetOrganizationAuthMetadataParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceGetOrganizationAuthMetadataParamsWithContext ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataParamsWithContext(ctx context.Context) *IamServiceGetOrganizationAuthMetadataParams
NewIamServiceGetOrganizationAuthMetadataParamsWithContext creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a context for a request.
func NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient(client *http.Client) *IamServiceGetOrganizationAuthMetadataParams
NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout(timeout time.Duration) *IamServiceGetOrganizationAuthMetadataParams
NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a timeout on a request.
func (*IamServiceGetOrganizationAuthMetadataParams) SetContext ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) SetDefaults()
SetDefaults hydrates default values in the iam service get organization auth metadata params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetOrganizationAuthMetadataParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) WithContext ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WithContext(ctx context.Context) *IamServiceGetOrganizationAuthMetadataParams
WithContext adds the context to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WithDefaults() *IamServiceGetOrganizationAuthMetadataParams
WithDefaults hydrates default values in the iam service get organization auth metadata params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetOrganizationAuthMetadataParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WithHTTPClient(client *http.Client) *IamServiceGetOrganizationAuthMetadataParams
WithHTTPClient adds the HTTPClient to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WithOrganizationID(organizationID string) *IamServiceGetOrganizationAuthMetadataParams
WithOrganizationID adds the organizationID to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WithTimeout(timeout time.Duration) *IamServiceGetOrganizationAuthMetadataParams
WithTimeout adds the timeout to the iam service get organization auth metadata params
func (*IamServiceGetOrganizationAuthMetadataParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceGetOrganizationAuthMetadataReader ¶ added in v0.64.0
type IamServiceGetOrganizationAuthMetadataReader struct {
// contains filtered or unexported fields
}
IamServiceGetOrganizationAuthMetadataReader is a Reader for the IamServiceGetOrganizationAuthMetadata structure.
func (*IamServiceGetOrganizationAuthMetadataReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceGetOrganizationAuthMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceGetUserPrincipalByIDInOrganizationDefault ¶ added in v0.64.0
type IamServiceGetUserPrincipalByIDInOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceGetUserPrincipalByIDInOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceGetUserPrincipalByIDInOrganizationDefault ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationDefault(code int) *IamServiceGetUserPrincipalByIDInOrganizationDefault
NewIamServiceGetUserPrincipalByIDInOrganizationDefault creates a IamServiceGetUserPrincipalByIDInOrganizationDefault with default headers values
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) Code ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) Code() int
Code gets the status code for the iam service get user principal by Id in organization default response
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) Error ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) Error() string
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsClientError() bool
IsClientError returns true when this iam service get user principal by Id in organization default response has a 4xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsCode(code int) bool
IsCode returns true when this iam service get user principal by Id in organization default response a status code equal to that given
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this iam service get user principal by Id in organization default response has a 3xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsServerError() bool
IsServerError returns true when this iam service get user principal by Id in organization default response has a 5xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this iam service get user principal by Id in organization default response has a 2xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) String ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationDefault) String() string
type IamServiceGetUserPrincipalByIDInOrganizationOK ¶ added in v0.64.0
type IamServiceGetUserPrincipalByIDInOrganizationOK struct {
Payload *models.HashicorpCloudIamUserPrincipalResponse
}
IamServiceGetUserPrincipalByIDInOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceGetUserPrincipalByIDInOrganizationOK ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationOK() *IamServiceGetUserPrincipalByIDInOrganizationOK
NewIamServiceGetUserPrincipalByIDInOrganizationOK creates a IamServiceGetUserPrincipalByIDInOrganizationOK with default headers values
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) Code ¶ added in v0.68.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) Code() int
Code gets the status code for the iam service get user principal by Id in organization o k response
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) Error ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) Error() string
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsClientError() bool
IsClientError returns true when this iam service get user principal by Id in organization o k response has a 4xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsCode ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsCode(code int) bool
IsCode returns true when this iam service get user principal by Id in organization o k response a status code equal to that given
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsRedirect() bool
IsRedirect returns true when this iam service get user principal by Id in organization o k response has a 3xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsServerError() bool
IsServerError returns true when this iam service get user principal by Id in organization o k response has a 5xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) IsSuccess() bool
IsSuccess returns true when this iam service get user principal by Id in organization o k response has a 2xx status code
func (*IamServiceGetUserPrincipalByIDInOrganizationOK) String ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationOK) String() string
type IamServiceGetUserPrincipalByIDInOrganizationParams ¶ added in v0.64.0
type IamServiceGetUserPrincipalByIDInOrganizationParams struct { /* OrganizationID. organization_id is the organization_id the requested user principal belongs to. */ OrganizationID string /* UserPrincipalID. user_principal_id is the user ID for the requested user principal. */ UserPrincipalID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceGetUserPrincipalByIDInOrganizationParams contains all the parameters to send to the API endpoint
for the iam service get user principal by Id in organization operation. Typically these are written to a http.Request.
func NewIamServiceGetUserPrincipalByIDInOrganizationParams ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationParams() *IamServiceGetUserPrincipalByIDInOrganizationParams
NewIamServiceGetUserPrincipalByIDInOrganizationParams creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalByIDInOrganizationParams
NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a context for a request.
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalByIDInOrganizationParams
NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalByIDInOrganizationParams
NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a timeout on a request.
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetContext ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the iam service get user principal by Id in organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID(userPrincipalID string)
SetUserPrincipalID adds the userPrincipalId to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithContext ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithContext(ctx context.Context) *IamServiceGetUserPrincipalByIDInOrganizationParams
WithContext adds the context to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithDefaults() *IamServiceGetUserPrincipalByIDInOrganizationParams
WithDefaults hydrates default values in the iam service get user principal by Id in organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalByIDInOrganizationParams
WithHTTPClient adds the HTTPClient to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithOrganizationID(organizationID string) *IamServiceGetUserPrincipalByIDInOrganizationParams
WithOrganizationID adds the organizationID to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalByIDInOrganizationParams
WithTimeout adds the timeout to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID(userPrincipalID string) *IamServiceGetUserPrincipalByIDInOrganizationParams
WithUserPrincipalID adds the userPrincipalID to the iam service get user principal by Id in organization params
func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceGetUserPrincipalByIDInOrganizationReader ¶ added in v0.64.0
type IamServiceGetUserPrincipalByIDInOrganizationReader struct {
// contains filtered or unexported fields
}
IamServiceGetUserPrincipalByIDInOrganizationReader is a Reader for the IamServiceGetUserPrincipalByIDInOrganization structure.
func (*IamServiceGetUserPrincipalByIDInOrganizationReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalByIDInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceGetUserPrincipalsByIDsInOrganizationBody ¶ added in v0.68.0
type IamServiceGetUserPrincipalsByIDsInOrganizationBody struct { // ids is a list of user IDs to look up Ids []string `json:"ids"` }
IamServiceGetUserPrincipalsByIDsInOrganizationBody GetUserPrincipalsByIDsInOrganizationRequest is a request for users by ID in a given organization swagger:model IamServiceGetUserPrincipalsByIDsInOrganizationBody
func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) ContextValidate ¶ added in v0.68.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this iam service get user principals by i ds in organization body based on context it is used
func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) MarshalBinary ¶ added in v0.68.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) UnmarshalBinary ¶ added in v0.68.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IamServiceGetUserPrincipalsByIDsInOrganizationDefault ¶ added in v0.64.0
type IamServiceGetUserPrincipalsByIDsInOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceGetUserPrincipalsByIDsInOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault(code int) *IamServiceGetUserPrincipalsByIDsInOrganizationDefault
NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault creates a IamServiceGetUserPrincipalsByIDsInOrganizationDefault with default headers values
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Code ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Code() int
Code gets the status code for the iam service get user principals by i ds in organization default response
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Error ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Error() string
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsClientError() bool
IsClientError returns true when this iam service get user principals by i ds in organization default response has a 4xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsCode(code int) bool
IsCode returns true when this iam service get user principals by i ds in organization default response a status code equal to that given
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this iam service get user principals by i ds in organization default response has a 3xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsServerError() bool
IsServerError returns true when this iam service get user principals by i ds in organization default response has a 5xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this iam service get user principals by i ds in organization default response has a 2xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) String ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationDefault) String() string
type IamServiceGetUserPrincipalsByIDsInOrganizationOK ¶ added in v0.64.0
type IamServiceGetUserPrincipalsByIDsInOrganizationOK struct {
Payload *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse
}
IamServiceGetUserPrincipalsByIDsInOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationOK ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationOK() *IamServiceGetUserPrincipalsByIDsInOrganizationOK
NewIamServiceGetUserPrincipalsByIDsInOrganizationOK creates a IamServiceGetUserPrincipalsByIDsInOrganizationOK with default headers values
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) Code ¶ added in v0.68.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) Code() int
Code gets the status code for the iam service get user principals by i ds in organization o k response
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) Error ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) Error() string
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) GetPayload ¶ added in v0.64.0
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsClientError() bool
IsClientError returns true when this iam service get user principals by i ds in organization o k response has a 4xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsCode ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsCode(code int) bool
IsCode returns true when this iam service get user principals by i ds in organization o k response a status code equal to that given
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsRedirect() bool
IsRedirect returns true when this iam service get user principals by i ds in organization o k response has a 3xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsServerError() bool
IsServerError returns true when this iam service get user principals by i ds in organization o k response has a 5xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsSuccess() bool
IsSuccess returns true when this iam service get user principals by i ds in organization o k response has a 2xx status code
func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) String ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationOK) String() string
type IamServiceGetUserPrincipalsByIDsInOrganizationParams ¶ added in v0.64.0
type IamServiceGetUserPrincipalsByIDsInOrganizationParams struct { // Body. Body IamServiceGetUserPrincipalsByIDsInOrganizationBody /* OrganizationID. organization_id is the ID of organization for users to look up */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceGetUserPrincipalsByIDsInOrganizationParams contains all the parameters to send to the API endpoint
for the iam service get user principals by i ds in organization operation. Typically these are written to a http.Request.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParams ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParams() *IamServiceGetUserPrincipalsByIDsInOrganizationParams
NewIamServiceGetUserPrincipalsByIDsInOrganizationParams creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a context for a request.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a timeout on a request.
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetBody ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetBody(body IamServiceGetUserPrincipalsByIDsInOrganizationBody)
SetBody adds the body to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetContext ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the iam service get user principals by i ds in organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithBody ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithBody(body IamServiceGetUserPrincipalsByIDsInOrganizationBody) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithBody adds the body to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithContext ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithContext(ctx context.Context) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithContext adds the context to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithDefaults() *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithDefaults hydrates default values in the iam service get user principals by i ds in organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithHTTPClient adds the HTTPClient to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID(organizationID string) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithOrganizationID adds the organizationID to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalsByIDsInOrganizationParams
WithTimeout adds the timeout to the iam service get user principals by i ds in organization params
func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceGetUserPrincipalsByIDsInOrganizationReader ¶ added in v0.64.0
type IamServiceGetUserPrincipalsByIDsInOrganizationReader struct {
// contains filtered or unexported fields
}
IamServiceGetUserPrincipalsByIDsInOrganizationReader is a Reader for the IamServiceGetUserPrincipalsByIDsInOrganization structure.
func (*IamServiceGetUserPrincipalsByIDsInOrganizationReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceGetUserPrincipalsByIDsInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceListUserPrincipalsByOrganizationDefault ¶ added in v0.64.0
type IamServiceListUserPrincipalsByOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceListUserPrincipalsByOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceListUserPrincipalsByOrganizationDefault ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationDefault(code int) *IamServiceListUserPrincipalsByOrganizationDefault
NewIamServiceListUserPrincipalsByOrganizationDefault creates a IamServiceListUserPrincipalsByOrganizationDefault with default headers values
func (*IamServiceListUserPrincipalsByOrganizationDefault) Code ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) Code() int
Code gets the status code for the iam service list user principals by organization default response
func (*IamServiceListUserPrincipalsByOrganizationDefault) Error ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) Error() string
func (*IamServiceListUserPrincipalsByOrganizationDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceListUserPrincipalsByOrganizationDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsClientError() bool
IsClientError returns true when this iam service list user principals by organization default response has a 4xx status code
func (*IamServiceListUserPrincipalsByOrganizationDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsCode(code int) bool
IsCode returns true when this iam service list user principals by organization default response a status code equal to that given
func (*IamServiceListUserPrincipalsByOrganizationDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this iam service list user principals by organization default response has a 3xx status code
func (*IamServiceListUserPrincipalsByOrganizationDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsServerError() bool
IsServerError returns true when this iam service list user principals by organization default response has a 5xx status code
func (*IamServiceListUserPrincipalsByOrganizationDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this iam service list user principals by organization default response has a 2xx status code
func (*IamServiceListUserPrincipalsByOrganizationDefault) String ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationDefault) String() string
type IamServiceListUserPrincipalsByOrganizationOK ¶ added in v0.64.0
type IamServiceListUserPrincipalsByOrganizationOK struct {
Payload *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
}
IamServiceListUserPrincipalsByOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceListUserPrincipalsByOrganizationOK ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationOK() *IamServiceListUserPrincipalsByOrganizationOK
NewIamServiceListUserPrincipalsByOrganizationOK creates a IamServiceListUserPrincipalsByOrganizationOK with default headers values
func (*IamServiceListUserPrincipalsByOrganizationOK) Code ¶ added in v0.68.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) Code() int
Code gets the status code for the iam service list user principals by organization o k response
func (*IamServiceListUserPrincipalsByOrganizationOK) Error ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) Error() string
func (*IamServiceListUserPrincipalsByOrganizationOK) GetPayload ¶ added in v0.64.0
func (*IamServiceListUserPrincipalsByOrganizationOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) IsClientError() bool
IsClientError returns true when this iam service list user principals by organization o k response has a 4xx status code
func (*IamServiceListUserPrincipalsByOrganizationOK) IsCode ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) IsCode(code int) bool
IsCode returns true when this iam service list user principals by organization o k response a status code equal to that given
func (*IamServiceListUserPrincipalsByOrganizationOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) IsRedirect() bool
IsRedirect returns true when this iam service list user principals by organization o k response has a 3xx status code
func (*IamServiceListUserPrincipalsByOrganizationOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) IsServerError() bool
IsServerError returns true when this iam service list user principals by organization o k response has a 5xx status code
func (*IamServiceListUserPrincipalsByOrganizationOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) IsSuccess() bool
IsSuccess returns true when this iam service list user principals by organization o k response has a 2xx status code
func (*IamServiceListUserPrincipalsByOrganizationOK) String ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationOK) String() string
type IamServiceListUserPrincipalsByOrganizationParams ¶ added in v0.64.0
type IamServiceListUserPrincipalsByOrganizationParams struct { /* OrganizationID. organization_id is the UUID of an organization. */ OrganizationID string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceListUserPrincipalsByOrganizationParams contains all the parameters to send to the API endpoint
for the iam service list user principals by organization operation. Typically these are written to a http.Request.
func NewIamServiceListUserPrincipalsByOrganizationParams ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationParams() *IamServiceListUserPrincipalsByOrganizationParams
NewIamServiceListUserPrincipalsByOrganizationParams creates a new IamServiceListUserPrincipalsByOrganizationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceListUserPrincipalsByOrganizationParamsWithContext ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationParamsWithContext(ctx context.Context) *IamServiceListUserPrincipalsByOrganizationParams
NewIamServiceListUserPrincipalsByOrganizationParamsWithContext creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a context for a request.
func NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceListUserPrincipalsByOrganizationParams
NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceListUserPrincipalsByOrganizationParams
NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a timeout on a request.
func (*IamServiceListUserPrincipalsByOrganizationParams) SetContext ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the iam service list user principals by organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceListUserPrincipalsByOrganizationParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPageSize ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithContext ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithContext(ctx context.Context) *IamServiceListUserPrincipalsByOrganizationParams
WithContext adds the context to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithDefaults() *IamServiceListUserPrincipalsByOrganizationParams
WithDefaults hydrates default values in the iam service list user principals by organization params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceListUserPrincipalsByOrganizationParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithHTTPClient(client *http.Client) *IamServiceListUserPrincipalsByOrganizationParams
WithHTTPClient adds the HTTPClient to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithOrganizationID(organizationID string) *IamServiceListUserPrincipalsByOrganizationParams
WithOrganizationID adds the organizationID to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken(paginationNextPageToken *string) *IamServiceListUserPrincipalsByOrganizationParams
WithPaginationNextPageToken adds the paginationNextPageToken to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPageSize ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPageSize(paginationPageSize *int64) *IamServiceListUserPrincipalsByOrganizationParams
WithPaginationPageSize adds the paginationPageSize to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *IamServiceListUserPrincipalsByOrganizationParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WithTimeout(timeout time.Duration) *IamServiceListUserPrincipalsByOrganizationParams
WithTimeout adds the timeout to the iam service list user principals by organization params
func (*IamServiceListUserPrincipalsByOrganizationParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceListUserPrincipalsByOrganizationReader ¶ added in v0.64.0
type IamServiceListUserPrincipalsByOrganizationReader struct {
// contains filtered or unexported fields
}
IamServiceListUserPrincipalsByOrganizationReader is a Reader for the IamServiceListUserPrincipalsByOrganization structure.
func (*IamServiceListUserPrincipalsByOrganizationReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceListUserPrincipalsByOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServicePingDefault ¶ added in v0.64.0
type IamServicePingDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServicePingDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServicePingDefault ¶ added in v0.64.0
func NewIamServicePingDefault(code int) *IamServicePingDefault
NewIamServicePingDefault creates a IamServicePingDefault with default headers values
func (*IamServicePingDefault) Code ¶ added in v0.64.0
func (o *IamServicePingDefault) Code() int
Code gets the status code for the iam service ping default response
func (*IamServicePingDefault) Error ¶ added in v0.64.0
func (o *IamServicePingDefault) Error() string
func (*IamServicePingDefault) GetPayload ¶ added in v0.64.0
func (o *IamServicePingDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServicePingDefault) IsClientError ¶ added in v0.64.0
func (o *IamServicePingDefault) IsClientError() bool
IsClientError returns true when this iam service ping default response has a 4xx status code
func (*IamServicePingDefault) IsCode ¶ added in v0.64.0
func (o *IamServicePingDefault) IsCode(code int) bool
IsCode returns true when this iam service ping default response a status code equal to that given
func (*IamServicePingDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServicePingDefault) IsRedirect() bool
IsRedirect returns true when this iam service ping default response has a 3xx status code
func (*IamServicePingDefault) IsServerError ¶ added in v0.64.0
func (o *IamServicePingDefault) IsServerError() bool
IsServerError returns true when this iam service ping default response has a 5xx status code
func (*IamServicePingDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServicePingDefault) IsSuccess() bool
IsSuccess returns true when this iam service ping default response has a 2xx status code
func (*IamServicePingDefault) String ¶ added in v0.64.0
func (o *IamServicePingDefault) String() string
type IamServicePingOK ¶ added in v0.64.0
type IamServicePingOK struct {
Payload models.HashicorpCloudIamPingResponse
}
IamServicePingOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServicePingOK ¶ added in v0.64.0
func NewIamServicePingOK() *IamServicePingOK
NewIamServicePingOK creates a IamServicePingOK with default headers values
func (*IamServicePingOK) Code ¶ added in v0.68.0
func (o *IamServicePingOK) Code() int
Code gets the status code for the iam service ping o k response
func (*IamServicePingOK) Error ¶ added in v0.64.0
func (o *IamServicePingOK) Error() string
func (*IamServicePingOK) GetPayload ¶ added in v0.64.0
func (o *IamServicePingOK) GetPayload() models.HashicorpCloudIamPingResponse
func (*IamServicePingOK) IsClientError ¶ added in v0.64.0
func (o *IamServicePingOK) IsClientError() bool
IsClientError returns true when this iam service ping o k response has a 4xx status code
func (*IamServicePingOK) IsCode ¶ added in v0.64.0
func (o *IamServicePingOK) IsCode(code int) bool
IsCode returns true when this iam service ping o k response a status code equal to that given
func (*IamServicePingOK) IsRedirect ¶ added in v0.64.0
func (o *IamServicePingOK) IsRedirect() bool
IsRedirect returns true when this iam service ping o k response has a 3xx status code
func (*IamServicePingOK) IsServerError ¶ added in v0.64.0
func (o *IamServicePingOK) IsServerError() bool
IsServerError returns true when this iam service ping o k response has a 5xx status code
func (*IamServicePingOK) IsSuccess ¶ added in v0.64.0
func (o *IamServicePingOK) IsSuccess() bool
IsSuccess returns true when this iam service ping o k response has a 2xx status code
func (*IamServicePingOK) String ¶ added in v0.64.0
func (o *IamServicePingOK) String() string
type IamServicePingParams ¶ added in v0.64.0
type IamServicePingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServicePingParams contains all the parameters to send to the API endpoint
for the iam service ping operation. Typically these are written to a http.Request.
func NewIamServicePingParams ¶ added in v0.64.0
func NewIamServicePingParams() *IamServicePingParams
NewIamServicePingParams creates a new IamServicePingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServicePingParamsWithContext ¶ added in v0.64.0
func NewIamServicePingParamsWithContext(ctx context.Context) *IamServicePingParams
NewIamServicePingParamsWithContext creates a new IamServicePingParams object with the ability to set a context for a request.
func NewIamServicePingParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServicePingParamsWithHTTPClient(client *http.Client) *IamServicePingParams
NewIamServicePingParamsWithHTTPClient creates a new IamServicePingParams object with the ability to set a custom HTTPClient for a request.
func NewIamServicePingParamsWithTimeout ¶ added in v0.64.0
func NewIamServicePingParamsWithTimeout(timeout time.Duration) *IamServicePingParams
NewIamServicePingParamsWithTimeout creates a new IamServicePingParams object with the ability to set a timeout on a request.
func (*IamServicePingParams) SetContext ¶ added in v0.64.0
func (o *IamServicePingParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service ping params
func (*IamServicePingParams) SetDefaults ¶ added in v0.64.0
func (o *IamServicePingParams) SetDefaults()
SetDefaults hydrates default values in the iam service ping params (not the query body).
All values with no default are reset to their zero value.
func (*IamServicePingParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServicePingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service ping params
func (*IamServicePingParams) SetTimeout ¶ added in v0.64.0
func (o *IamServicePingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service ping params
func (*IamServicePingParams) WithContext ¶ added in v0.64.0
func (o *IamServicePingParams) WithContext(ctx context.Context) *IamServicePingParams
WithContext adds the context to the iam service ping params
func (*IamServicePingParams) WithDefaults ¶ added in v0.64.0
func (o *IamServicePingParams) WithDefaults() *IamServicePingParams
WithDefaults hydrates default values in the iam service ping params (not the query body).
All values with no default are reset to their zero value.
func (*IamServicePingParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServicePingParams) WithHTTPClient(client *http.Client) *IamServicePingParams
WithHTTPClient adds the HTTPClient to the iam service ping params
func (*IamServicePingParams) WithTimeout ¶ added in v0.64.0
func (o *IamServicePingParams) WithTimeout(timeout time.Duration) *IamServicePingParams
WithTimeout adds the timeout to the iam service ping params
func (*IamServicePingParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServicePingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServicePingReader ¶ added in v0.64.0
type IamServicePingReader struct {
// contains filtered or unexported fields
}
IamServicePingReader is a Reader for the IamServicePing structure.
func (*IamServicePingReader) ReadResponse ¶ added in v0.64.0
func (o *IamServicePingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceSearchPrincipalsBody ¶ added in v0.68.0
type IamServiceSearchPrincipalsBody struct { // filter contains optional fields to filter the search results down. Filter *models.HashicorpCloudIamSearchPrincipalsFilter `json:"filter,omitempty"` // pagination contains page data. Pagination *cloud.HashicorpCloudCommonPaginationRequest `json:"pagination,omitempty"` }
IamServiceSearchPrincipalsBody SearchPrincipalsRequest is the request to the SearchPrincipals rpc. swagger:model IamServiceSearchPrincipalsBody
func (*IamServiceSearchPrincipalsBody) ContextValidate ¶ added in v0.68.0
func (o *IamServiceSearchPrincipalsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this iam service search principals body based on the context it is used
func (*IamServiceSearchPrincipalsBody) MarshalBinary ¶ added in v0.68.0
func (o *IamServiceSearchPrincipalsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IamServiceSearchPrincipalsBody) UnmarshalBinary ¶ added in v0.68.0
func (o *IamServiceSearchPrincipalsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IamServiceSearchPrincipalsDefault ¶ added in v0.64.0
type IamServiceSearchPrincipalsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceSearchPrincipalsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceSearchPrincipalsDefault ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsDefault(code int) *IamServiceSearchPrincipalsDefault
NewIamServiceSearchPrincipalsDefault creates a IamServiceSearchPrincipalsDefault with default headers values
func (*IamServiceSearchPrincipalsDefault) Code ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) Code() int
Code gets the status code for the iam service search principals default response
func (*IamServiceSearchPrincipalsDefault) Error ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) Error() string
func (*IamServiceSearchPrincipalsDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceSearchPrincipalsDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) IsClientError() bool
IsClientError returns true when this iam service search principals default response has a 4xx status code
func (*IamServiceSearchPrincipalsDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) IsCode(code int) bool
IsCode returns true when this iam service search principals default response a status code equal to that given
func (*IamServiceSearchPrincipalsDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) IsRedirect() bool
IsRedirect returns true when this iam service search principals default response has a 3xx status code
func (*IamServiceSearchPrincipalsDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) IsServerError() bool
IsServerError returns true when this iam service search principals default response has a 5xx status code
func (*IamServiceSearchPrincipalsDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) IsSuccess() bool
IsSuccess returns true when this iam service search principals default response has a 2xx status code
func (*IamServiceSearchPrincipalsDefault) String ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsDefault) String() string
type IamServiceSearchPrincipalsOK ¶ added in v0.64.0
type IamServiceSearchPrincipalsOK struct {
Payload *models.HashicorpCloudIamSearchPrincipalsResponse
}
IamServiceSearchPrincipalsOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceSearchPrincipalsOK ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsOK() *IamServiceSearchPrincipalsOK
NewIamServiceSearchPrincipalsOK creates a IamServiceSearchPrincipalsOK with default headers values
func (*IamServiceSearchPrincipalsOK) Code ¶ added in v0.68.0
func (o *IamServiceSearchPrincipalsOK) Code() int
Code gets the status code for the iam service search principals o k response
func (*IamServiceSearchPrincipalsOK) Error ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) Error() string
func (*IamServiceSearchPrincipalsOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) GetPayload() *models.HashicorpCloudIamSearchPrincipalsResponse
func (*IamServiceSearchPrincipalsOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) IsClientError() bool
IsClientError returns true when this iam service search principals o k response has a 4xx status code
func (*IamServiceSearchPrincipalsOK) IsCode ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) IsCode(code int) bool
IsCode returns true when this iam service search principals o k response a status code equal to that given
func (*IamServiceSearchPrincipalsOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) IsRedirect() bool
IsRedirect returns true when this iam service search principals o k response has a 3xx status code
func (*IamServiceSearchPrincipalsOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) IsServerError() bool
IsServerError returns true when this iam service search principals o k response has a 5xx status code
func (*IamServiceSearchPrincipalsOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) IsSuccess() bool
IsSuccess returns true when this iam service search principals o k response has a 2xx status code
func (*IamServiceSearchPrincipalsOK) String ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsOK) String() string
type IamServiceSearchPrincipalsParams ¶ added in v0.64.0
type IamServiceSearchPrincipalsParams struct { // Body. Body IamServiceSearchPrincipalsBody /* OrganizationID. organization_id is the ID of the organization in which the principals belong. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceSearchPrincipalsParams contains all the parameters to send to the API endpoint
for the iam service search principals operation. Typically these are written to a http.Request.
func NewIamServiceSearchPrincipalsParams ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsParams() *IamServiceSearchPrincipalsParams
NewIamServiceSearchPrincipalsParams creates a new IamServiceSearchPrincipalsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceSearchPrincipalsParamsWithContext ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsParamsWithContext(ctx context.Context) *IamServiceSearchPrincipalsParams
NewIamServiceSearchPrincipalsParamsWithContext creates a new IamServiceSearchPrincipalsParams object with the ability to set a context for a request.
func NewIamServiceSearchPrincipalsParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceSearchPrincipalsParams
NewIamServiceSearchPrincipalsParamsWithHTTPClient creates a new IamServiceSearchPrincipalsParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceSearchPrincipalsParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceSearchPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceSearchPrincipalsParams
NewIamServiceSearchPrincipalsParamsWithTimeout creates a new IamServiceSearchPrincipalsParams object with the ability to set a timeout on a request.
func (*IamServiceSearchPrincipalsParams) SetBody ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetBody(body IamServiceSearchPrincipalsBody)
SetBody adds the body to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) SetContext ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetDefaults()
SetDefaults hydrates default values in the iam service search principals params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceSearchPrincipalsParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) SetOrganizationID ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WithBody ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithBody(body IamServiceSearchPrincipalsBody) *IamServiceSearchPrincipalsParams
WithBody adds the body to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WithContext ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithContext(ctx context.Context) *IamServiceSearchPrincipalsParams
WithContext adds the context to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithDefaults() *IamServiceSearchPrincipalsParams
WithDefaults hydrates default values in the iam service search principals params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceSearchPrincipalsParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithHTTPClient(client *http.Client) *IamServiceSearchPrincipalsParams
WithHTTPClient adds the HTTPClient to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WithOrganizationID ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceSearchPrincipalsParams
WithOrganizationID adds the organizationID to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WithTimeout(timeout time.Duration) *IamServiceSearchPrincipalsParams
WithTimeout adds the timeout to the iam service search principals params
func (*IamServiceSearchPrincipalsParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceSearchPrincipalsReader ¶ added in v0.64.0
type IamServiceSearchPrincipalsReader struct {
// contains filtered or unexported fields
}
IamServiceSearchPrincipalsReader is a Reader for the IamServiceSearchPrincipals structure.
func (*IamServiceSearchPrincipalsReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceSearchPrincipalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IamServiceUpdateWebConsolePreferencesDefault ¶ added in v0.64.0
type IamServiceUpdateWebConsolePreferencesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
IamServiceUpdateWebConsolePreferencesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIamServiceUpdateWebConsolePreferencesDefault ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesDefault(code int) *IamServiceUpdateWebConsolePreferencesDefault
NewIamServiceUpdateWebConsolePreferencesDefault creates a IamServiceUpdateWebConsolePreferencesDefault with default headers values
func (*IamServiceUpdateWebConsolePreferencesDefault) Code ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) Code() int
Code gets the status code for the iam service update web console preferences default response
func (*IamServiceUpdateWebConsolePreferencesDefault) Error ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) Error() string
func (*IamServiceUpdateWebConsolePreferencesDefault) GetPayload ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*IamServiceUpdateWebConsolePreferencesDefault) IsClientError ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) IsClientError() bool
IsClientError returns true when this iam service update web console preferences default response has a 4xx status code
func (*IamServiceUpdateWebConsolePreferencesDefault) IsCode ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) IsCode(code int) bool
IsCode returns true when this iam service update web console preferences default response a status code equal to that given
func (*IamServiceUpdateWebConsolePreferencesDefault) IsRedirect ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) IsRedirect() bool
IsRedirect returns true when this iam service update web console preferences default response has a 3xx status code
func (*IamServiceUpdateWebConsolePreferencesDefault) IsServerError ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) IsServerError() bool
IsServerError returns true when this iam service update web console preferences default response has a 5xx status code
func (*IamServiceUpdateWebConsolePreferencesDefault) IsSuccess ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) IsSuccess() bool
IsSuccess returns true when this iam service update web console preferences default response has a 2xx status code
func (*IamServiceUpdateWebConsolePreferencesDefault) String ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesDefault) String() string
type IamServiceUpdateWebConsolePreferencesOK ¶ added in v0.64.0
type IamServiceUpdateWebConsolePreferencesOK struct {
Payload *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
}
IamServiceUpdateWebConsolePreferencesOK describes a response with status code 200, with default header values.
A successful response.
func NewIamServiceUpdateWebConsolePreferencesOK ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesOK() *IamServiceUpdateWebConsolePreferencesOK
NewIamServiceUpdateWebConsolePreferencesOK creates a IamServiceUpdateWebConsolePreferencesOK with default headers values
func (*IamServiceUpdateWebConsolePreferencesOK) Code ¶ added in v0.68.0
func (o *IamServiceUpdateWebConsolePreferencesOK) Code() int
Code gets the status code for the iam service update web console preferences o k response
func (*IamServiceUpdateWebConsolePreferencesOK) Error ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) Error() string
func (*IamServiceUpdateWebConsolePreferencesOK) GetPayload ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) GetPayload() *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
func (*IamServiceUpdateWebConsolePreferencesOK) IsClientError ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) IsClientError() bool
IsClientError returns true when this iam service update web console preferences o k response has a 4xx status code
func (*IamServiceUpdateWebConsolePreferencesOK) IsCode ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) IsCode(code int) bool
IsCode returns true when this iam service update web console preferences o k response a status code equal to that given
func (*IamServiceUpdateWebConsolePreferencesOK) IsRedirect ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) IsRedirect() bool
IsRedirect returns true when this iam service update web console preferences o k response has a 3xx status code
func (*IamServiceUpdateWebConsolePreferencesOK) IsServerError ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) IsServerError() bool
IsServerError returns true when this iam service update web console preferences o k response has a 5xx status code
func (*IamServiceUpdateWebConsolePreferencesOK) IsSuccess ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) IsSuccess() bool
IsSuccess returns true when this iam service update web console preferences o k response has a 2xx status code
func (*IamServiceUpdateWebConsolePreferencesOK) String ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesOK) String() string
type IamServiceUpdateWebConsolePreferencesParams ¶ added in v0.64.0
type IamServiceUpdateWebConsolePreferencesParams struct { /* Body. UpdateWebConsolePreferencesRequest is the request to update a user principal's web portal preferences on the IAM service. */ Body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IamServiceUpdateWebConsolePreferencesParams contains all the parameters to send to the API endpoint
for the iam service update web console preferences operation. Typically these are written to a http.Request.
func NewIamServiceUpdateWebConsolePreferencesParams ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesParams() *IamServiceUpdateWebConsolePreferencesParams
NewIamServiceUpdateWebConsolePreferencesParams creates a new IamServiceUpdateWebConsolePreferencesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIamServiceUpdateWebConsolePreferencesParamsWithContext ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesParamsWithContext(ctx context.Context) *IamServiceUpdateWebConsolePreferencesParams
NewIamServiceUpdateWebConsolePreferencesParamsWithContext creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a context for a request.
func NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient(client *http.Client) *IamServiceUpdateWebConsolePreferencesParams
NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a custom HTTPClient for a request.
func NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout ¶ added in v0.64.0
func NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout(timeout time.Duration) *IamServiceUpdateWebConsolePreferencesParams
NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a timeout on a request.
func (*IamServiceUpdateWebConsolePreferencesParams) SetBody ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) SetBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest)
SetBody adds the body to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) SetContext ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) SetDefaults ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) SetDefaults()
SetDefaults hydrates default values in the iam service update web console preferences params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceUpdateWebConsolePreferencesParams) SetHTTPClient ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) SetTimeout ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) WithBody ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WithBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest) *IamServiceUpdateWebConsolePreferencesParams
WithBody adds the body to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) WithContext ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WithContext(ctx context.Context) *IamServiceUpdateWebConsolePreferencesParams
WithContext adds the context to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) WithDefaults ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WithDefaults() *IamServiceUpdateWebConsolePreferencesParams
WithDefaults hydrates default values in the iam service update web console preferences params (not the query body).
All values with no default are reset to their zero value.
func (*IamServiceUpdateWebConsolePreferencesParams) WithHTTPClient ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WithHTTPClient(client *http.Client) *IamServiceUpdateWebConsolePreferencesParams
WithHTTPClient adds the HTTPClient to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) WithTimeout ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WithTimeout(timeout time.Duration) *IamServiceUpdateWebConsolePreferencesParams
WithTimeout adds the timeout to the iam service update web console preferences params
func (*IamServiceUpdateWebConsolePreferencesParams) WriteToRequest ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IamServiceUpdateWebConsolePreferencesReader ¶ added in v0.64.0
type IamServiceUpdateWebConsolePreferencesReader struct {
// contains filtered or unexported fields
}
IamServiceUpdateWebConsolePreferencesReader is a Reader for the IamServiceUpdateWebConsolePreferences structure.
func (*IamServiceUpdateWebConsolePreferencesReader) ReadResponse ¶ added in v0.64.0
func (o *IamServiceUpdateWebConsolePreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- iam_service_batch_get_principals_parameters.go
- iam_service_batch_get_principals_responses.go
- iam_service_client.go
- iam_service_create_user_principal_parameters.go
- iam_service_create_user_principal_responses.go
- iam_service_delete_organization_membership_parameters.go
- iam_service_delete_organization_membership_responses.go
- iam_service_get_caller_identity_parameters.go
- iam_service_get_caller_identity_responses.go
- iam_service_get_current_user_principal_parameters.go
- iam_service_get_current_user_principal_responses.go
- iam_service_get_organization_auth_metadata_parameters.go
- iam_service_get_organization_auth_metadata_responses.go
- iam_service_get_user_principal_by_id_in_organization_parameters.go
- iam_service_get_user_principal_by_id_in_organization_responses.go
- iam_service_get_user_principals_by_i_ds_in_organization_parameters.go
- iam_service_get_user_principals_by_i_ds_in_organization_responses.go
- iam_service_list_user_principals_by_organization_parameters.go
- iam_service_list_user_principals_by_organization_responses.go
- iam_service_ping_parameters.go
- iam_service_ping_responses.go
- iam_service_search_principals_parameters.go
- iam_service_search_principals_responses.go
- iam_service_update_web_console_preferences_parameters.go
- iam_service_update_web_console_preferences_responses.go