Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) CreateProject(ctx context.Context) ApiCreateProjectRequest
- func (a *APIClient) CreateProjectExecute(ctx context.Context) (*ProjectResponse, error)
- func (a *APIClient) DeleteProject(ctx context.Context, containerId string) ApiDeleteProjectRequest
- func (a *APIClient) DeleteProjectExecute(ctx context.Context, containerId string) error
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetProject(ctx context.Context, containerId string) ApiGetProjectRequest
- func (a *APIClient) GetProjectExecute(ctx context.Context, containerId string) (*ProjectResponseWithParents, error)
- func (a *APIClient) ListProjects(ctx context.Context) ApiListProjectsRequest
- func (a *APIClient) ListProjectsExecute(ctx context.Context) (*AllProjectsResponse, error)
- func (a *APIClient) PartialUpdateProject(ctx context.Context, containerId string) ApiPartialUpdateProjectRequest
- func (a *APIClient) PartialUpdateProjectExecute(ctx context.Context, containerId string) (*ProjectResponse, error)
- type AllFoldersResponse
- type AllFoldersResponseItemsInner
- type AllOrgResponse
- type AllOrgResponseItemsInner
- type AllProjectsResponse
- type ApiCreateProjectRequest
- type ApiDeleteProjectRequest
- type ApiGetProjectRequest
- type ApiListProjectsRequest
- func (r ApiListProjectsRequest) ContainerIds(containerIds []string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) ContainerParentId(containerParentId string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Execute() (*AllProjectsResponse, error)
- func (r ApiListProjectsRequest) Limit(limit float32) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Member(member string) ApiListProjectsRequest
- func (r ApiListProjectsRequest) Offset(offset float32) ApiListProjectsRequest
- type ApiPartialUpdateProjectRequest
- type ContainerResponse
- type ContainerResponseItemsInner
- type ContainerResponseItemsInnerAnyOf
- type ContainerResponseItemsInnerAnyOf1
- type CreateProjectPayload
- type DefaultApiService
- type ErrorResponse
- type ExivityProject
- type FolderRequestBody
- type FolderResponse
- type FolderResponseWithParents
- type LifecycleState
- type MappedNullable
- type NullableBool
- type NullableContainerResponseItemsInner
- func (v NullableContainerResponseItemsInner) Get() *ContainerResponseItemsInner
- func (v NullableContainerResponseItemsInner) IsSet() bool
- func (v NullableContainerResponseItemsInner) MarshalJSON() ([]byte, error)
- func (v *NullableContainerResponseItemsInner) Set(val *ContainerResponseItemsInner)
- func (v *NullableContainerResponseItemsInner) UnmarshalJSON(src []byte) error
- func (v *NullableContainerResponseItemsInner) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLifecycleState
- func (v NullableLifecycleState) Get() *LifecycleState
- func (v NullableLifecycleState) IsSet() bool
- func (v NullableLifecycleState) MarshalJSON() ([]byte, error)
- func (v *NullableLifecycleState) Set(val *LifecycleState)
- func (v *NullableLifecycleState) UnmarshalJSON(src []byte) error
- func (v *NullableLifecycleState) Unset()
- type NullableString
- type NullableTime
- type OrganizationMember
- type OrganizationRequestBody
- type OrganizationResponse
- type Parent
- type ParentListInner
- type PartialUpdateProjectPayload
- type PatchOrganizationRequestBody
- type ProjectMember
- type ProjectResponse
- type ProjectResponseWithParents
- type ResourceContainerSearchResponse
- type ResourceContainerSearchResult
Constants ¶
This section is empty.
Variables ¶
var AllowedLifecycleStateEnumValues = []LifecycleState{
"CREATING",
"ACTIVE",
"DELETING",
"INACTIVE",
}
All allowed values of LifecycleState enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
APIClient manages communication with the Resource Manager API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateProject ¶
func (a *APIClient) CreateProject(ctx context.Context) ApiCreateProjectRequest
CreateProject Create Project
Create a new project. - The request is synchronous, but the workflow-based creation is asynchronous. - Lifecycle state remains in CREATING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProjectRequest
func (*APIClient) CreateProjectExecute ¶
func (a *APIClient) CreateProjectExecute(ctx context.Context) (*ProjectResponse, error)
func (*APIClient) DeleteProject ¶
func (a *APIClient) DeleteProject(ctx context.Context, containerId string) ApiDeleteProjectRequest
DeleteProject Delete Project
Triggers the deletion of a project. - The request is synchronous, but the workflow-based deletion is asynchronous - Lifecycle state remains in DELETING, until workflow completes
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Project identifier - containerId as well as UUID identifier is supported. @return ApiDeleteProjectRequest
func (*APIClient) DeleteProjectExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
func (*APIClient) GetProject ¶
func (a *APIClient) GetProject(ctx context.Context, containerId string) ApiGetProjectRequest
GetProject Get Project Details
Returns the project and its metadata.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Project identifier - containerId as well as UUID identifier is supported. @return ApiGetProjectRequest
func (*APIClient) GetProjectExecute ¶
func (*APIClient) ListProjects ¶
func (a *APIClient) ListProjects(ctx context.Context) ApiListProjectsRequest
ListProjects Get All Projects
Returns all projects and their metadata that: - Are children of the specific containerParentId - Match the given containerIds - User is member of
Filter: - Either containerParentId OR containerIds OR member must be passed - If containerId and containerParentId are given, both are used for filtering - containers must point to the same parent - If member and containerParentId are given, both are used for filtering - If member is given, containers must not point to the same container parent
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProjectsRequest
func (*APIClient) ListProjectsExecute ¶
func (a *APIClient) ListProjectsExecute(ctx context.Context) (*AllProjectsResponse, error)
func (*APIClient) PartialUpdateProject ¶
func (a *APIClient) PartialUpdateProject(ctx context.Context, containerId string) ApiPartialUpdateProjectRequest
PartialUpdateProject Update Project
Update the project and its metadata. - Update project name - Update project labels - Update project parent (folder or organization)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param containerId Project identifier - containerId as well as UUID identifier is supported. @return ApiPartialUpdateProjectRequest
func (*APIClient) PartialUpdateProjectExecute ¶
type AllFoldersResponse ¶
type AllFoldersResponse struct {
// REQUIRED
Items *[]AllFoldersResponseItemsInner `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
// REQUIRED
Limit *float64 `json:"limit"`
// The offset of the first item in the collection to return.
// REQUIRED
Offset *float64 `json:"offset"`
}
type AllFoldersResponseItemsInner ¶
type AllFoldersResponseItemsInner struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the folder was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Globally unique, legacy folder identifier (for backward compatibility)
// REQUIRED
FolderId *string `json:"folderId"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the folder.
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Parent *Parent `json:"parent"`
// Timestamp at which the folder was created.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type AllOrgResponse ¶
type AllOrgResponse struct {
// REQUIRED
Items *[]AllOrgResponseItemsInner `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
// REQUIRED
Limit *float64 `json:"limit"`
// The offset of the first item in the collection to return.
// REQUIRED
Offset *float64 `json:"offset"`
}
type AllOrgResponseItemsInner ¶
type AllOrgResponseItemsInner struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the organization was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// REQUIRED
LifecycleState *LifecycleState `json:"lifecycleState"`
// Name of the organization.
// REQUIRED
Name *string `json:"name"`
// Globally unique, legacy organization identifier (for backward compatibility)
// REQUIRED
OrganizationId *string `json:"organizationId"`
// Timestamp at which the organization was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type AllProjectsResponse ¶
type AllProjectsResponse struct {
// REQUIRED
Items *[]ProjectResponse `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
// REQUIRED
Limit *float64 `json:"limit"`
// The offset of the first item in the collection to return.
// REQUIRED
Offset *float64 `json:"offset"`
}
type ApiCreateProjectRequest ¶
type ApiCreateProjectRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateProjectRequest) CreateProjectPayload ¶
func (r ApiCreateProjectRequest) CreateProjectPayload(createProjectPayload CreateProjectPayload) ApiCreateProjectRequest
func (ApiCreateProjectRequest) Execute ¶
func (r ApiCreateProjectRequest) Execute() (*ProjectResponse, error)
type ApiDeleteProjectRequest ¶
type ApiDeleteProjectRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteProjectRequest) Execute ¶
func (r ApiDeleteProjectRequest) Execute() error
type ApiGetProjectRequest ¶
type ApiGetProjectRequest struct {
// contains filtered or unexported fields
}
func (ApiGetProjectRequest) Execute ¶
func (r ApiGetProjectRequest) Execute() (*ProjectResponseWithParents, error)
func (ApiGetProjectRequest) IncludeParents ¶
func (r ApiGetProjectRequest) IncludeParents(includeParents bool) ApiGetProjectRequest
type ApiListProjectsRequest ¶
type ApiListProjectsRequest struct {
// contains filtered or unexported fields
}
func (ApiListProjectsRequest) ContainerIds ¶
func (r ApiListProjectsRequest) ContainerIds(containerIds []string) ApiListProjectsRequest
func (ApiListProjectsRequest) ContainerParentId ¶
func (r ApiListProjectsRequest) ContainerParentId(containerParentId string) ApiListProjectsRequest
func (ApiListProjectsRequest) CreationTimeStart ¶
func (r ApiListProjectsRequest) CreationTimeStart(creationTimeStart time.Time) ApiListProjectsRequest
func (ApiListProjectsRequest) Execute ¶
func (r ApiListProjectsRequest) Execute() (*AllProjectsResponse, error)
func (ApiListProjectsRequest) Limit ¶
func (r ApiListProjectsRequest) Limit(limit float32) ApiListProjectsRequest
func (ApiListProjectsRequest) Member ¶
func (r ApiListProjectsRequest) Member(member string) ApiListProjectsRequest
func (ApiListProjectsRequest) Offset ¶
func (r ApiListProjectsRequest) Offset(offset float32) ApiListProjectsRequest
type ApiPartialUpdateProjectRequest ¶
type ApiPartialUpdateProjectRequest struct {
// contains filtered or unexported fields
}
func (ApiPartialUpdateProjectRequest) Execute ¶
func (r ApiPartialUpdateProjectRequest) Execute() (*ProjectResponse, error)
func (ApiPartialUpdateProjectRequest) PartialUpdateProjectPayload ¶
func (r ApiPartialUpdateProjectRequest) PartialUpdateProjectPayload(partialUpdateProjectPayload PartialUpdateProjectPayload) ApiPartialUpdateProjectRequest
type ContainerResponse ¶
type ContainerResponse struct {
// A pagination cursor is returned on the first call of the pagination process. If given, it will start from the end of the previous position. If not given, a new pagination is started.
// REQUIRED
Cursor *string `json:"cursor"`
// REQUIRED
Items *[]ContainerResponseItemsInner `json:"items"`
// The maximum number of projects to return in the response. If not present, an appropriate default will be used.
// REQUIRED
Limit *float64 `json:"limit"`
}
type ContainerResponseItemsInner ¶
type ContainerResponseItemsInner struct {
ContainerResponseItemsInnerAnyOf *ContainerResponseItemsInnerAnyOf
ContainerResponseItemsInnerAnyOf1 *ContainerResponseItemsInnerAnyOf1
}
ContainerResponseItemsInner struct for ContainerResponseItemsInner
func (*ContainerResponseItemsInner) MarshalJSON ¶
func (src *ContainerResponseItemsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ContainerResponseItemsInner) UnmarshalJSON ¶
func (dst *ContainerResponseItemsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ContainerResponseItemsInnerAnyOf ¶
type ContainerResponseItemsInnerAnyOf struct {
// REQUIRED
Item *FolderResponse `json:"item"`
// Resource container type.
// REQUIRED
Type *string `json:"type"`
}
type ContainerResponseItemsInnerAnyOf1 ¶
type ContainerResponseItemsInnerAnyOf1 struct {
// REQUIRED
Item *ProjectResponse `json:"item"`
// Resource container type.
// REQUIRED
Type *string `json:"type"`
}
type CreateProjectPayload ¶
type CreateProjectPayload struct {
// Identifier of the parent resource container - containerId as well as UUID identifier is supported.
// REQUIRED
ContainerParentId *string `json:"containerParentId"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account.
// REQUIRED
Members *[]ProjectMember `json:"members"`
// Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
// REQUIRED
Name *string `json:"name"`
}
type ErrorResponse ¶
type ErrorResponse struct {
// The reason phrase of the status code.
// REQUIRED
Error *string `json:"error"`
// Description of the error.
// REQUIRED
Message *string `json:"message"`
// Path which was called.
// REQUIRED
Path *string `json:"path"`
// Http Status Code.
// REQUIRED
Status *float64 `json:"status"`
// Timestamp at which the error occurred.
// REQUIRED
TimeStamp *time.Time `json:"timeStamp"`
}
type ExivityProject ¶
type ExivityProject struct {
// Billing reference of the project (if present)
BillingReferenceCode *string `json:"billingReferenceCode,omitempty"`
// Globally unique, legacy organization identifier
// REQUIRED
CustomerAccountId *string `json:"customerAccountId"`
// Timestamp at which the project was deleted
DeletedAt *time.Time `json:"deletedAt,omitempty"`
// Globally unique, legacy project identifier
// REQUIRED
PortalProjectId *string `json:"portalProjectId"`
// Name of the project
// REQUIRED
PortalProjectName *string `json:"portalProjectName"`
}
type FolderRequestBody ¶
type FolderRequestBody struct {
// Identifier of the parent resource container - containerId as well as UUID identifier is supported.
// REQUIRED
ContainerParentId *string `json:"containerParentId"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The name of the folder matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
// REQUIRED
Name *string `json:"name"`
}
type FolderResponse ¶
type FolderResponse struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the folder was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Globally unique, legacy folder identifier (for backward compatibility)
// REQUIRED
FolderId *string `json:"folderId"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Folder name.
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Parent *Parent `json:"parent"`
// Timestamp at which the folder was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type FolderResponseWithParents ¶
type FolderResponseWithParents struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the folder was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Globally unique, legacy folder identifier (for backward compatibility)
// REQUIRED
FolderId *string `json:"folderId"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// Folder name.
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Parent *Parent `json:"parent"`
Parents *[]ParentListInner `json:"parents,omitempty"`
// Timestamp at which the folder was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type LifecycleState ¶
type LifecycleState string
LifecycleState Lifecycle state of the resource container. | LIFECYCLE STATE | DESCRIPTION | |----------|--------------------| | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | | ACTIVE | Resource container can be fully used. | | INACTIVE | Resource container usage has been disabled. | | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. |
const ( LIFECYCLESTATE_CREATING LifecycleState = "CREATING" LIFECYCLESTATE_ACTIVE LifecycleState = "ACTIVE" LIFECYCLESTATE_DELETING LifecycleState = "DELETING" LIFECYCLESTATE_INACTIVE LifecycleState = "INACTIVE" )
List of LifecycleState
func NewLifecycleStateFromValue ¶
func NewLifecycleStateFromValue(v string) (*LifecycleState, error)
NewLifecycleStateFromValue returns a pointer to a valid LifecycleState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LifecycleState) IsValid ¶
func (v LifecycleState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LifecycleState) Ptr ¶
func (v LifecycleState) Ptr() *LifecycleState
Ptr returns reference to LifecycleState value
func (*LifecycleState) UnmarshalJSON ¶
func (v *LifecycleState) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableContainerResponseItemsInner ¶
type NullableContainerResponseItemsInner struct {
// contains filtered or unexported fields
}
func NewNullableContainerResponseItemsInner ¶
func NewNullableContainerResponseItemsInner(val *ContainerResponseItemsInner) *NullableContainerResponseItemsInner
func (NullableContainerResponseItemsInner) Get ¶
func (v NullableContainerResponseItemsInner) Get() *ContainerResponseItemsInner
func (NullableContainerResponseItemsInner) IsSet ¶
func (v NullableContainerResponseItemsInner) IsSet() bool
func (NullableContainerResponseItemsInner) MarshalJSON ¶
func (v NullableContainerResponseItemsInner) MarshalJSON() ([]byte, error)
func (*NullableContainerResponseItemsInner) Set ¶
func (v *NullableContainerResponseItemsInner) Set(val *ContainerResponseItemsInner)
func (*NullableContainerResponseItemsInner) UnmarshalJSON ¶
func (v *NullableContainerResponseItemsInner) UnmarshalJSON(src []byte) error
func (*NullableContainerResponseItemsInner) Unset ¶
func (v *NullableContainerResponseItemsInner) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLifecycleState ¶
type NullableLifecycleState struct {
// contains filtered or unexported fields
}
func NewNullableLifecycleState ¶
func NewNullableLifecycleState(val *LifecycleState) *NullableLifecycleState
func (NullableLifecycleState) Get ¶
func (v NullableLifecycleState) Get() *LifecycleState
func (NullableLifecycleState) IsSet ¶
func (v NullableLifecycleState) IsSet() bool
func (NullableLifecycleState) MarshalJSON ¶
func (v NullableLifecycleState) MarshalJSON() ([]byte, error)
func (*NullableLifecycleState) Set ¶
func (v *NullableLifecycleState) Set(val *LifecycleState)
func (*NullableLifecycleState) UnmarshalJSON ¶
func (v *NullableLifecycleState) UnmarshalJSON(src []byte) error
func (*NullableLifecycleState) Unset ¶
func (v *NullableLifecycleState) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type OrganizationMember ¶
type OrganizationRequestBody ¶
type OrganizationRequestBody struct {
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The initial members that are assigned to the organization. At least one subject needs to be a user and not a client or service account.
// REQUIRED
Members *[]OrganizationMember `json:"members"`
// The name for the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
// REQUIRED
Name *string `json:"name"`
}
type OrganizationResponse ¶
type OrganizationResponse struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the organization was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// REQUIRED
LifecycleState *LifecycleState `json:"lifecycleState"`
// Organization name.
// REQUIRED
Name *string `json:"name"`
// Globally unique, legacy organization identifier (for backward compatibility)
// REQUIRED
OrganizationId *string `json:"organizationId"`
// Timestamp at which the organization was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type Parent ¶
type Parent struct {
// User-friendly identifier of either organization or folder (will replace id).
// REQUIRED
ContainerId *string `json:"containerId"`
// Legacy identifier of either organization or folder (for backward compatibility). Field name according to parent object of v1.
// REQUIRED
Id *string `json:"id"`
// Container type of parent container.
// REQUIRED
Type *string `json:"type"`
}
type ParentListInner ¶
type ParentListInner struct {
// User-friendly identifier of either organization or folder (will replace id).
// REQUIRED
ContainerId *string `json:"containerId"`
// User-friendly parent identifier of either organization or folder (will replace parentId).
// REQUIRED
ContainerParentId *string `json:"containerParentId"`
// Legacy identifier (for backward compatibility).
// REQUIRED
Id *string `json:"id"`
// Parent container name.
// REQUIRED
Name *string `json:"name"`
// Legacy identifier of the parent resource container (for backward compatibility).
// REQUIRED
ParentId *string `json:"parentId"`
// Parent container type.
// REQUIRED
Type *string `json:"type"`
}
type PartialUpdateProjectPayload ¶
type PartialUpdateProjectPayload struct {
// New parent identifier for the resource container - containerId as well as UUID identifier is supported.
ContainerParentId *string `json:"containerParentId,omitempty"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name *string `json:"name,omitempty"`
}
type PatchOrganizationRequestBody ¶
type PatchOrganizationRequestBody struct {
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){0,39}$`.
Name *string `json:"name,omitempty"`
}
type ProjectMember ¶
type ProjectResponse ¶
type ProjectResponse struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the project was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// REQUIRED
LifecycleState *LifecycleState `json:"lifecycleState"`
// Project name.
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Parent *Parent `json:"parent"`
// Globally unique, legacy project identifier (for backward compatibility)
// REQUIRED
ProjectId *string `json:"projectId"`
// Timestamp at which the project was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type ProjectResponseWithParents ¶
type ProjectResponseWithParents struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Timestamp at which the project was created.
// REQUIRED
CreationTime *time.Time `json:"creationTime"`
// Labels are key-value string pairs which can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.
Labels *map[string]string `json:"labels,omitempty"`
// REQUIRED
LifecycleState *LifecycleState `json:"lifecycleState"`
// Project name.
// REQUIRED
Name *string `json:"name"`
// REQUIRED
Parent *Parent `json:"parent"`
Parents *[]ParentListInner `json:"parents,omitempty"`
// Globally unique, legacy project identifier (for backward compatibility)
// REQUIRED
ProjectId *string `json:"projectId"`
// Timestamp at which the project was last modified.
// REQUIRED
UpdateTime *time.Time `json:"updateTime"`
}
type ResourceContainerSearchResponse ¶
type ResourceContainerSearchResponse struct {
// REQUIRED
Items *[]ResourceContainerSearchResult `json:"items"`
}
type ResourceContainerSearchResult ¶
type ResourceContainerSearchResult struct {
// Globally unique, user-friendly identifier.
// REQUIRED
ContainerId *string `json:"containerId"`
// Resource container type.
// REQUIRED
ContainerType *string `json:"containerType"`
// Globally unique, legacy identifier (for backward compatibility)
// REQUIRED
Id *string `json:"id"`
LifecycleState *LifecycleState `json:"lifecycleState,omitempty"`
// Resource container name.
// REQUIRED
Name *string `json:"name"`
}
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_all_folders_response.go
- model_all_folders_response_items_inner.go
- model_all_org_response.go
- model_all_org_response_items_inner.go
- model_all_projects_response.go
- model_container_response.go
- model_container_response_items_inner.go
- model_container_response_items_inner_any_of.go
- model_container_response_items_inner_any_of_1.go
- model_create_project_payload.go
- model_error_response.go
- model_exivity_project.go
- model_folder_request_body.go
- model_folder_response.go
- model_folder_response_with_parents.go
- model_lifecycle_state.go
- model_organization_member.go
- model_organization_request_body.go
- model_organization_response.go
- model_parent.go
- model_parent_list_inner.go
- model_partial_update_project_payload.go
- model_patch_organization_request_body.go
- model_project_member.go
- model_project_response.go
- model_project_response_with_parents.go
- model_resource_container_search_response.go
- model_resource_container_search_result.go
- utils.go