Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
- type ApplyResults
- func (*ApplyResults) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyResults) GetArtifacts() string
- func (x *ApplyResults) GetContent() string
- func (x *ApplyResults) GetOutputs() map[string]*TerraformOutput
- func (*ApplyResults) ProtoMessage()
- func (x *ApplyResults) ProtoReflect() protoreflect.Message
- func (x *ApplyResults) Reset()
- func (x *ApplyResults) String() string
- type ConfigClient
- type ConfigServer
- type CreateDeploymentRequest
- func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDeploymentRequest) GetDeployment() *Deployment
- func (x *CreateDeploymentRequest) GetDeploymentId() string
- func (x *CreateDeploymentRequest) GetParent() string
- func (x *CreateDeploymentRequest) GetRequestId() string
- func (*CreateDeploymentRequest) ProtoMessage()
- func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDeploymentRequest) Reset()
- func (x *CreateDeploymentRequest) String() string
- type CreatePreviewRequest
- func (*CreatePreviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreviewRequest) GetParent() string
- func (x *CreatePreviewRequest) GetPreview() *Preview
- func (x *CreatePreviewRequest) GetPreviewId() string
- func (x *CreatePreviewRequest) GetRequestId() string
- func (*CreatePreviewRequest) ProtoMessage()
- func (x *CreatePreviewRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePreviewRequest) Reset()
- func (x *CreatePreviewRequest) String() string
- type DeleteDeploymentRequest
- func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeploymentRequest) GetDeletePolicy() DeleteDeploymentRequest_DeletePolicy
- func (x *DeleteDeploymentRequest) GetForce() bool
- func (x *DeleteDeploymentRequest) GetName() string
- func (x *DeleteDeploymentRequest) GetRequestId() string
- func (*DeleteDeploymentRequest) ProtoMessage()
- func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeploymentRequest) Reset()
- func (x *DeleteDeploymentRequest) String() string
- type DeleteDeploymentRequest_DeletePolicy
- func (DeleteDeploymentRequest_DeletePolicy) Descriptor() protoreflect.EnumDescriptor
- func (x DeleteDeploymentRequest_DeletePolicy) Enum() *DeleteDeploymentRequest_DeletePolicy
- func (DeleteDeploymentRequest_DeletePolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeleteDeploymentRequest_DeletePolicy) Number() protoreflect.EnumNumber
- func (x DeleteDeploymentRequest_DeletePolicy) String() string
- func (DeleteDeploymentRequest_DeletePolicy) Type() protoreflect.EnumType
- type DeletePreviewRequest
- func (*DeletePreviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePreviewRequest) GetName() string
- func (x *DeletePreviewRequest) GetRequestId() string
- func (*DeletePreviewRequest) ProtoMessage()
- func (x *DeletePreviewRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePreviewRequest) Reset()
- func (x *DeletePreviewRequest) String() string
- type DeleteStatefileRequest
- func (*DeleteStatefileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStatefileRequest) GetLockId() int64
- func (x *DeleteStatefileRequest) GetName() string
- func (*DeleteStatefileRequest) ProtoMessage()
- func (x *DeleteStatefileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStatefileRequest) Reset()
- func (x *DeleteStatefileRequest) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetAnnotations() map[string]string
- func (x *Deployment) GetArtifactsGcsBucket() string
- func (m *Deployment) GetBlueprint() isDeployment_Blueprint
- func (x *Deployment) GetCreateTime() *timestamppb.Timestamp
- func (x *Deployment) GetDeleteBuild() string
- func (x *Deployment) GetDeleteLogs() string
- func (x *Deployment) GetDeleteResults() *ApplyResults
- func (x *Deployment) GetErrorCode() Deployment_ErrorCode
- func (x *Deployment) GetErrorLogs() string
- func (x *Deployment) GetImportExistingResources() bool
- func (x *Deployment) GetLabels() map[string]string
- func (x *Deployment) GetLatestRevision() string
- func (x *Deployment) GetLockState() Deployment_LockState
- func (x *Deployment) GetName() string
- func (x *Deployment) GetProviderConfig() *ProviderConfig
- func (x *Deployment) GetQuotaValidation() QuotaValidation
- func (x *Deployment) GetServiceAccount() string
- func (x *Deployment) GetState() Deployment_State
- func (x *Deployment) GetStateDetail() string
- func (x *Deployment) GetTerraformBlueprint() *TerraformBlueprint
- func (x *Deployment) GetTfErrors() []*TerraformError
- func (x *Deployment) GetTfVersion() string
- func (x *Deployment) GetTfVersionConstraint() string
- func (x *Deployment) GetUpdateTime() *timestamppb.Timestamp
- func (x *Deployment) GetWorkerPool() string
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type DeploymentOperationMetadata
- func (*DeploymentOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeploymentOperationMetadata) GetApplyResults() *ApplyResults
- func (x *DeploymentOperationMetadata) GetBuild() string
- func (x *DeploymentOperationMetadata) GetLogs() string
- func (x *DeploymentOperationMetadata) GetStep() DeploymentOperationMetadata_DeploymentStep
- func (*DeploymentOperationMetadata) ProtoMessage()
- func (x *DeploymentOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *DeploymentOperationMetadata) Reset()
- func (x *DeploymentOperationMetadata) String() string
- type DeploymentOperationMetadata_DeploymentStep
- func (DeploymentOperationMetadata_DeploymentStep) Descriptor() protoreflect.EnumDescriptor
- func (x DeploymentOperationMetadata_DeploymentStep) Enum() *DeploymentOperationMetadata_DeploymentStep
- func (DeploymentOperationMetadata_DeploymentStep) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeploymentOperationMetadata_DeploymentStep) Number() protoreflect.EnumNumber
- func (x DeploymentOperationMetadata_DeploymentStep) String() string
- func (DeploymentOperationMetadata_DeploymentStep) Type() protoreflect.EnumType
- type Deployment_ErrorCode
- func (Deployment_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x Deployment_ErrorCode) Enum() *Deployment_ErrorCode
- func (Deployment_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Deployment_ErrorCode) Number() protoreflect.EnumNumber
- func (x Deployment_ErrorCode) String() string
- func (Deployment_ErrorCode) Type() protoreflect.EnumType
- type Deployment_LockState
- func (Deployment_LockState) Descriptor() protoreflect.EnumDescriptor
- func (x Deployment_LockState) Enum() *Deployment_LockState
- func (Deployment_LockState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Deployment_LockState) Number() protoreflect.EnumNumber
- func (x Deployment_LockState) String() string
- func (Deployment_LockState) Type() protoreflect.EnumType
- type Deployment_State
- func (Deployment_State) Descriptor() protoreflect.EnumDescriptor
- func (x Deployment_State) Enum() *Deployment_State
- func (Deployment_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Deployment_State) Number() protoreflect.EnumNumber
- func (x Deployment_State) String() string
- func (Deployment_State) Type() protoreflect.EnumType
- type Deployment_TerraformBlueprint
- type ExportDeploymentStatefileRequest
- func (*ExportDeploymentStatefileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDeploymentStatefileRequest) GetDraft() bool
- func (x *ExportDeploymentStatefileRequest) GetParent() string
- func (*ExportDeploymentStatefileRequest) ProtoMessage()
- func (x *ExportDeploymentStatefileRequest) ProtoReflect() protoreflect.Message
- func (x *ExportDeploymentStatefileRequest) Reset()
- func (x *ExportDeploymentStatefileRequest) String() string
- type ExportLockInfoRequest
- func (*ExportLockInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportLockInfoRequest) GetName() string
- func (*ExportLockInfoRequest) ProtoMessage()
- func (x *ExportLockInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ExportLockInfoRequest) Reset()
- func (x *ExportLockInfoRequest) String() string
- type ExportPreviewResultRequest
- func (*ExportPreviewResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportPreviewResultRequest) GetParent() string
- func (*ExportPreviewResultRequest) ProtoMessage()
- func (x *ExportPreviewResultRequest) ProtoReflect() protoreflect.Message
- func (x *ExportPreviewResultRequest) Reset()
- func (x *ExportPreviewResultRequest) String() string
- type ExportPreviewResultResponse
- func (*ExportPreviewResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportPreviewResultResponse) GetResult() *PreviewResult
- func (*ExportPreviewResultResponse) ProtoMessage()
- func (x *ExportPreviewResultResponse) ProtoReflect() protoreflect.Message
- func (x *ExportPreviewResultResponse) Reset()
- func (x *ExportPreviewResultResponse) String() string
- type ExportRevisionStatefileRequest
- func (*ExportRevisionStatefileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRevisionStatefileRequest) GetParent() string
- func (*ExportRevisionStatefileRequest) ProtoMessage()
- func (x *ExportRevisionStatefileRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRevisionStatefileRequest) Reset()
- func (x *ExportRevisionStatefileRequest) String() string
- type GetDeploymentRequest
- func (*GetDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentRequest) GetName() string
- func (*GetDeploymentRequest) ProtoMessage()
- func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentRequest) Reset()
- func (x *GetDeploymentRequest) String() string
- type GetPreviewRequest
- type GetResourceChangeRequest
- func (*GetResourceChangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceChangeRequest) GetName() string
- func (*GetResourceChangeRequest) ProtoMessage()
- func (x *GetResourceChangeRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceChangeRequest) Reset()
- func (x *GetResourceChangeRequest) String() string
- type GetResourceDriftRequest
- func (*GetResourceDriftRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceDriftRequest) GetName() string
- func (*GetResourceDriftRequest) ProtoMessage()
- func (x *GetResourceDriftRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceDriftRequest) Reset()
- func (x *GetResourceDriftRequest) String() string
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRequest) GetName() string
- func (*GetResourceRequest) ProtoMessage()
- func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRequest) Reset()
- func (x *GetResourceRequest) String() string
- type GetRevisionRequest
- func (*GetRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRevisionRequest) GetName() string
- func (*GetRevisionRequest) ProtoMessage()
- func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRevisionRequest) Reset()
- func (x *GetRevisionRequest) String() string
- type GetTerraformVersionRequest
- func (*GetTerraformVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTerraformVersionRequest) GetName() string
- func (*GetTerraformVersionRequest) ProtoMessage()
- func (x *GetTerraformVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTerraformVersionRequest) Reset()
- func (x *GetTerraformVersionRequest) String() string
- type GitSource
- func (*GitSource) Descriptor() ([]byte, []int)deprecated
- func (x *GitSource) GetDirectory() string
- func (x *GitSource) GetRef() string
- func (x *GitSource) GetRepo() string
- func (*GitSource) ProtoMessage()
- func (x *GitSource) ProtoReflect() protoreflect.Message
- func (x *GitSource) Reset()
- func (x *GitSource) String() string
- type ImportStatefileRequest
- func (*ImportStatefileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportStatefileRequest) GetLockId() int64
- func (x *ImportStatefileRequest) GetParent() string
- func (x *ImportStatefileRequest) GetSkipDraft() bool
- func (*ImportStatefileRequest) ProtoMessage()
- func (x *ImportStatefileRequest) ProtoReflect() protoreflect.Message
- func (x *ImportStatefileRequest) Reset()
- func (x *ImportStatefileRequest) String() string
- type ListDeploymentsRequest
- func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsRequest) GetFilter() string
- func (x *ListDeploymentsRequest) GetOrderBy() string
- func (x *ListDeploymentsRequest) GetPageSize() int32
- func (x *ListDeploymentsRequest) GetPageToken() string
- func (x *ListDeploymentsRequest) GetParent() string
- func (*ListDeploymentsRequest) ProtoMessage()
- func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsRequest) Reset()
- func (x *ListDeploymentsRequest) String() string
- type ListDeploymentsResponse
- func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
- func (x *ListDeploymentsResponse) GetNextPageToken() string
- func (x *ListDeploymentsResponse) GetUnreachable() []string
- func (*ListDeploymentsResponse) ProtoMessage()
- func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsResponse) Reset()
- func (x *ListDeploymentsResponse) String() string
- type ListPreviewsRequest
- func (*ListPreviewsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPreviewsRequest) GetFilter() string
- func (x *ListPreviewsRequest) GetOrderBy() string
- func (x *ListPreviewsRequest) GetPageSize() int32
- func (x *ListPreviewsRequest) GetPageToken() string
- func (x *ListPreviewsRequest) GetParent() string
- func (*ListPreviewsRequest) ProtoMessage()
- func (x *ListPreviewsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPreviewsRequest) Reset()
- func (x *ListPreviewsRequest) String() string
- type ListPreviewsResponse
- func (*ListPreviewsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPreviewsResponse) GetNextPageToken() string
- func (x *ListPreviewsResponse) GetPreviews() []*Preview
- func (x *ListPreviewsResponse) GetUnreachable() []string
- func (*ListPreviewsResponse) ProtoMessage()
- func (x *ListPreviewsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPreviewsResponse) Reset()
- func (x *ListPreviewsResponse) String() string
- type ListResourceChangesRequest
- func (*ListResourceChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceChangesRequest) GetFilter() string
- func (x *ListResourceChangesRequest) GetOrderBy() string
- func (x *ListResourceChangesRequest) GetPageSize() int32
- func (x *ListResourceChangesRequest) GetPageToken() string
- func (x *ListResourceChangesRequest) GetParent() string
- func (*ListResourceChangesRequest) ProtoMessage()
- func (x *ListResourceChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceChangesRequest) Reset()
- func (x *ListResourceChangesRequest) String() string
- type ListResourceChangesResponse
- func (*ListResourceChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceChangesResponse) GetNextPageToken() string
- func (x *ListResourceChangesResponse) GetResourceChanges() []*ResourceChange
- func (x *ListResourceChangesResponse) GetUnreachable() []string
- func (*ListResourceChangesResponse) ProtoMessage()
- func (x *ListResourceChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceChangesResponse) Reset()
- func (x *ListResourceChangesResponse) String() string
- type ListResourceDriftsRequest
- func (*ListResourceDriftsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceDriftsRequest) GetFilter() string
- func (x *ListResourceDriftsRequest) GetOrderBy() string
- func (x *ListResourceDriftsRequest) GetPageSize() int32
- func (x *ListResourceDriftsRequest) GetPageToken() string
- func (x *ListResourceDriftsRequest) GetParent() string
- func (*ListResourceDriftsRequest) ProtoMessage()
- func (x *ListResourceDriftsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceDriftsRequest) Reset()
- func (x *ListResourceDriftsRequest) String() string
- type ListResourceDriftsResponse
- func (*ListResourceDriftsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceDriftsResponse) GetNextPageToken() string
- func (x *ListResourceDriftsResponse) GetResourceDrifts() []*ResourceDrift
- func (x *ListResourceDriftsResponse) GetUnreachable() []string
- func (*ListResourceDriftsResponse) ProtoMessage()
- func (x *ListResourceDriftsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceDriftsResponse) Reset()
- func (x *ListResourceDriftsResponse) String() string
- type ListResourcesRequest
- func (*ListResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesRequest) GetFilter() string
- func (x *ListResourcesRequest) GetOrderBy() string
- func (x *ListResourcesRequest) GetPageSize() int32
- func (x *ListResourcesRequest) GetPageToken() string
- func (x *ListResourcesRequest) GetParent() string
- func (*ListResourcesRequest) ProtoMessage()
- func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourcesRequest) Reset()
- func (x *ListResourcesRequest) String() string
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetNextPageToken() string
- func (x *ListResourcesResponse) GetResources() []*Resource
- func (x *ListResourcesResponse) GetUnreachable() []string
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (x *ListResourcesResponse) String() string
- type ListRevisionsRequest
- func (*ListRevisionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsRequest) GetFilter() string
- func (x *ListRevisionsRequest) GetOrderBy() string
- func (x *ListRevisionsRequest) GetPageSize() int32
- func (x *ListRevisionsRequest) GetPageToken() string
- func (x *ListRevisionsRequest) GetParent() string
- func (*ListRevisionsRequest) ProtoMessage()
- func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsRequest) Reset()
- func (x *ListRevisionsRequest) String() string
- type ListRevisionsResponse
- func (*ListRevisionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsResponse) GetNextPageToken() string
- func (x *ListRevisionsResponse) GetRevisions() []*Revision
- func (x *ListRevisionsResponse) GetUnreachable() []string
- func (*ListRevisionsResponse) ProtoMessage()
- func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsResponse) Reset()
- func (x *ListRevisionsResponse) String() string
- type ListTerraformVersionsRequest
- func (*ListTerraformVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerraformVersionsRequest) GetFilter() string
- func (x *ListTerraformVersionsRequest) GetOrderBy() string
- func (x *ListTerraformVersionsRequest) GetPageSize() int32
- func (x *ListTerraformVersionsRequest) GetPageToken() string
- func (x *ListTerraformVersionsRequest) GetParent() string
- func (*ListTerraformVersionsRequest) ProtoMessage()
- func (x *ListTerraformVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTerraformVersionsRequest) Reset()
- func (x *ListTerraformVersionsRequest) String() string
- type ListTerraformVersionsResponse
- func (*ListTerraformVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerraformVersionsResponse) GetNextPageToken() string
- func (x *ListTerraformVersionsResponse) GetTerraformVersions() []*TerraformVersion
- func (x *ListTerraformVersionsResponse) GetUnreachable() []string
- func (*ListTerraformVersionsResponse) ProtoMessage()
- func (x *ListTerraformVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTerraformVersionsResponse) Reset()
- func (x *ListTerraformVersionsResponse) String() string
- type LockDeploymentRequest
- func (*LockDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LockDeploymentRequest) GetName() string
- func (*LockDeploymentRequest) ProtoMessage()
- func (x *LockDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *LockDeploymentRequest) Reset()
- func (x *LockDeploymentRequest) String() string
- type LockInfo
- func (*LockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LockInfo) GetCreateTime() *timestamppb.Timestamp
- func (x *LockInfo) GetInfo() string
- func (x *LockInfo) GetLockId() int64
- func (x *LockInfo) GetOperation() string
- func (x *LockInfo) GetVersion() string
- func (x *LockInfo) GetWho() string
- func (*LockInfo) ProtoMessage()
- func (x *LockInfo) ProtoReflect() protoreflect.Message
- func (x *LockInfo) Reset()
- func (x *LockInfo) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetDeploymentMetadata() *DeploymentOperationMetadata
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetPreviewMetadata() *PreviewOperationMetadata
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (m *OperationMetadata) GetResourceMetadata() isOperationMetadata_ResourceMetadata
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type OperationMetadata_DeploymentMetadata
- type OperationMetadata_PreviewMetadata
- type Preview
- func (*Preview) Descriptor() ([]byte, []int)deprecated
- func (x *Preview) GetAnnotations() map[string]string
- func (x *Preview) GetArtifactsGcsBucket() string
- func (m *Preview) GetBlueprint() isPreview_Blueprint
- func (x *Preview) GetBuild() string
- func (x *Preview) GetCreateTime() *timestamppb.Timestamp
- func (x *Preview) GetDeployment() string
- func (x *Preview) GetErrorCode() Preview_ErrorCode
- func (x *Preview) GetErrorLogs() string
- func (x *Preview) GetErrorStatus() *status.Status
- func (x *Preview) GetLabels() map[string]string
- func (x *Preview) GetLogs() string
- func (x *Preview) GetName() string
- func (x *Preview) GetPreviewArtifacts() *PreviewArtifacts
- func (x *Preview) GetPreviewMode() Preview_PreviewMode
- func (x *Preview) GetProviderConfig() *ProviderConfig
- func (x *Preview) GetServiceAccount() string
- func (x *Preview) GetState() Preview_State
- func (x *Preview) GetTerraformBlueprint() *TerraformBlueprint
- func (x *Preview) GetTfErrors() []*TerraformError
- func (x *Preview) GetTfVersion() string
- func (x *Preview) GetTfVersionConstraint() string
- func (x *Preview) GetWorkerPool() string
- func (*Preview) ProtoMessage()
- func (x *Preview) ProtoReflect() protoreflect.Message
- func (x *Preview) Reset()
- func (x *Preview) String() string
- type PreviewArtifacts
- func (*PreviewArtifacts) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewArtifacts) GetArtifacts() string
- func (x *PreviewArtifacts) GetContent() string
- func (*PreviewArtifacts) ProtoMessage()
- func (x *PreviewArtifacts) ProtoReflect() protoreflect.Message
- func (x *PreviewArtifacts) Reset()
- func (x *PreviewArtifacts) String() string
- type PreviewOperationMetadata
- func (*PreviewOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewOperationMetadata) GetBuild() string
- func (x *PreviewOperationMetadata) GetLogs() string
- func (x *PreviewOperationMetadata) GetPreviewArtifacts() *PreviewArtifacts
- func (x *PreviewOperationMetadata) GetStep() PreviewOperationMetadata_PreviewStep
- func (*PreviewOperationMetadata) ProtoMessage()
- func (x *PreviewOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *PreviewOperationMetadata) Reset()
- func (x *PreviewOperationMetadata) String() string
- type PreviewOperationMetadata_PreviewStep
- func (PreviewOperationMetadata_PreviewStep) Descriptor() protoreflect.EnumDescriptor
- func (x PreviewOperationMetadata_PreviewStep) Enum() *PreviewOperationMetadata_PreviewStep
- func (PreviewOperationMetadata_PreviewStep) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreviewOperationMetadata_PreviewStep) Number() protoreflect.EnumNumber
- func (x PreviewOperationMetadata_PreviewStep) String() string
- func (PreviewOperationMetadata_PreviewStep) Type() protoreflect.EnumType
- type PreviewResult
- func (*PreviewResult) Descriptor() ([]byte, []int)deprecated
- func (x *PreviewResult) GetBinarySignedUri() string
- func (x *PreviewResult) GetJsonSignedUri() string
- func (*PreviewResult) ProtoMessage()
- func (x *PreviewResult) ProtoReflect() protoreflect.Message
- func (x *PreviewResult) Reset()
- func (x *PreviewResult) String() string
- type Preview_ErrorCode
- func (Preview_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x Preview_ErrorCode) Enum() *Preview_ErrorCode
- func (Preview_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Preview_ErrorCode) Number() protoreflect.EnumNumber
- func (x Preview_ErrorCode) String() string
- func (Preview_ErrorCode) Type() protoreflect.EnumType
- type Preview_PreviewMode
- func (Preview_PreviewMode) Descriptor() protoreflect.EnumDescriptor
- func (x Preview_PreviewMode) Enum() *Preview_PreviewMode
- func (Preview_PreviewMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Preview_PreviewMode) Number() protoreflect.EnumNumber
- func (x Preview_PreviewMode) String() string
- func (Preview_PreviewMode) Type() protoreflect.EnumType
- type Preview_State
- func (Preview_State) Descriptor() protoreflect.EnumDescriptor
- func (x Preview_State) Enum() *Preview_State
- func (Preview_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Preview_State) Number() protoreflect.EnumNumber
- func (x Preview_State) String() string
- func (Preview_State) Type() protoreflect.EnumType
- type Preview_TerraformBlueprint
- type PropertyChange
- func (*PropertyChange) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyChange) GetAfter() *structpb.Value
- func (x *PropertyChange) GetAfterSensitivePaths() []string
- func (x *PropertyChange) GetBefore() *structpb.Value
- func (x *PropertyChange) GetBeforeSensitivePaths() []string
- func (x *PropertyChange) GetPath() string
- func (*PropertyChange) ProtoMessage()
- func (x *PropertyChange) ProtoReflect() protoreflect.Message
- func (x *PropertyChange) Reset()
- func (x *PropertyChange) String() string
- type PropertyDrift
- func (*PropertyDrift) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyDrift) GetAfter() *structpb.Value
- func (x *PropertyDrift) GetAfterSensitivePaths() []string
- func (x *PropertyDrift) GetBefore() *structpb.Value
- func (x *PropertyDrift) GetBeforeSensitivePaths() []string
- func (x *PropertyDrift) GetPath() string
- func (*PropertyDrift) ProtoMessage()
- func (x *PropertyDrift) ProtoReflect() protoreflect.Message
- func (x *PropertyDrift) Reset()
- func (x *PropertyDrift) String() string
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderConfig) GetSourceType() ProviderConfig_ProviderSource
- func (*ProviderConfig) ProtoMessage()
- func (x *ProviderConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderConfig) Reset()
- func (x *ProviderConfig) String() string
- type ProviderConfig_ProviderSource
- func (ProviderConfig_ProviderSource) Descriptor() protoreflect.EnumDescriptor
- func (x ProviderConfig_ProviderSource) Enum() *ProviderConfig_ProviderSource
- func (ProviderConfig_ProviderSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProviderConfig_ProviderSource) Number() protoreflect.EnumNumber
- func (x ProviderConfig_ProviderSource) String() string
- func (ProviderConfig_ProviderSource) Type() protoreflect.EnumType
- type QuotaValidation
- func (QuotaValidation) Descriptor() protoreflect.EnumDescriptor
- func (x QuotaValidation) Enum() *QuotaValidation
- func (QuotaValidation) EnumDescriptor() ([]byte, []int)deprecated
- func (x QuotaValidation) Number() protoreflect.EnumNumber
- func (x QuotaValidation) String() string
- func (QuotaValidation) Type() protoreflect.EnumType
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetCaiAssets() map[string]*ResourceCAIInfo
- func (x *Resource) GetIntent() Resource_Intent
- func (x *Resource) GetName() string
- func (x *Resource) GetState() Resource_State
- func (x *Resource) GetTerraformInfo() *ResourceTerraformInfo
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceCAIInfo
- type ResourceChange
- func (*ResourceChange) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceChange) GetIntent() ResourceChange_Intent
- func (x *ResourceChange) GetName() string
- func (x *ResourceChange) GetPropertyChanges() []*PropertyChange
- func (x *ResourceChange) GetTerraformInfo() *ResourceChangeTerraformInfo
- func (*ResourceChange) ProtoMessage()
- func (x *ResourceChange) ProtoReflect() protoreflect.Message
- func (x *ResourceChange) Reset()
- func (x *ResourceChange) String() string
- type ResourceChangeTerraformInfo
- func (*ResourceChangeTerraformInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceChangeTerraformInfo) GetActions() []string
- func (x *ResourceChangeTerraformInfo) GetAddress() string
- func (x *ResourceChangeTerraformInfo) GetProvider() string
- func (x *ResourceChangeTerraformInfo) GetResourceName() string
- func (x *ResourceChangeTerraformInfo) GetType() string
- func (*ResourceChangeTerraformInfo) ProtoMessage()
- func (x *ResourceChangeTerraformInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceChangeTerraformInfo) Reset()
- func (x *ResourceChangeTerraformInfo) String() string
- type ResourceChange_Intent
- func (ResourceChange_Intent) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceChange_Intent) Enum() *ResourceChange_Intent
- func (ResourceChange_Intent) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceChange_Intent) Number() protoreflect.EnumNumber
- func (x ResourceChange_Intent) String() string
- func (ResourceChange_Intent) Type() protoreflect.EnumType
- type ResourceDrift
- func (*ResourceDrift) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDrift) GetName() string
- func (x *ResourceDrift) GetPropertyDrifts() []*PropertyDrift
- func (x *ResourceDrift) GetTerraformInfo() *ResourceDriftTerraformInfo
- func (*ResourceDrift) ProtoMessage()
- func (x *ResourceDrift) ProtoReflect() protoreflect.Message
- func (x *ResourceDrift) Reset()
- func (x *ResourceDrift) String() string
- type ResourceDriftTerraformInfo
- func (*ResourceDriftTerraformInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDriftTerraformInfo) GetAddress() string
- func (x *ResourceDriftTerraformInfo) GetProvider() string
- func (x *ResourceDriftTerraformInfo) GetResourceName() string
- func (x *ResourceDriftTerraformInfo) GetType() string
- func (*ResourceDriftTerraformInfo) ProtoMessage()
- func (x *ResourceDriftTerraformInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceDriftTerraformInfo) Reset()
- func (x *ResourceDriftTerraformInfo) String() string
- type ResourceTerraformInfo
- func (*ResourceTerraformInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTerraformInfo) GetAddress() string
- func (x *ResourceTerraformInfo) GetId() string
- func (x *ResourceTerraformInfo) GetType() string
- func (*ResourceTerraformInfo) ProtoMessage()
- func (x *ResourceTerraformInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceTerraformInfo) Reset()
- func (x *ResourceTerraformInfo) String() string
- type Resource_Intent
- func (Resource_Intent) Descriptor() protoreflect.EnumDescriptor
- func (x Resource_Intent) Enum() *Resource_Intent
- func (Resource_Intent) EnumDescriptor() ([]byte, []int)deprecated
- func (x Resource_Intent) Number() protoreflect.EnumNumber
- func (x Resource_Intent) String() string
- func (Resource_Intent) Type() protoreflect.EnumType
- type Resource_State
- func (Resource_State) Descriptor() protoreflect.EnumDescriptor
- func (x Resource_State) Enum() *Resource_State
- func (Resource_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Resource_State) Number() protoreflect.EnumNumber
- func (x Resource_State) String() string
- func (Resource_State) Type() protoreflect.EnumType
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)deprecated
- func (x *Revision) GetAction() Revision_Action
- func (x *Revision) GetApplyResults() *ApplyResults
- func (m *Revision) GetBlueprint() isRevision_Blueprint
- func (x *Revision) GetBuild() string
- func (x *Revision) GetCreateTime() *timestamppb.Timestamp
- func (x *Revision) GetErrorCode() Revision_ErrorCode
- func (x *Revision) GetErrorLogs() string
- func (x *Revision) GetImportExistingResources() bool
- func (x *Revision) GetLogs() string
- func (x *Revision) GetName() string
- func (x *Revision) GetProviderConfig() *ProviderConfig
- func (x *Revision) GetQuotaValidation() QuotaValidation
- func (x *Revision) GetQuotaValidationResults() string
- func (x *Revision) GetServiceAccount() string
- func (x *Revision) GetState() Revision_State
- func (x *Revision) GetStateDetail() string
- func (x *Revision) GetTerraformBlueprint() *TerraformBlueprint
- func (x *Revision) GetTfErrors() []*TerraformError
- func (x *Revision) GetTfVersion() string
- func (x *Revision) GetTfVersionConstraint() string
- func (x *Revision) GetUpdateTime() *timestamppb.Timestamp
- func (x *Revision) GetWorkerPool() string
- func (*Revision) ProtoMessage()
- func (x *Revision) ProtoReflect() protoreflect.Message
- func (x *Revision) Reset()
- func (x *Revision) String() string
- type Revision_Action
- func (Revision_Action) Descriptor() protoreflect.EnumDescriptor
- func (x Revision_Action) Enum() *Revision_Action
- func (Revision_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x Revision_Action) Number() protoreflect.EnumNumber
- func (x Revision_Action) String() string
- func (Revision_Action) Type() protoreflect.EnumType
- type Revision_ErrorCode
- func (Revision_ErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x Revision_ErrorCode) Enum() *Revision_ErrorCode
- func (Revision_ErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Revision_ErrorCode) Number() protoreflect.EnumNumber
- func (x Revision_ErrorCode) String() string
- func (Revision_ErrorCode) Type() protoreflect.EnumType
- type Revision_State
- func (Revision_State) Descriptor() protoreflect.EnumDescriptor
- func (x Revision_State) Enum() *Revision_State
- func (Revision_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Revision_State) Number() protoreflect.EnumNumber
- func (x Revision_State) String() string
- func (Revision_State) Type() protoreflect.EnumType
- type Revision_TerraformBlueprint
- type Statefile
- type TerraformBlueprint
- func (*TerraformBlueprint) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformBlueprint) GetGcsSource() string
- func (x *TerraformBlueprint) GetGitSource() *GitSource
- func (x *TerraformBlueprint) GetInputValues() map[string]*TerraformVariable
- func (m *TerraformBlueprint) GetSource() isTerraformBlueprint_Source
- func (*TerraformBlueprint) ProtoMessage()
- func (x *TerraformBlueprint) ProtoReflect() protoreflect.Message
- func (x *TerraformBlueprint) Reset()
- func (x *TerraformBlueprint) String() string
- type TerraformBlueprint_GcsSource
- type TerraformBlueprint_GitSource
- type TerraformError
- func (*TerraformError) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformError) GetError() *status.Status
- func (x *TerraformError) GetErrorDescription() string
- func (x *TerraformError) GetHttpResponseCode() int32
- func (x *TerraformError) GetResourceAddress() string
- func (*TerraformError) ProtoMessage()
- func (x *TerraformError) ProtoReflect() protoreflect.Message
- func (x *TerraformError) Reset()
- func (x *TerraformError) String() string
- type TerraformOutput
- func (*TerraformOutput) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformOutput) GetSensitive() bool
- func (x *TerraformOutput) GetValue() *structpb.Value
- func (*TerraformOutput) ProtoMessage()
- func (x *TerraformOutput) ProtoReflect() protoreflect.Message
- func (x *TerraformOutput) Reset()
- func (x *TerraformOutput) String() string
- type TerraformVariable
- func (*TerraformVariable) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformVariable) GetInputValue() *structpb.Value
- func (*TerraformVariable) ProtoMessage()
- func (x *TerraformVariable) ProtoReflect() protoreflect.Message
- func (x *TerraformVariable) Reset()
- func (x *TerraformVariable) String() string
- type TerraformVersion
- func (*TerraformVersion) Descriptor() ([]byte, []int)deprecated
- func (x *TerraformVersion) GetDeprecateTime() *timestamppb.Timestamp
- func (x *TerraformVersion) GetName() string
- func (x *TerraformVersion) GetObsoleteTime() *timestamppb.Timestamp
- func (x *TerraformVersion) GetState() TerraformVersion_State
- func (x *TerraformVersion) GetSupportTime() *timestamppb.Timestamp
- func (*TerraformVersion) ProtoMessage()
- func (x *TerraformVersion) ProtoReflect() protoreflect.Message
- func (x *TerraformVersion) Reset()
- func (x *TerraformVersion) String() string
- type TerraformVersion_State
- func (TerraformVersion_State) Descriptor() protoreflect.EnumDescriptor
- func (x TerraformVersion_State) Enum() *TerraformVersion_State
- func (TerraformVersion_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x TerraformVersion_State) Number() protoreflect.EnumNumber
- func (x TerraformVersion_State) String() string
- func (TerraformVersion_State) Type() protoreflect.EnumType
- type UnimplementedConfigServer
- func (UnimplementedConfigServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) CreatePreview(context.Context, *CreatePreviewRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) DeletePreview(context.Context, *DeletePreviewRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) DeleteStatefile(context.Context, *DeleteStatefileRequest) (*emptypb.Empty, error)
- func (UnimplementedConfigServer) ExportDeploymentStatefile(context.Context, *ExportDeploymentStatefileRequest) (*Statefile, error)
- func (UnimplementedConfigServer) ExportLockInfo(context.Context, *ExportLockInfoRequest) (*LockInfo, error)
- func (UnimplementedConfigServer) ExportPreviewResult(context.Context, *ExportPreviewResultRequest) (*ExportPreviewResultResponse, error)
- func (UnimplementedConfigServer) ExportRevisionStatefile(context.Context, *ExportRevisionStatefileRequest) (*Statefile, error)
- func (UnimplementedConfigServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
- func (UnimplementedConfigServer) GetPreview(context.Context, *GetPreviewRequest) (*Preview, error)
- func (UnimplementedConfigServer) GetResource(context.Context, *GetResourceRequest) (*Resource, error)
- func (UnimplementedConfigServer) GetResourceChange(context.Context, *GetResourceChangeRequest) (*ResourceChange, error)
- func (UnimplementedConfigServer) GetResourceDrift(context.Context, *GetResourceDriftRequest) (*ResourceDrift, error)
- func (UnimplementedConfigServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
- func (UnimplementedConfigServer) GetTerraformVersion(context.Context, *GetTerraformVersionRequest) (*TerraformVersion, error)
- func (UnimplementedConfigServer) ImportStatefile(context.Context, *ImportStatefileRequest) (*Statefile, error)
- func (UnimplementedConfigServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
- func (UnimplementedConfigServer) ListPreviews(context.Context, *ListPreviewsRequest) (*ListPreviewsResponse, error)
- func (UnimplementedConfigServer) ListResourceChanges(context.Context, *ListResourceChangesRequest) (*ListResourceChangesResponse, error)
- func (UnimplementedConfigServer) ListResourceDrifts(context.Context, *ListResourceDriftsRequest) (*ListResourceDriftsResponse, error)
- func (UnimplementedConfigServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
- func (UnimplementedConfigServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
- func (UnimplementedConfigServer) ListTerraformVersions(context.Context, *ListTerraformVersionsRequest) (*ListTerraformVersionsResponse, error)
- func (UnimplementedConfigServer) LockDeployment(context.Context, *LockDeploymentRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) UnlockDeployment(context.Context, *UnlockDeploymentRequest) (*longrunningpb.Operation, error)
- func (UnimplementedConfigServer) UpdateDeployment(context.Context, *UpdateDeploymentRequest) (*longrunningpb.Operation, error)
- type UnlockDeploymentRequest
- func (*UnlockDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockDeploymentRequest) GetLockId() int64
- func (x *UnlockDeploymentRequest) GetName() string
- func (*UnlockDeploymentRequest) ProtoMessage()
- func (x *UnlockDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockDeploymentRequest) Reset()
- func (x *UnlockDeploymentRequest) String() string
- type UnsafeConfigServer
- type UpdateDeploymentRequest
- func (*UpdateDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDeploymentRequest) GetDeployment() *Deployment
- func (x *UpdateDeploymentRequest) GetRequestId() string
- func (x *UpdateDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDeploymentRequest) ProtoMessage()
- func (x *UpdateDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDeploymentRequest) Reset()
- func (x *UpdateDeploymentRequest) String() string
Constants ¶
const ( Config_ListDeployments_FullMethodName = "/google.cloud.config.v1.Config/ListDeployments" Config_GetDeployment_FullMethodName = "/google.cloud.config.v1.Config/GetDeployment" Config_CreateDeployment_FullMethodName = "/google.cloud.config.v1.Config/CreateDeployment" Config_UpdateDeployment_FullMethodName = "/google.cloud.config.v1.Config/UpdateDeployment" Config_DeleteDeployment_FullMethodName = "/google.cloud.config.v1.Config/DeleteDeployment" Config_ListRevisions_FullMethodName = "/google.cloud.config.v1.Config/ListRevisions" Config_GetRevision_FullMethodName = "/google.cloud.config.v1.Config/GetRevision" Config_GetResource_FullMethodName = "/google.cloud.config.v1.Config/GetResource" Config_ListResources_FullMethodName = "/google.cloud.config.v1.Config/ListResources" Config_ExportDeploymentStatefile_FullMethodName = "/google.cloud.config.v1.Config/ExportDeploymentStatefile" Config_ExportRevisionStatefile_FullMethodName = "/google.cloud.config.v1.Config/ExportRevisionStatefile" Config_ImportStatefile_FullMethodName = "/google.cloud.config.v1.Config/ImportStatefile" Config_DeleteStatefile_FullMethodName = "/google.cloud.config.v1.Config/DeleteStatefile" Config_LockDeployment_FullMethodName = "/google.cloud.config.v1.Config/LockDeployment" Config_UnlockDeployment_FullMethodName = "/google.cloud.config.v1.Config/UnlockDeployment" Config_ExportLockInfo_FullMethodName = "/google.cloud.config.v1.Config/ExportLockInfo" Config_CreatePreview_FullMethodName = "/google.cloud.config.v1.Config/CreatePreview" Config_GetPreview_FullMethodName = "/google.cloud.config.v1.Config/GetPreview" Config_ListPreviews_FullMethodName = "/google.cloud.config.v1.Config/ListPreviews" Config_DeletePreview_FullMethodName = "/google.cloud.config.v1.Config/DeletePreview" Config_ExportPreviewResult_FullMethodName = "/google.cloud.config.v1.Config/ExportPreviewResult" Config_ListTerraformVersions_FullMethodName = "/google.cloud.config.v1.Config/ListTerraformVersions" Config_GetTerraformVersion_FullMethodName = "/google.cloud.config.v1.Config/GetTerraformVersion" Config_ListResourceChanges_FullMethodName = "/google.cloud.config.v1.Config/ListResourceChanges" Config_GetResourceChange_FullMethodName = "/google.cloud.config.v1.Config/GetResourceChange" Config_ListResourceDrifts_FullMethodName = "/google.cloud.config.v1.Config/ListResourceDrifts" Config_GetResourceDrift_FullMethodName = "/google.cloud.config.v1.Config/GetResourceDrift" )
Variables ¶
var ( QuotaValidation_name = map[int32]string{ 0: "QUOTA_VALIDATION_UNSPECIFIED", 1: "ENABLED", 2: "ENFORCED", } QuotaValidation_value = map[string]int32{ "QUOTA_VALIDATION_UNSPECIFIED": 0, "ENABLED": 1, "ENFORCED": 2, } )
Enum value maps for QuotaValidation.
var ( Deployment_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "UPDATING", 4: "DELETING", 5: "FAILED", 6: "SUSPENDED", 7: "DELETED", } Deployment_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "UPDATING": 3, "DELETING": 4, "FAILED": 5, "SUSPENDED": 6, "DELETED": 7, } )
Enum value maps for Deployment_State.
var ( Deployment_ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "REVISION_FAILED", 3: "CLOUD_BUILD_PERMISSION_DENIED", 5: "DELETE_BUILD_API_FAILED", 6: "DELETE_BUILD_RUN_FAILED", 7: "BUCKET_CREATION_PERMISSION_DENIED", 8: "BUCKET_CREATION_FAILED", } Deployment_ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "REVISION_FAILED": 1, "CLOUD_BUILD_PERMISSION_DENIED": 3, "DELETE_BUILD_API_FAILED": 5, "DELETE_BUILD_RUN_FAILED": 6, "BUCKET_CREATION_PERMISSION_DENIED": 7, "BUCKET_CREATION_FAILED": 8, } )
Enum value maps for Deployment_ErrorCode.
var ( Deployment_LockState_name = map[int32]string{ 0: "LOCK_STATE_UNSPECIFIED", 1: "LOCKED", 2: "UNLOCKED", 3: "LOCKING", 4: "UNLOCKING", 5: "LOCK_FAILED", 6: "UNLOCK_FAILED", } Deployment_LockState_value = map[string]int32{ "LOCK_STATE_UNSPECIFIED": 0, "LOCKED": 1, "UNLOCKED": 2, "LOCKING": 3, "UNLOCKING": 4, "LOCK_FAILED": 5, "UNLOCK_FAILED": 6, } )
Enum value maps for Deployment_LockState.
var ( DeleteDeploymentRequest_DeletePolicy_name = map[int32]string{ 0: "DELETE_POLICY_UNSPECIFIED", 1: "DELETE", 2: "ABANDON", } DeleteDeploymentRequest_DeletePolicy_value = map[string]int32{ "DELETE_POLICY_UNSPECIFIED": 0, "DELETE": 1, "ABANDON": 2, } )
Enum value maps for DeleteDeploymentRequest_DeletePolicy.
var ( Revision_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "CREATE", 2: "UPDATE", 3: "DELETE", } Revision_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, } )
Enum value maps for Revision_Action.
var ( Revision_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "APPLYING", 2: "APPLIED", 3: "FAILED", } Revision_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "APPLYING": 1, "APPLIED": 2, "FAILED": 3, } )
Enum value maps for Revision_State.
var ( Revision_ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "CLOUD_BUILD_PERMISSION_DENIED", 4: "APPLY_BUILD_API_FAILED", 5: "APPLY_BUILD_RUN_FAILED", 7: "QUOTA_VALIDATION_FAILED", } Revision_ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "CLOUD_BUILD_PERMISSION_DENIED": 1, "APPLY_BUILD_API_FAILED": 4, "APPLY_BUILD_RUN_FAILED": 5, "QUOTA_VALIDATION_FAILED": 7, } )
Enum value maps for Revision_ErrorCode.
var ( DeploymentOperationMetadata_DeploymentStep_name = map[int32]string{ 0: "DEPLOYMENT_STEP_UNSPECIFIED", 1: "PREPARING_STORAGE_BUCKET", 2: "DOWNLOADING_BLUEPRINT", 3: "RUNNING_TF_INIT", 4: "RUNNING_TF_PLAN", 5: "RUNNING_TF_APPLY", 6: "RUNNING_TF_DESTROY", 7: "RUNNING_TF_VALIDATE", 8: "UNLOCKING_DEPLOYMENT", 9: "SUCCEEDED", 10: "FAILED", 11: "VALIDATING_REPOSITORY", 12: "RUNNING_QUOTA_VALIDATION", } DeploymentOperationMetadata_DeploymentStep_value = map[string]int32{ "DEPLOYMENT_STEP_UNSPECIFIED": 0, "PREPARING_STORAGE_BUCKET": 1, "DOWNLOADING_BLUEPRINT": 2, "RUNNING_TF_INIT": 3, "RUNNING_TF_PLAN": 4, "RUNNING_TF_APPLY": 5, "RUNNING_TF_DESTROY": 6, "RUNNING_TF_VALIDATE": 7, "UNLOCKING_DEPLOYMENT": 8, "SUCCEEDED": 9, "FAILED": 10, "VALIDATING_REPOSITORY": 11, "RUNNING_QUOTA_VALIDATION": 12, } )
Enum value maps for DeploymentOperationMetadata_DeploymentStep.
var ( Resource_Intent_name = map[int32]string{ 0: "INTENT_UNSPECIFIED", 1: "CREATE", 2: "UPDATE", 3: "DELETE", 4: "RECREATE", 5: "UNCHANGED", } Resource_Intent_value = map[string]int32{ "INTENT_UNSPECIFIED": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, "RECREATE": 4, "UNCHANGED": 5, } )
Enum value maps for Resource_Intent.
var ( Resource_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PLANNED", 2: "IN_PROGRESS", 3: "RECONCILED", 4: "FAILED", } Resource_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PLANNED": 1, "IN_PROGRESS": 2, "RECONCILED": 3, "FAILED": 4, } )
Enum value maps for Resource_State.
var ( Preview_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "SUCCEEDED", 3: "APPLYING", 4: "STALE", 5: "DELETING", 6: "FAILED", 7: "DELETED", } Preview_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "SUCCEEDED": 2, "APPLYING": 3, "STALE": 4, "DELETING": 5, "FAILED": 6, "DELETED": 7, } )
Enum value maps for Preview_State.
var ( Preview_PreviewMode_name = map[int32]string{ 0: "PREVIEW_MODE_UNSPECIFIED", 1: "DEFAULT", 2: "DELETE", } Preview_PreviewMode_value = map[string]int32{ "PREVIEW_MODE_UNSPECIFIED": 0, "DEFAULT": 1, "DELETE": 2, } )
Enum value maps for Preview_PreviewMode.
var ( Preview_ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "CLOUD_BUILD_PERMISSION_DENIED", 2: "BUCKET_CREATION_PERMISSION_DENIED", 3: "BUCKET_CREATION_FAILED", 4: "DEPLOYMENT_LOCK_ACQUIRE_FAILED", 5: "PREVIEW_BUILD_API_FAILED", 6: "PREVIEW_BUILD_RUN_FAILED", } Preview_ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "CLOUD_BUILD_PERMISSION_DENIED": 1, "BUCKET_CREATION_PERMISSION_DENIED": 2, "BUCKET_CREATION_FAILED": 3, "DEPLOYMENT_LOCK_ACQUIRE_FAILED": 4, "PREVIEW_BUILD_API_FAILED": 5, "PREVIEW_BUILD_RUN_FAILED": 6, } )
Enum value maps for Preview_ErrorCode.
var ( PreviewOperationMetadata_PreviewStep_name = map[int32]string{ 0: "PREVIEW_STEP_UNSPECIFIED", 1: "PREPARING_STORAGE_BUCKET", 2: "DOWNLOADING_BLUEPRINT", 3: "RUNNING_TF_INIT", 4: "RUNNING_TF_PLAN", 5: "FETCHING_DEPLOYMENT", 6: "LOCKING_DEPLOYMENT", 7: "UNLOCKING_DEPLOYMENT", 8: "SUCCEEDED", 9: "FAILED", 10: "VALIDATING_REPOSITORY", } PreviewOperationMetadata_PreviewStep_value = map[string]int32{ "PREVIEW_STEP_UNSPECIFIED": 0, "PREPARING_STORAGE_BUCKET": 1, "DOWNLOADING_BLUEPRINT": 2, "RUNNING_TF_INIT": 3, "RUNNING_TF_PLAN": 4, "FETCHING_DEPLOYMENT": 5, "LOCKING_DEPLOYMENT": 6, "UNLOCKING_DEPLOYMENT": 7, "SUCCEEDED": 8, "FAILED": 9, "VALIDATING_REPOSITORY": 10, } )
Enum value maps for PreviewOperationMetadata_PreviewStep.
var ( TerraformVersion_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DEPRECATED", 3: "OBSOLETE", } TerraformVersion_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DEPRECATED": 2, "OBSOLETE": 3, } )
Enum value maps for TerraformVersion_State.
var ( ResourceChange_Intent_name = map[int32]string{ 0: "INTENT_UNSPECIFIED", 1: "CREATE", 2: "UPDATE", 3: "DELETE", 4: "RECREATE", 5: "UNCHANGED", } ResourceChange_Intent_value = map[string]int32{ "INTENT_UNSPECIFIED": 0, "CREATE": 1, "UPDATE": 2, "DELETE": 3, "RECREATE": 4, "UNCHANGED": 5, } )
Enum value maps for ResourceChange_Intent.
var ( ProviderConfig_ProviderSource_name = map[int32]string{ 0: "PROVIDER_SOURCE_UNSPECIFIED", 1: "SERVICE_MAINTAINED", } ProviderConfig_ProviderSource_value = map[string]int32{ "PROVIDER_SOURCE_UNSPECIFIED": 0, "SERVICE_MAINTAINED": 1, } )
Enum value maps for ProviderConfig_ProviderSource.
var Config_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.config.v1.Config", HandlerType: (*ConfigServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListDeployments", Handler: _Config_ListDeployments_Handler, }, { MethodName: "GetDeployment", Handler: _Config_GetDeployment_Handler, }, { MethodName: "CreateDeployment", Handler: _Config_CreateDeployment_Handler, }, { MethodName: "UpdateDeployment", Handler: _Config_UpdateDeployment_Handler, }, { MethodName: "DeleteDeployment", Handler: _Config_DeleteDeployment_Handler, }, { MethodName: "ListRevisions", Handler: _Config_ListRevisions_Handler, }, { MethodName: "GetRevision", Handler: _Config_GetRevision_Handler, }, { MethodName: "GetResource", Handler: _Config_GetResource_Handler, }, { MethodName: "ListResources", Handler: _Config_ListResources_Handler, }, { MethodName: "ExportDeploymentStatefile", Handler: _Config_ExportDeploymentStatefile_Handler, }, { MethodName: "ExportRevisionStatefile", Handler: _Config_ExportRevisionStatefile_Handler, }, { MethodName: "ImportStatefile", Handler: _Config_ImportStatefile_Handler, }, { MethodName: "DeleteStatefile", Handler: _Config_DeleteStatefile_Handler, }, { MethodName: "LockDeployment", Handler: _Config_LockDeployment_Handler, }, { MethodName: "UnlockDeployment", Handler: _Config_UnlockDeployment_Handler, }, { MethodName: "ExportLockInfo", Handler: _Config_ExportLockInfo_Handler, }, { MethodName: "CreatePreview", Handler: _Config_CreatePreview_Handler, }, { MethodName: "GetPreview", Handler: _Config_GetPreview_Handler, }, { MethodName: "ListPreviews", Handler: _Config_ListPreviews_Handler, }, { MethodName: "DeletePreview", Handler: _Config_DeletePreview_Handler, }, { MethodName: "ExportPreviewResult", Handler: _Config_ExportPreviewResult_Handler, }, { MethodName: "ListTerraformVersions", Handler: _Config_ListTerraformVersions_Handler, }, { MethodName: "GetTerraformVersion", Handler: _Config_GetTerraformVersion_Handler, }, { MethodName: "ListResourceChanges", Handler: _Config_ListResourceChanges_Handler, }, { MethodName: "GetResourceChange", Handler: _Config_GetResourceChange_Handler, }, { MethodName: "ListResourceDrifts", Handler: _Config_ListResourceDrifts_Handler, }, { MethodName: "GetResourceDrift", Handler: _Config_GetResourceDrift_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/config/v1/config.proto", }
Config_ServiceDesc is the grpc.ServiceDesc for Config service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_google_cloud_config_v1_config_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConfigServer ¶
func RegisterConfigServer(s grpc.ServiceRegistrar, srv ConfigServer)
Types ¶
type ApplyResults ¶
type ApplyResults struct {
// Location of a blueprint copy and other manifests in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// Location of artifacts (e.g. logs) in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`
Artifacts string `protobuf:"bytes,2,opt,name=artifacts,proto3" json:"artifacts,omitempty"`
// Map of output name to output info.
Outputs map[string]*TerraformOutput `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
Outputs and artifacts from applying a deployment.
func (*ApplyResults) Descriptor
deprecated
func (*ApplyResults) Descriptor() ([]byte, []int)
Deprecated: Use ApplyResults.ProtoReflect.Descriptor instead.
func (*ApplyResults) GetArtifacts ¶
func (x *ApplyResults) GetArtifacts() string
func (*ApplyResults) GetContent ¶
func (x *ApplyResults) GetContent() string
func (*ApplyResults) GetOutputs ¶
func (x *ApplyResults) GetOutputs() map[string]*TerraformOutput
func (*ApplyResults) ProtoMessage ¶
func (*ApplyResults) ProtoMessage()
func (*ApplyResults) ProtoReflect ¶
func (x *ApplyResults) ProtoReflect() protoreflect.Message
func (*ApplyResults) Reset ¶
func (x *ApplyResults) Reset()
func (*ApplyResults) String ¶
func (x *ApplyResults) String() string
type ConfigClient ¶
type ConfigClient interface {
// Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
// and location.
ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
// Gets details about a [Deployment][google.cloud.config.v1.Deployment].
GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
// Creates a [Deployment][google.cloud.config.v1.Deployment].
CreateDeployment(ctx context.Context, in *CreateDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a [Deployment][google.cloud.config.v1.Deployment].
UpdateDeployment(ctx context.Context, in *UpdateDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a [Deployment][google.cloud.config.v1.Deployment].
DeleteDeployment(ctx context.Context, in *DeleteDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error)
// Gets details about a [Revision][google.cloud.config.v1.Revision].
GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error)
// Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
// by Infra Manager.
GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*Resource, error)
// Lists [Resources][google.cloud.config.v1.Resource] in a given revision.
ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
// Exports Terraform state file from a given deployment.
ExportDeploymentStatefile(ctx context.Context, in *ExportDeploymentStatefileRequest, opts ...grpc.CallOption) (*Statefile, error)
// Exports Terraform state file from a given revision.
ExportRevisionStatefile(ctx context.Context, in *ExportRevisionStatefileRequest, opts ...grpc.CallOption) (*Statefile, error)
// Imports Terraform state file in a given deployment. The state file does not
// take effect until the Deployment has been unlocked.
ImportStatefile(ctx context.Context, in *ImportStatefileRequest, opts ...grpc.CallOption) (*Statefile, error)
// Deletes Terraform state file in a given deployment.
DeleteStatefile(ctx context.Context, in *DeleteStatefileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Locks a deployment.
LockDeployment(ctx context.Context, in *LockDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Unlocks a locked deployment.
UnlockDeployment(ctx context.Context, in *UnlockDeploymentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Exports the lock info on a locked deployment.
ExportLockInfo(ctx context.Context, in *ExportLockInfoRequest, opts ...grpc.CallOption) (*LockInfo, error)
// Creates a [Preview][google.cloud.config.v1.Preview].
CreatePreview(ctx context.Context, in *CreatePreviewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details about a [Preview][google.cloud.config.v1.Preview].
GetPreview(ctx context.Context, in *GetPreviewRequest, opts ...grpc.CallOption) (*Preview, error)
// Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
// location.
ListPreviews(ctx context.Context, in *ListPreviewsRequest, opts ...grpc.CallOption) (*ListPreviewsResponse, error)
// Deletes a [Preview][google.cloud.config.v1.Preview].
DeletePreview(ctx context.Context, in *DeletePreviewRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Export [Preview][google.cloud.config.v1.Preview] results.
ExportPreviewResult(ctx context.Context, in *ExportPreviewResultRequest, opts ...grpc.CallOption) (*ExportPreviewResultResponse, error)
// Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
// given project and location.
ListTerraformVersions(ctx context.Context, in *ListTerraformVersionsRequest, opts ...grpc.CallOption) (*ListTerraformVersionsResponse, error)
// Gets details about a
// [TerraformVersion][google.cloud.config.v1.TerraformVersion].
GetTerraformVersion(ctx context.Context, in *GetTerraformVersionRequest, opts ...grpc.CallOption) (*TerraformVersion, error)
// Lists ResourceChanges for a given preview.
ListResourceChanges(ctx context.Context, in *ListResourceChangesRequest, opts ...grpc.CallOption) (*ListResourceChangesResponse, error)
// Get a ResourceChange for a given preview.
GetResourceChange(ctx context.Context, in *GetResourceChangeRequest, opts ...grpc.CallOption) (*ResourceChange, error)
// List ResourceDrifts for a given preview.
ListResourceDrifts(ctx context.Context, in *ListResourceDriftsRequest, opts ...grpc.CallOption) (*ListResourceDriftsResponse, error)
// Get a ResourceDrift for a given preview.
GetResourceDrift(ctx context.Context, in *GetResourceDriftRequest, opts ...grpc.CallOption) (*ResourceDrift, error)
}
ConfigClient is the client API for Config service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConfigClient ¶
func NewConfigClient(cc grpc.ClientConnInterface) ConfigClient
type ConfigServer ¶
type ConfigServer interface {
// Lists [Deployment][google.cloud.config.v1.Deployment]s in a given project
// and location.
ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
// Gets details about a [Deployment][google.cloud.config.v1.Deployment].
GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
// Creates a [Deployment][google.cloud.config.v1.Deployment].
CreateDeployment(context.Context, *CreateDeploymentRequest) (*longrunningpb.Operation, error)
// Updates a [Deployment][google.cloud.config.v1.Deployment].
UpdateDeployment(context.Context, *UpdateDeploymentRequest) (*longrunningpb.Operation, error)
// Deletes a [Deployment][google.cloud.config.v1.Deployment].
DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*longrunningpb.Operation, error)
// Lists [Revision][google.cloud.config.v1.Revision]s of a deployment.
ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
// Gets details about a [Revision][google.cloud.config.v1.Revision].
GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
// Gets details about a [Resource][google.cloud.config.v1.Resource] deployed
// by Infra Manager.
GetResource(context.Context, *GetResourceRequest) (*Resource, error)
// Lists [Resources][google.cloud.config.v1.Resource] in a given revision.
ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
// Exports Terraform state file from a given deployment.
ExportDeploymentStatefile(context.Context, *ExportDeploymentStatefileRequest) (*Statefile, error)
// Exports Terraform state file from a given revision.
ExportRevisionStatefile(context.Context, *ExportRevisionStatefileRequest) (*Statefile, error)
// Imports Terraform state file in a given deployment. The state file does not
// take effect until the Deployment has been unlocked.
ImportStatefile(context.Context, *ImportStatefileRequest) (*Statefile, error)
// Deletes Terraform state file in a given deployment.
DeleteStatefile(context.Context, *DeleteStatefileRequest) (*emptypb.Empty, error)
// Locks a deployment.
LockDeployment(context.Context, *LockDeploymentRequest) (*longrunningpb.Operation, error)
// Unlocks a locked deployment.
UnlockDeployment(context.Context, *UnlockDeploymentRequest) (*longrunningpb.Operation, error)
// Exports the lock info on a locked deployment.
ExportLockInfo(context.Context, *ExportLockInfoRequest) (*LockInfo, error)
// Creates a [Preview][google.cloud.config.v1.Preview].
CreatePreview(context.Context, *CreatePreviewRequest) (*longrunningpb.Operation, error)
// Gets details about a [Preview][google.cloud.config.v1.Preview].
GetPreview(context.Context, *GetPreviewRequest) (*Preview, error)
// Lists [Preview][google.cloud.config.v1.Preview]s in a given project and
// location.
ListPreviews(context.Context, *ListPreviewsRequest) (*ListPreviewsResponse, error)
// Deletes a [Preview][google.cloud.config.v1.Preview].
DeletePreview(context.Context, *DeletePreviewRequest) (*longrunningpb.Operation, error)
// Export [Preview][google.cloud.config.v1.Preview] results.
ExportPreviewResult(context.Context, *ExportPreviewResultRequest) (*ExportPreviewResultResponse, error)
// Lists [TerraformVersion][google.cloud.config.v1.TerraformVersion]s in a
// given project and location.
ListTerraformVersions(context.Context, *ListTerraformVersionsRequest) (*ListTerraformVersionsResponse, error)
// Gets details about a
// [TerraformVersion][google.cloud.config.v1.TerraformVersion].
GetTerraformVersion(context.Context, *GetTerraformVersionRequest) (*TerraformVersion, error)
// Lists ResourceChanges for a given preview.
ListResourceChanges(context.Context, *ListResourceChangesRequest) (*ListResourceChangesResponse, error)
// Get a ResourceChange for a given preview.
GetResourceChange(context.Context, *GetResourceChangeRequest) (*ResourceChange, error)
// List ResourceDrifts for a given preview.
ListResourceDrifts(context.Context, *ListResourceDriftsRequest) (*ListResourceDriftsResponse, error)
// Get a ResourceDrift for a given preview.
GetResourceDrift(context.Context, *GetResourceDriftRequest) (*ResourceDrift, error)
}
ConfigServer is the server API for Config service. All implementations should embed UnimplementedConfigServer for forward compatibility
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct {
// Required. The parent in whose context the Deployment is created. The parent
// value is in the format: 'projects/{project_id}/locations/{location}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The Deployment ID.
DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
// Required. [Deployment][google.cloud.config.v1.Deployment] resource to be
// created.
Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDeploymentRequest) Descriptor
deprecated
func (*CreateDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDeploymentRequest.ProtoReflect.Descriptor instead.
func (*CreateDeploymentRequest) GetDeployment ¶
func (x *CreateDeploymentRequest) GetDeployment() *Deployment
func (*CreateDeploymentRequest) GetDeploymentId ¶
func (x *CreateDeploymentRequest) GetDeploymentId() string
func (*CreateDeploymentRequest) GetParent ¶
func (x *CreateDeploymentRequest) GetParent() string
func (*CreateDeploymentRequest) GetRequestId ¶
func (x *CreateDeploymentRequest) GetRequestId() string
func (*CreateDeploymentRequest) ProtoMessage ¶
func (*CreateDeploymentRequest) ProtoMessage()
func (*CreateDeploymentRequest) ProtoReflect ¶
func (x *CreateDeploymentRequest) ProtoReflect() protoreflect.Message
func (*CreateDeploymentRequest) Reset ¶
func (x *CreateDeploymentRequest) Reset()
func (*CreateDeploymentRequest) String ¶
func (x *CreateDeploymentRequest) String() string
type CreatePreviewRequest ¶ added in v0.2.0
type CreatePreviewRequest struct {
// Required. The parent in whose context the Preview is created. The parent
// value is in the format: 'projects/{project_id}/locations/{location}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The preview ID.
PreviewId string `protobuf:"bytes,2,opt,name=preview_id,json=previewId,proto3" json:"preview_id,omitempty"`
// Required. [Preview][google.cloud.config.v1.Preview] resource to be created.
Preview *Preview `protobuf:"bytes,3,opt,name=preview,proto3" json:"preview,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
A request to create a preview.
func (*CreatePreviewRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreatePreviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePreviewRequest.ProtoReflect.Descriptor instead.
func (*CreatePreviewRequest) GetParent ¶ added in v0.2.0
func (x *CreatePreviewRequest) GetParent() string
func (*CreatePreviewRequest) GetPreview ¶ added in v0.2.0
func (x *CreatePreviewRequest) GetPreview() *Preview
func (*CreatePreviewRequest) GetPreviewId ¶ added in v0.2.0
func (x *CreatePreviewRequest) GetPreviewId() string
func (*CreatePreviewRequest) GetRequestId ¶ added in v0.2.0
func (x *CreatePreviewRequest) GetRequestId() string
func (*CreatePreviewRequest) ProtoMessage ¶ added in v0.2.0
func (*CreatePreviewRequest) ProtoMessage()
func (*CreatePreviewRequest) ProtoReflect ¶ added in v0.2.0
func (x *CreatePreviewRequest) ProtoReflect() protoreflect.Message
func (*CreatePreviewRequest) Reset ¶ added in v0.2.0
func (x *CreatePreviewRequest) Reset()
func (*CreatePreviewRequest) String ¶ added in v0.2.0
func (x *CreatePreviewRequest) String() string
type DeleteDeploymentRequest ¶
type DeleteDeploymentRequest struct {
// Required. The name of the Deployment in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, any revisions for this deployment will also be
// deleted. (Otherwise, the request will only work if the deployment has no
// revisions.)
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// Optional. Policy on how resources actuated by the deployment should be
// deleted. If unspecified, the default behavior is to delete the underlying
// resources.
DeletePolicy DeleteDeploymentRequest_DeletePolicy `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*DeleteDeploymentRequest) Descriptor
deprecated
func (*DeleteDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeploymentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeploymentRequest) GetDeletePolicy ¶
func (x *DeleteDeploymentRequest) GetDeletePolicy() DeleteDeploymentRequest_DeletePolicy
func (*DeleteDeploymentRequest) GetForce ¶
func (x *DeleteDeploymentRequest) GetForce() bool
func (*DeleteDeploymentRequest) GetName ¶
func (x *DeleteDeploymentRequest) GetName() string
func (*DeleteDeploymentRequest) GetRequestId ¶
func (x *DeleteDeploymentRequest) GetRequestId() string
func (*DeleteDeploymentRequest) ProtoMessage ¶
func (*DeleteDeploymentRequest) ProtoMessage()
func (*DeleteDeploymentRequest) ProtoReflect ¶
func (x *DeleteDeploymentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeploymentRequest) Reset ¶
func (x *DeleteDeploymentRequest) Reset()
func (*DeleteDeploymentRequest) String ¶
func (x *DeleteDeploymentRequest) String() string
type DeleteDeploymentRequest_DeletePolicy ¶
type DeleteDeploymentRequest_DeletePolicy int32
Policy on how resources actuated by the deployment should be deleted.
const ( // Unspecified policy, resources will be deleted. DeleteDeploymentRequest_DELETE_POLICY_UNSPECIFIED DeleteDeploymentRequest_DeletePolicy = 0 // Deletes resources actuated by the deployment. DeleteDeploymentRequest_DELETE DeleteDeploymentRequest_DeletePolicy = 1 // Abandons resources and only deletes the deployment and its metadata. DeleteDeploymentRequest_ABANDON DeleteDeploymentRequest_DeletePolicy = 2 )
func (DeleteDeploymentRequest_DeletePolicy) Descriptor ¶
func (DeleteDeploymentRequest_DeletePolicy) Descriptor() protoreflect.EnumDescriptor
func (DeleteDeploymentRequest_DeletePolicy) Enum ¶
func (x DeleteDeploymentRequest_DeletePolicy) Enum() *DeleteDeploymentRequest_DeletePolicy
func (DeleteDeploymentRequest_DeletePolicy) EnumDescriptor
deprecated
func (DeleteDeploymentRequest_DeletePolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeleteDeploymentRequest_DeletePolicy.Descriptor instead.
func (DeleteDeploymentRequest_DeletePolicy) Number ¶
func (x DeleteDeploymentRequest_DeletePolicy) Number() protoreflect.EnumNumber
func (DeleteDeploymentRequest_DeletePolicy) String ¶
func (x DeleteDeploymentRequest_DeletePolicy) String() string
func (DeleteDeploymentRequest_DeletePolicy) Type ¶
func (DeleteDeploymentRequest_DeletePolicy) Type() protoreflect.EnumType
type DeletePreviewRequest ¶ added in v0.2.0
type DeletePreviewRequest struct {
// Required. The name of the Preview in the format:
// 'projects/{project_id}/locations/{location}/previews/{preview}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
A request to delete a preview.
func (*DeletePreviewRequest) Descriptor
deprecated
added in
v0.2.0
func (*DeletePreviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePreviewRequest.ProtoReflect.Descriptor instead.
func (*DeletePreviewRequest) GetName ¶ added in v0.2.0
func (x *DeletePreviewRequest) GetName() string
func (*DeletePreviewRequest) GetRequestId ¶ added in v0.2.0
func (x *DeletePreviewRequest) GetRequestId() string
func (*DeletePreviewRequest) ProtoMessage ¶ added in v0.2.0
func (*DeletePreviewRequest) ProtoMessage()
func (*DeletePreviewRequest) ProtoReflect ¶ added in v0.2.0
func (x *DeletePreviewRequest) ProtoReflect() protoreflect.Message
func (*DeletePreviewRequest) Reset ¶ added in v0.2.0
func (x *DeletePreviewRequest) Reset()
func (*DeletePreviewRequest) String ¶ added in v0.2.0
func (x *DeletePreviewRequest) String() string
type DeleteStatefileRequest ¶
type DeleteStatefileRequest struct {
// Required. The name of the deployment in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Lock ID of the lock file to verify that the user who is deleting
// the state file previously locked the Deployment.
LockId int64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
// contains filtered or unexported fields
}
A request to delete a state file passed to a 'DeleteStatefile' call.
func (*DeleteStatefileRequest) Descriptor
deprecated
func (*DeleteStatefileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteStatefileRequest.ProtoReflect.Descriptor instead.
func (*DeleteStatefileRequest) GetLockId ¶
func (x *DeleteStatefileRequest) GetLockId() int64
func (*DeleteStatefileRequest) GetName ¶
func (x *DeleteStatefileRequest) GetName() string
func (*DeleteStatefileRequest) ProtoMessage ¶
func (*DeleteStatefileRequest) ProtoMessage()
func (*DeleteStatefileRequest) ProtoReflect ¶
func (x *DeleteStatefileRequest) ProtoReflect() protoreflect.Message
func (*DeleteStatefileRequest) Reset ¶
func (x *DeleteStatefileRequest) Reset()
func (*DeleteStatefileRequest) String ¶
func (x *DeleteStatefileRequest) String() string
type Deployment ¶
type Deployment struct {
// Blueprint to deploy.
//
// Types that are assignable to Blueprint:
//
// *Deployment_TerraformBlueprint
Blueprint isDeployment_Blueprint `protobuf_oneof:"blueprint"`
// Identifier. Resource name of the deployment.
// Format: `projects/{project}/locations/{location}/deployments/{deployment}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the deployment was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the deployment was last modified.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. User-defined metadata for the deployment.
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. Current state of the deployment.
State Deployment_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.config.v1.Deployment_State" json:"state,omitempty"`
// Output only. Revision name that was most recently applied.
// Format: `projects/{project}/locations/{location}/deployments/{deployment}/
// revisions/{revision}`
LatestRevision string `protobuf:"bytes,7,opt,name=latest_revision,json=latestRevision,proto3" json:"latest_revision,omitempty"`
// Output only. Additional information regarding the current state.
StateDetail string `protobuf:"bytes,9,opt,name=state_detail,json=stateDetail,proto3" json:"state_detail,omitempty"`
// Output only. Error code describing errors that may have occurred.
ErrorCode Deployment_ErrorCode `` /* 139-byte string literal not displayed */
// Output only. Location of artifacts from a DeleteDeployment operation.
DeleteResults *ApplyResults `protobuf:"bytes,8,opt,name=delete_results,json=deleteResults,proto3" json:"delete_results,omitempty"`
// Output only. Cloud Build instance UUID associated with deleting this
// deployment.
DeleteBuild string `protobuf:"bytes,11,opt,name=delete_build,json=deleteBuild,proto3" json:"delete_build,omitempty"`
// Output only. Location of Cloud Build logs in Google Cloud Storage,
// populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
DeleteLogs string `protobuf:"bytes,12,opt,name=delete_logs,json=deleteLogs,proto3" json:"delete_logs,omitempty"`
// Output only. Errors encountered when deleting this deployment.
// Errors are truncated to 10 entries, see `delete_results` and `error_logs`
// for full details.
TfErrors []*TerraformError `protobuf:"bytes,13,rep,name=tf_errors,json=tfErrors,proto3" json:"tf_errors,omitempty"`
// Output only. Location of Terraform error logs in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`.
ErrorLogs string `protobuf:"bytes,14,opt,name=error_logs,json=errorLogs,proto3" json:"error_logs,omitempty"`
// Optional. User-defined location of Cloud Build logs and artifacts in Google
// Cloud Storage. Format: `gs://{bucket}/{folder}`
//
// A default bucket will be bootstrapped if the field is not set or empty.
// Default bucket format: `gs://<project number>-<region>-blueprint-config`
// Constraints:
// - The bucket needs to be in the same project as the deployment
// - The path cannot be within the path of `gcs_source`
// - The field cannot be updated, including changing its presence
ArtifactsGcsBucket *string `protobuf:"bytes,15,opt,name=artifacts_gcs_bucket,json=artifactsGcsBucket,proto3,oneof" json:"artifacts_gcs_bucket,omitempty"`
// Required. User-specified Service Account (SA) credentials to be used when
// actuating resources.
// Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
ServiceAccount *string `protobuf:"bytes,16,opt,name=service_account,json=serviceAccount,proto3,oneof" json:"service_account,omitempty"`
// By default, Infra Manager will return a failure when
// Terraform encounters a 409 code (resource conflict error) during actuation.
// If this flag is set to true, Infra Manager will instead
// attempt to automatically import the resource into the Terraform state (for
// supported resource types) and continue actuation.
//
// Not all resource types are supported, refer to documentation.
ImportExistingResources *bool `` /* 140-byte string literal not displayed */
// Optional. The user-specified Cloud Build worker pool resource in which the
// Cloud Build job will execute. Format:
// `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
// If this field is unspecified, the default Cloud Build worker pool will be
// used.
WorkerPool *string `protobuf:"bytes,19,opt,name=worker_pool,json=workerPool,proto3,oneof" json:"worker_pool,omitempty"`
// Output only. Current lock state of the deployment.
LockState Deployment_LockState `` /* 139-byte string literal not displayed */
// Optional. The user-specified Terraform version constraint.
// Example: "=1.3.10".
TfVersionConstraint *string `` /* 127-byte string literal not displayed */
// Output only. The current Terraform version set on the deployment.
// It is in the format of "Major.Minor.Patch", for example, "1.3.10".
TfVersion string `protobuf:"bytes,22,opt,name=tf_version,json=tfVersion,proto3" json:"tf_version,omitempty"`
// Optional. Input to control quota checks for resources in terraform
// configuration files. There are limited resources on which quota validation
// applies.
QuotaValidation QuotaValidation `` /* 152-byte string literal not displayed */
// Optional. Arbitrary key-value metadata storage e.g. to help client tools
// identify deployments during automation. See
// https://google.aip.dev/148#annotations for details on format and size
// limitations.
Annotations map[string]string `` /* 164-byte string literal not displayed */
// Optional. This field specifies the provider configurations.
ProviderConfig *ProviderConfig `protobuf:"bytes,25,opt,name=provider_config,json=providerConfig,proto3" json:"provider_config,omitempty"`
// contains filtered or unexported fields
}
A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetAnnotations ¶ added in v0.4.0
func (x *Deployment) GetAnnotations() map[string]string
func (*Deployment) GetArtifactsGcsBucket ¶
func (x *Deployment) GetArtifactsGcsBucket() string
func (*Deployment) GetBlueprint ¶
func (m *Deployment) GetBlueprint() isDeployment_Blueprint
func (*Deployment) GetCreateTime ¶
func (x *Deployment) GetCreateTime() *timestamppb.Timestamp
func (*Deployment) GetDeleteBuild ¶
func (x *Deployment) GetDeleteBuild() string
func (*Deployment) GetDeleteLogs ¶
func (x *Deployment) GetDeleteLogs() string
func (*Deployment) GetDeleteResults ¶
func (x *Deployment) GetDeleteResults() *ApplyResults
func (*Deployment) GetErrorCode ¶
func (x *Deployment) GetErrorCode() Deployment_ErrorCode
func (*Deployment) GetErrorLogs ¶
func (x *Deployment) GetErrorLogs() string
func (*Deployment) GetImportExistingResources ¶
func (x *Deployment) GetImportExistingResources() bool
func (*Deployment) GetLabels ¶
func (x *Deployment) GetLabels() map[string]string
func (*Deployment) GetLatestRevision ¶
func (x *Deployment) GetLatestRevision() string
func (*Deployment) GetLockState ¶
func (x *Deployment) GetLockState() Deployment_LockState
func (*Deployment) GetName ¶
func (x *Deployment) GetName() string
func (*Deployment) GetProviderConfig ¶ added in v1.5.0
func (x *Deployment) GetProviderConfig() *ProviderConfig
func (*Deployment) GetQuotaValidation ¶ added in v0.3.0
func (x *Deployment) GetQuotaValidation() QuotaValidation
func (*Deployment) GetServiceAccount ¶
func (x *Deployment) GetServiceAccount() string
func (*Deployment) GetState ¶
func (x *Deployment) GetState() Deployment_State
func (*Deployment) GetStateDetail ¶
func (x *Deployment) GetStateDetail() string
func (*Deployment) GetTerraformBlueprint ¶
func (x *Deployment) GetTerraformBlueprint() *TerraformBlueprint
func (*Deployment) GetTfErrors ¶
func (x *Deployment) GetTfErrors() []*TerraformError
func (*Deployment) GetTfVersion ¶ added in v0.3.0
func (x *Deployment) GetTfVersion() string
func (*Deployment) GetTfVersionConstraint ¶ added in v0.3.0
func (x *Deployment) GetTfVersionConstraint() string
func (*Deployment) GetUpdateTime ¶
func (x *Deployment) GetUpdateTime() *timestamppb.Timestamp
func (*Deployment) GetWorkerPool ¶
func (x *Deployment) GetWorkerPool() string
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type DeploymentOperationMetadata ¶
type DeploymentOperationMetadata struct {
// The current step the deployment operation is running.
Step DeploymentOperationMetadata_DeploymentStep `` /* 133-byte string literal not displayed */
// Outputs and artifacts from applying a deployment.
ApplyResults *ApplyResults `protobuf:"bytes,2,opt,name=apply_results,json=applyResults,proto3" json:"apply_results,omitempty"`
// Output only. Cloud Build instance UUID associated with this operation.
Build string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
// Output only. Location of Deployment operations logs in
// `gs://{bucket}/{object}` format.
Logs string `protobuf:"bytes,4,opt,name=logs,proto3" json:"logs,omitempty"`
// contains filtered or unexported fields
}
Ephemeral metadata content describing the state of a deployment operation.
func (*DeploymentOperationMetadata) Descriptor
deprecated
func (*DeploymentOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeploymentOperationMetadata.ProtoReflect.Descriptor instead.
func (*DeploymentOperationMetadata) GetApplyResults ¶
func (x *DeploymentOperationMetadata) GetApplyResults() *ApplyResults
func (*DeploymentOperationMetadata) GetBuild ¶
func (x *DeploymentOperationMetadata) GetBuild() string
func (*DeploymentOperationMetadata) GetLogs ¶
func (x *DeploymentOperationMetadata) GetLogs() string
func (*DeploymentOperationMetadata) GetStep ¶
func (x *DeploymentOperationMetadata) GetStep() DeploymentOperationMetadata_DeploymentStep
func (*DeploymentOperationMetadata) ProtoMessage ¶
func (*DeploymentOperationMetadata) ProtoMessage()
func (*DeploymentOperationMetadata) ProtoReflect ¶
func (x *DeploymentOperationMetadata) ProtoReflect() protoreflect.Message
func (*DeploymentOperationMetadata) Reset ¶
func (x *DeploymentOperationMetadata) Reset()
func (*DeploymentOperationMetadata) String ¶
func (x *DeploymentOperationMetadata) String() string
type DeploymentOperationMetadata_DeploymentStep ¶
type DeploymentOperationMetadata_DeploymentStep int32
The possible steps a deployment may be running.
const ( // Unspecified deployment step DeploymentOperationMetadata_DEPLOYMENT_STEP_UNSPECIFIED DeploymentOperationMetadata_DeploymentStep = 0 // Infra Manager is creating a Google Cloud Storage bucket to store // artifacts and metadata about the deployment and revision DeploymentOperationMetadata_PREPARING_STORAGE_BUCKET DeploymentOperationMetadata_DeploymentStep = 1 // Downloading the blueprint onto the Google Cloud Storage bucket DeploymentOperationMetadata_DOWNLOADING_BLUEPRINT DeploymentOperationMetadata_DeploymentStep = 2 // Initializing Terraform using `terraform init` DeploymentOperationMetadata_RUNNING_TF_INIT DeploymentOperationMetadata_DeploymentStep = 3 // Running `terraform plan` DeploymentOperationMetadata_RUNNING_TF_PLAN DeploymentOperationMetadata_DeploymentStep = 4 // Actuating resources using Terraform using `terraform apply` DeploymentOperationMetadata_RUNNING_TF_APPLY DeploymentOperationMetadata_DeploymentStep = 5 // Destroying resources using Terraform using `terraform destroy` DeploymentOperationMetadata_RUNNING_TF_DESTROY DeploymentOperationMetadata_DeploymentStep = 6 // Validating the uploaded TF state file when unlocking a deployment DeploymentOperationMetadata_RUNNING_TF_VALIDATE DeploymentOperationMetadata_DeploymentStep = 7 // Unlocking a deployment DeploymentOperationMetadata_UNLOCKING_DEPLOYMENT DeploymentOperationMetadata_DeploymentStep = 8 // Operation was successful DeploymentOperationMetadata_SUCCEEDED DeploymentOperationMetadata_DeploymentStep = 9 // Operation failed DeploymentOperationMetadata_FAILED DeploymentOperationMetadata_DeploymentStep = 10 // Validating the provided repository. DeploymentOperationMetadata_VALIDATING_REPOSITORY DeploymentOperationMetadata_DeploymentStep = 11 // Running quota validation DeploymentOperationMetadata_RUNNING_QUOTA_VALIDATION DeploymentOperationMetadata_DeploymentStep = 12 )
func (DeploymentOperationMetadata_DeploymentStep) Descriptor ¶
func (DeploymentOperationMetadata_DeploymentStep) Descriptor() protoreflect.EnumDescriptor
func (DeploymentOperationMetadata_DeploymentStep) EnumDescriptor
deprecated
func (DeploymentOperationMetadata_DeploymentStep) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeploymentOperationMetadata_DeploymentStep.Descriptor instead.
func (DeploymentOperationMetadata_DeploymentStep) Number ¶
func (x DeploymentOperationMetadata_DeploymentStep) Number() protoreflect.EnumNumber
func (DeploymentOperationMetadata_DeploymentStep) String ¶
func (x DeploymentOperationMetadata_DeploymentStep) String() string
func (DeploymentOperationMetadata_DeploymentStep) Type ¶
func (DeploymentOperationMetadata_DeploymentStep) Type() protoreflect.EnumType
type Deployment_ErrorCode ¶
type Deployment_ErrorCode int32
Possible errors that can occur with deployments.
const ( // No error code was specified. Deployment_ERROR_CODE_UNSPECIFIED Deployment_ErrorCode = 0 // The revision failed. See Revision for more details. Deployment_REVISION_FAILED Deployment_ErrorCode = 1 // Cloud Build failed due to a permission issue. Deployment_CLOUD_BUILD_PERMISSION_DENIED Deployment_ErrorCode = 3 // Cloud Build job associated with a deployment deletion could not be // started. Deployment_DELETE_BUILD_API_FAILED Deployment_ErrorCode = 5 // Cloud Build job associated with a deployment deletion was started but // failed. Deployment_DELETE_BUILD_RUN_FAILED Deployment_ErrorCode = 6 // Cloud Storage bucket creation failed due to a permission issue. Deployment_BUCKET_CREATION_PERMISSION_DENIED Deployment_ErrorCode = 7 // Cloud Storage bucket creation failed due to an issue unrelated to // permissions. Deployment_BUCKET_CREATION_FAILED Deployment_ErrorCode = 8 )
func (Deployment_ErrorCode) Descriptor ¶
func (Deployment_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (Deployment_ErrorCode) Enum ¶
func (x Deployment_ErrorCode) Enum() *Deployment_ErrorCode
func (Deployment_ErrorCode) EnumDescriptor
deprecated
func (Deployment_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deployment_ErrorCode.Descriptor instead.
func (Deployment_ErrorCode) Number ¶
func (x Deployment_ErrorCode) Number() protoreflect.EnumNumber
func (Deployment_ErrorCode) String ¶
func (x Deployment_ErrorCode) String() string
func (Deployment_ErrorCode) Type ¶
func (Deployment_ErrorCode) Type() protoreflect.EnumType
type Deployment_LockState ¶
type Deployment_LockState int32
Possible lock states of a deployment.
const ( // The default value. This value is used if the lock state is omitted. Deployment_LOCK_STATE_UNSPECIFIED Deployment_LockState = 0 // The deployment is locked. Deployment_LOCKED Deployment_LockState = 1 // The deployment is unlocked. Deployment_UNLOCKED Deployment_LockState = 2 // The deployment is being locked. Deployment_LOCKING Deployment_LockState = 3 // The deployment is being unlocked. Deployment_UNLOCKING Deployment_LockState = 4 // The deployment has failed to lock. Deployment_LOCK_FAILED Deployment_LockState = 5 // The deployment has failed to unlock. Deployment_UNLOCK_FAILED Deployment_LockState = 6 )
func (Deployment_LockState) Descriptor ¶
func (Deployment_LockState) Descriptor() protoreflect.EnumDescriptor
func (Deployment_LockState) Enum ¶
func (x Deployment_LockState) Enum() *Deployment_LockState
func (Deployment_LockState) EnumDescriptor
deprecated
func (Deployment_LockState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deployment_LockState.Descriptor instead.
func (Deployment_LockState) Number ¶
func (x Deployment_LockState) Number() protoreflect.EnumNumber
func (Deployment_LockState) String ¶
func (x Deployment_LockState) String() string
func (Deployment_LockState) Type ¶
func (Deployment_LockState) Type() protoreflect.EnumType
type Deployment_State ¶
type Deployment_State int32
Possible states of a deployment.
const ( // The default value. This value is used if the state is omitted. Deployment_STATE_UNSPECIFIED Deployment_State = 0 // The deployment is being created. Deployment_CREATING Deployment_State = 1 // The deployment is healthy. Deployment_ACTIVE Deployment_State = 2 // The deployment is being updated. Deployment_UPDATING Deployment_State = 3 // The deployment is being deleted. Deployment_DELETING Deployment_State = 4 // The deployment has encountered an unexpected error. Deployment_FAILED Deployment_State = 5 // The deployment is no longer being actively reconciled. // This may be the result of recovering the project after deletion. Deployment_SUSPENDED Deployment_State = 6 // The deployment has been deleted. Deployment_DELETED Deployment_State = 7 )
func (Deployment_State) Descriptor ¶
func (Deployment_State) Descriptor() protoreflect.EnumDescriptor
func (Deployment_State) Enum ¶
func (x Deployment_State) Enum() *Deployment_State
func (Deployment_State) EnumDescriptor
deprecated
func (Deployment_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deployment_State.Descriptor instead.
func (Deployment_State) Number ¶
func (x Deployment_State) Number() protoreflect.EnumNumber
func (Deployment_State) String ¶
func (x Deployment_State) String() string
func (Deployment_State) Type ¶
func (Deployment_State) Type() protoreflect.EnumType
type Deployment_TerraformBlueprint ¶
type Deployment_TerraformBlueprint struct {
// A blueprint described using Terraform's HashiCorp Configuration Language
// as a root module.
TerraformBlueprint *TerraformBlueprint `protobuf:"bytes,6,opt,name=terraform_blueprint,json=terraformBlueprint,proto3,oneof"`
}
type ExportDeploymentStatefileRequest ¶
type ExportDeploymentStatefileRequest struct {
// Required. The parent in whose context the statefile is listed. The parent
// value is in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. If this flag is set to true, the exported deployment state file
// will be the draft state. This will enable the draft file to be validated
// before copying it over to the working state on unlock.
Draft bool `protobuf:"varint,3,opt,name=draft,proto3" json:"draft,omitempty"`
// contains filtered or unexported fields
}
A request to export a state file passed to a 'ExportDeploymentStatefile' call.
func (*ExportDeploymentStatefileRequest) Descriptor
deprecated
func (*ExportDeploymentStatefileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportDeploymentStatefileRequest.ProtoReflect.Descriptor instead.
func (*ExportDeploymentStatefileRequest) GetDraft ¶
func (x *ExportDeploymentStatefileRequest) GetDraft() bool
func (*ExportDeploymentStatefileRequest) GetParent ¶
func (x *ExportDeploymentStatefileRequest) GetParent() string
func (*ExportDeploymentStatefileRequest) ProtoMessage ¶
func (*ExportDeploymentStatefileRequest) ProtoMessage()
func (*ExportDeploymentStatefileRequest) ProtoReflect ¶
func (x *ExportDeploymentStatefileRequest) ProtoReflect() protoreflect.Message
func (*ExportDeploymentStatefileRequest) Reset ¶
func (x *ExportDeploymentStatefileRequest) Reset()
func (*ExportDeploymentStatefileRequest) String ¶
func (x *ExportDeploymentStatefileRequest) String() string
type ExportLockInfoRequest ¶
type ExportLockInfoRequest struct {
// Required. The name of the deployment in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get a state file lock info passed to a 'ExportLockInfo' call.
func (*ExportLockInfoRequest) Descriptor
deprecated
func (*ExportLockInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportLockInfoRequest.ProtoReflect.Descriptor instead.
func (*ExportLockInfoRequest) GetName ¶
func (x *ExportLockInfoRequest) GetName() string
func (*ExportLockInfoRequest) ProtoMessage ¶
func (*ExportLockInfoRequest) ProtoMessage()
func (*ExportLockInfoRequest) ProtoReflect ¶
func (x *ExportLockInfoRequest) ProtoReflect() protoreflect.Message
func (*ExportLockInfoRequest) Reset ¶
func (x *ExportLockInfoRequest) Reset()
func (*ExportLockInfoRequest) String ¶
func (x *ExportLockInfoRequest) String() string
type ExportPreviewResultRequest ¶ added in v0.2.0
type ExportPreviewResultRequest struct {
// Required. The preview whose results should be exported. The preview value
// is in the format:
// 'projects/{project_id}/locations/{location}/previews/{preview}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
A request to export preview results.
func (*ExportPreviewResultRequest) Descriptor
deprecated
added in
v0.2.0
func (*ExportPreviewResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportPreviewResultRequest.ProtoReflect.Descriptor instead.
func (*ExportPreviewResultRequest) GetParent ¶ added in v0.2.0
func (x *ExportPreviewResultRequest) GetParent() string
func (*ExportPreviewResultRequest) ProtoMessage ¶ added in v0.2.0
func (*ExportPreviewResultRequest) ProtoMessage()
func (*ExportPreviewResultRequest) ProtoReflect ¶ added in v0.2.0
func (x *ExportPreviewResultRequest) ProtoReflect() protoreflect.Message
func (*ExportPreviewResultRequest) Reset ¶ added in v0.2.0
func (x *ExportPreviewResultRequest) Reset()
func (*ExportPreviewResultRequest) String ¶ added in v0.2.0
func (x *ExportPreviewResultRequest) String() string
type ExportPreviewResultResponse ¶ added in v0.2.0
type ExportPreviewResultResponse struct {
// Output only. Signed URLs for accessing the plan files.
Result *PreviewResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
A response to `ExportPreviewResult` call. Contains preview results.
func (*ExportPreviewResultResponse) Descriptor
deprecated
added in
v0.2.0
func (*ExportPreviewResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportPreviewResultResponse.ProtoReflect.Descriptor instead.
func (*ExportPreviewResultResponse) GetResult ¶ added in v0.2.0
func (x *ExportPreviewResultResponse) GetResult() *PreviewResult
func (*ExportPreviewResultResponse) ProtoMessage ¶ added in v0.2.0
func (*ExportPreviewResultResponse) ProtoMessage()
func (*ExportPreviewResultResponse) ProtoReflect ¶ added in v0.2.0
func (x *ExportPreviewResultResponse) ProtoReflect() protoreflect.Message
func (*ExportPreviewResultResponse) Reset ¶ added in v0.2.0
func (x *ExportPreviewResultResponse) Reset()
func (*ExportPreviewResultResponse) String ¶ added in v0.2.0
func (x *ExportPreviewResultResponse) String() string
type ExportRevisionStatefileRequest ¶
type ExportRevisionStatefileRequest struct {
// Required. The parent in whose context the statefile is listed. The parent
// value is in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
A request to export a state file passed to a 'ExportRevisionStatefile' call.
func (*ExportRevisionStatefileRequest) Descriptor
deprecated
func (*ExportRevisionStatefileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRevisionStatefileRequest.ProtoReflect.Descriptor instead.
func (*ExportRevisionStatefileRequest) GetParent ¶
func (x *ExportRevisionStatefileRequest) GetParent() string
func (*ExportRevisionStatefileRequest) ProtoMessage ¶
func (*ExportRevisionStatefileRequest) ProtoMessage()
func (*ExportRevisionStatefileRequest) ProtoReflect ¶
func (x *ExportRevisionStatefileRequest) ProtoReflect() protoreflect.Message
func (*ExportRevisionStatefileRequest) Reset ¶
func (x *ExportRevisionStatefileRequest) Reset()
func (*ExportRevisionStatefileRequest) String ¶
func (x *ExportRevisionStatefileRequest) String() string
type GetDeploymentRequest ¶
type GetDeploymentRequest struct {
// Required. The name of the deployment. Format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetDeploymentRequest) Descriptor
deprecated
func (*GetDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentRequest) GetName ¶
func (x *GetDeploymentRequest) GetName() string
func (*GetDeploymentRequest) ProtoMessage ¶
func (*GetDeploymentRequest) ProtoMessage()
func (*GetDeploymentRequest) ProtoReflect ¶
func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentRequest) Reset ¶
func (x *GetDeploymentRequest) Reset()
func (*GetDeploymentRequest) String ¶
func (x *GetDeploymentRequest) String() string
type GetPreviewRequest ¶ added in v0.2.0
type GetPreviewRequest struct {
// Required. The name of the preview. Format:
// 'projects/{project_id}/locations/{location}/previews/{preview}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get details about a preview.
func (*GetPreviewRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetPreviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPreviewRequest.ProtoReflect.Descriptor instead.
func (*GetPreviewRequest) GetName ¶ added in v0.2.0
func (x *GetPreviewRequest) GetName() string
func (*GetPreviewRequest) ProtoMessage ¶ added in v0.2.0
func (*GetPreviewRequest) ProtoMessage()
func (*GetPreviewRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetPreviewRequest) ProtoReflect() protoreflect.Message
func (*GetPreviewRequest) Reset ¶ added in v0.2.0
func (x *GetPreviewRequest) Reset()
func (*GetPreviewRequest) String ¶ added in v0.2.0
func (x *GetPreviewRequest) String() string
type GetResourceChangeRequest ¶ added in v1.4.0
type GetResourceChangeRequest struct {
// Required. The name of the resource change to retrieve.
// Format:
// 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message for the GetResourceChange method.
func (*GetResourceChangeRequest) Descriptor
deprecated
added in
v1.4.0
func (*GetResourceChangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceChangeRequest.ProtoReflect.Descriptor instead.
func (*GetResourceChangeRequest) GetName ¶ added in v1.4.0
func (x *GetResourceChangeRequest) GetName() string
func (*GetResourceChangeRequest) ProtoMessage ¶ added in v1.4.0
func (*GetResourceChangeRequest) ProtoMessage()
func (*GetResourceChangeRequest) ProtoReflect ¶ added in v1.4.0
func (x *GetResourceChangeRequest) ProtoReflect() protoreflect.Message
func (*GetResourceChangeRequest) Reset ¶ added in v1.4.0
func (x *GetResourceChangeRequest) Reset()
func (*GetResourceChangeRequest) String ¶ added in v1.4.0
func (x *GetResourceChangeRequest) String() string
type GetResourceDriftRequest ¶ added in v1.4.0
type GetResourceDriftRequest struct {
// Required. The name of the resource drift to retrieve.
// Format:
// 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message for the GetResourceDrift method.
func (*GetResourceDriftRequest) Descriptor
deprecated
added in
v1.4.0
func (*GetResourceDriftRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceDriftRequest.ProtoReflect.Descriptor instead.
func (*GetResourceDriftRequest) GetName ¶ added in v1.4.0
func (x *GetResourceDriftRequest) GetName() string
func (*GetResourceDriftRequest) ProtoMessage ¶ added in v1.4.0
func (*GetResourceDriftRequest) ProtoMessage()
func (*GetResourceDriftRequest) ProtoReflect ¶ added in v1.4.0
func (x *GetResourceDriftRequest) ProtoReflect() protoreflect.Message
func (*GetResourceDriftRequest) Reset ¶ added in v1.4.0
func (x *GetResourceDriftRequest) Reset()
func (*GetResourceDriftRequest) String ¶ added in v1.4.0
func (x *GetResourceDriftRequest) String() string
type GetResourceRequest ¶
type GetResourceRequest struct {
// Required. The name of the Resource in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get a Resource from a 'GetResource' call.
func (*GetResourceRequest) Descriptor
deprecated
func (*GetResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.
func (*GetResourceRequest) GetName ¶
func (x *GetResourceRequest) GetName() string
func (*GetResourceRequest) ProtoMessage ¶
func (*GetResourceRequest) ProtoMessage()
func (*GetResourceRequest) ProtoReflect ¶
func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
func (*GetResourceRequest) Reset ¶
func (x *GetResourceRequest) Reset()
func (*GetResourceRequest) String ¶
func (x *GetResourceRequest) String() string
type GetRevisionRequest ¶
type GetRevisionRequest struct {
// Required. The name of the Revision in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to get a Revision from a 'GetRevision' call.
func (*GetRevisionRequest) Descriptor
deprecated
func (*GetRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetRevisionRequest) GetName ¶
func (x *GetRevisionRequest) GetName() string
func (*GetRevisionRequest) ProtoMessage ¶
func (*GetRevisionRequest) ProtoMessage()
func (*GetRevisionRequest) ProtoReflect ¶
func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
func (*GetRevisionRequest) Reset ¶
func (x *GetRevisionRequest) Reset()
func (*GetRevisionRequest) String ¶
func (x *GetRevisionRequest) String() string
type GetTerraformVersionRequest ¶ added in v0.3.0
type GetTerraformVersionRequest struct {
// Required. The name of the TerraformVersion. Format:
// 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request message for the GetTerraformVersion method.
func (*GetTerraformVersionRequest) Descriptor
deprecated
added in
v0.3.0
func (*GetTerraformVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTerraformVersionRequest.ProtoReflect.Descriptor instead.
func (*GetTerraformVersionRequest) GetName ¶ added in v0.3.0
func (x *GetTerraformVersionRequest) GetName() string
func (*GetTerraformVersionRequest) ProtoMessage ¶ added in v0.3.0
func (*GetTerraformVersionRequest) ProtoMessage()
func (*GetTerraformVersionRequest) ProtoReflect ¶ added in v0.3.0
func (x *GetTerraformVersionRequest) ProtoReflect() protoreflect.Message
func (*GetTerraformVersionRequest) Reset ¶ added in v0.3.0
func (x *GetTerraformVersionRequest) Reset()
func (*GetTerraformVersionRequest) String ¶ added in v0.3.0
func (x *GetTerraformVersionRequest) String() string
type GitSource ¶
type GitSource struct {
// Optional. Repository URL.
// Example: 'https://github.com/kubernetes/examples.git'
Repo *string `protobuf:"bytes,1,opt,name=repo,proto3,oneof" json:"repo,omitempty"`
// Optional. Subdirectory inside the repository.
// Example: 'staging/my-package'
Directory *string `protobuf:"bytes,2,opt,name=directory,proto3,oneof" json:"directory,omitempty"`
// Optional. Git reference (e.g. branch or tag).
Ref *string `protobuf:"bytes,3,opt,name=ref,proto3,oneof" json:"ref,omitempty"`
// contains filtered or unexported fields
}
A set of files in a Git repository.
func (*GitSource) Descriptor
deprecated
func (*GitSource) GetDirectory ¶
func (*GitSource) ProtoMessage ¶
func (*GitSource) ProtoMessage()
func (*GitSource) ProtoReflect ¶
func (x *GitSource) ProtoReflect() protoreflect.Message
type ImportStatefileRequest ¶
type ImportStatefileRequest struct {
// Required. The parent in whose context the statefile is listed. The parent
// value is in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Lock ID of the lock file to verify that the user who is importing
// the state file previously locked the Deployment.
LockId int64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
// Optional.
SkipDraft bool `protobuf:"varint,3,opt,name=skip_draft,json=skipDraft,proto3" json:"skip_draft,omitempty"`
// contains filtered or unexported fields
}
A request to import a state file passed to a 'ImportStatefile' call.
func (*ImportStatefileRequest) Descriptor
deprecated
func (*ImportStatefileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportStatefileRequest.ProtoReflect.Descriptor instead.
func (*ImportStatefileRequest) GetLockId ¶
func (x *ImportStatefileRequest) GetLockId() int64
func (*ImportStatefileRequest) GetParent ¶
func (x *ImportStatefileRequest) GetParent() string
func (*ImportStatefileRequest) GetSkipDraft ¶
func (x *ImportStatefileRequest) GetSkipDraft() bool
func (*ImportStatefileRequest) ProtoMessage ¶
func (*ImportStatefileRequest) ProtoMessage()
func (*ImportStatefileRequest) ProtoReflect ¶
func (x *ImportStatefileRequest) ProtoReflect() protoreflect.Message
func (*ImportStatefileRequest) Reset ¶
func (x *ImportStatefileRequest) Reset()
func (*ImportStatefileRequest) String ¶
func (x *ImportStatefileRequest) String() string
type ListDeploymentsRequest ¶
type ListDeploymentsRequest struct {
// Required. The parent in whose context the Deployments are listed. The
// parent value is in the format:
// 'projects/{project_id}/locations/{location}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// When requesting a page of resources, 'page_size' specifies number of
// resources to return. If unspecified, at most 500 will be returned. The
// maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token returned by previous call to 'ListDeployments' which specifies the
// position in the list from where to continue listing the resources.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Lists the Deployments that match the filter expression. A filter
// expression filters the resources listed in the response. The expression
// must be of the form '{field} {operator} {value}' where operators: '<', '>',
// '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
// operator which is roughly synonymous with equality). {field} can refer to a
// proto or JSON field, or a synthetic field. Field names can be camelCase or
// snake_case.
//
// Examples:
// - Filter by name:
// name = "projects/foo/locations/us-central1/deployments/bar
//
// - Filter by labels:
// - Resources that have a key called 'foo'
// labels.foo:*
// - Resources that have a key called 'foo' whose value is 'bar'
// labels.foo = bar
//
// - Filter by state:
// - Deployments in CREATING state.
// state=CREATING
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeploymentsRequest) Descriptor
deprecated
func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListDeploymentsRequest) GetFilter ¶
func (x *ListDeploymentsRequest) GetFilter() string
func (*ListDeploymentsRequest) GetOrderBy ¶
func (x *ListDeploymentsRequest) GetOrderBy() string
func (*ListDeploymentsRequest) GetPageSize ¶
func (x *ListDeploymentsRequest) GetPageSize() int32
func (*ListDeploymentsRequest) GetPageToken ¶
func (x *ListDeploymentsRequest) GetPageToken() string
func (*ListDeploymentsRequest) GetParent ¶
func (x *ListDeploymentsRequest) GetParent() string
func (*ListDeploymentsRequest) ProtoMessage ¶
func (*ListDeploymentsRequest) ProtoMessage()
func (*ListDeploymentsRequest) ProtoReflect ¶
func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
func (*ListDeploymentsRequest) Reset ¶
func (x *ListDeploymentsRequest) Reset()
func (*ListDeploymentsRequest) String ¶
func (x *ListDeploymentsRequest) String() string
type ListDeploymentsResponse ¶
type ListDeploymentsResponse struct {
// List of [Deployment][google.cloud.config.v1.Deployment]s.
Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
// Token to be supplied to the next ListDeployments request via `page_token`
// to obtain the next set of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
func (*ListDeploymentsResponse) Descriptor
deprecated
func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListDeploymentsResponse) GetDeployments ¶
func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
func (*ListDeploymentsResponse) GetNextPageToken ¶
func (x *ListDeploymentsResponse) GetNextPageToken() string
func (*ListDeploymentsResponse) GetUnreachable ¶
func (x *ListDeploymentsResponse) GetUnreachable() []string
func (*ListDeploymentsResponse) ProtoMessage ¶
func (*ListDeploymentsResponse) ProtoMessage()
func (*ListDeploymentsResponse) ProtoReflect ¶
func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
func (*ListDeploymentsResponse) Reset ¶
func (x *ListDeploymentsResponse) Reset()
func (*ListDeploymentsResponse) String ¶
func (x *ListDeploymentsResponse) String() string
type ListPreviewsRequest ¶ added in v0.2.0
type ListPreviewsRequest struct {
// Required. The parent in whose context the Previews are listed. The parent
// value is in the format: 'projects/{project_id}/locations/{location}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. When requesting a page of resources, 'page_size' specifies number
// of resources to return. If unspecified, at most 500 will be returned. The
// maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Token returned by previous call to 'ListDeployments' which
// specifies the position in the list from where to continue listing the
// resources.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Lists the Deployments that match the filter expression. A filter
// expression filters the resources listed in the response. The expression
// must be of the form '{field} {operator} {value}' where operators: '<', '>',
// '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
// operator which is roughly synonymous with equality). {field} can refer to a
// proto or JSON field, or a synthetic field. Field names can be camelCase or
// snake_case.
//
// Examples:
// - Filter by name:
// name = "projects/foo/locations/us-central1/deployments/bar
//
// - Filter by labels:
// - Resources that have a key called 'foo'
// labels.foo:*
// - Resources that have a key called 'foo' whose value is 'bar'
// labels.foo = bar
//
// - Filter by state:
// - Deployments in CREATING state.
// state=CREATING
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
A request to list all previews for a given project and location.
func (*ListPreviewsRequest) Descriptor
deprecated
added in
v0.2.0
func (*ListPreviewsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPreviewsRequest.ProtoReflect.Descriptor instead.
func (*ListPreviewsRequest) GetFilter ¶ added in v0.2.0
func (x *ListPreviewsRequest) GetFilter() string
func (*ListPreviewsRequest) GetOrderBy ¶ added in v0.2.0
func (x *ListPreviewsRequest) GetOrderBy() string
func (*ListPreviewsRequest) GetPageSize ¶ added in v0.2.0
func (x *ListPreviewsRequest) GetPageSize() int32
func (*ListPreviewsRequest) GetPageToken ¶ added in v0.2.0
func (x *ListPreviewsRequest) GetPageToken() string
func (*ListPreviewsRequest) GetParent ¶ added in v0.2.0
func (x *ListPreviewsRequest) GetParent() string
func (*ListPreviewsRequest) ProtoMessage ¶ added in v0.2.0
func (*ListPreviewsRequest) ProtoMessage()
func (*ListPreviewsRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListPreviewsRequest) ProtoReflect() protoreflect.Message
func (*ListPreviewsRequest) Reset ¶ added in v0.2.0
func (x *ListPreviewsRequest) Reset()
func (*ListPreviewsRequest) String ¶ added in v0.2.0
func (x *ListPreviewsRequest) String() string
type ListPreviewsResponse ¶ added in v0.2.0
type ListPreviewsResponse struct {
// List of [Previews][google.cloud.config.v1.Preview].
Previews []*Preview `protobuf:"bytes,1,rep,name=previews,proto3" json:"previews,omitempty"`
// Token to be supplied to the next ListPreviews request via `page_token`
// to obtain the next set of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
A response to a `ListPreviews` call. Contains a list of Previews.
func (*ListPreviewsResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListPreviewsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPreviewsResponse.ProtoReflect.Descriptor instead.
func (*ListPreviewsResponse) GetNextPageToken ¶ added in v0.2.0
func (x *ListPreviewsResponse) GetNextPageToken() string
func (*ListPreviewsResponse) GetPreviews ¶ added in v0.2.0
func (x *ListPreviewsResponse) GetPreviews() []*Preview
func (*ListPreviewsResponse) GetUnreachable ¶ added in v0.2.0
func (x *ListPreviewsResponse) GetUnreachable() []string
func (*ListPreviewsResponse) ProtoMessage ¶ added in v0.2.0
func (*ListPreviewsResponse) ProtoMessage()
func (*ListPreviewsResponse) ProtoReflect ¶ added in v0.2.0
func (x *ListPreviewsResponse) ProtoReflect() protoreflect.Message
func (*ListPreviewsResponse) Reset ¶ added in v0.2.0
func (x *ListPreviewsResponse) Reset()
func (*ListPreviewsResponse) String ¶ added in v0.2.0
func (x *ListPreviewsResponse) String() string
type ListResourceChangesRequest ¶ added in v1.4.0
type ListResourceChangesRequest struct {
// Required. The parent in whose context the ResourceChanges are listed. The
// parent value is in the format:
// 'projects/{project_id}/locations/{location}/previews/{preview}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. When requesting a page of resource changes, 'page_size' specifies
// number of resource changes to return. If unspecified, at most 500 will be
// returned. The maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Token returned by previous call to 'ListResourceChanges' which
// specifies the position in the list from where to continue listing the
// resource changes.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Lists the resource changes that match the filter expression. A
// filter expression filters the resource changes listed in the response. The
// expression must be of the form '{field} {operator} {value}' where
// operators: '<', '>',
// '<=',
// '>=',
// '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
// roughly synonymous with equality). {field} can refer to a proto or JSON
// field, or a synthetic field. Field names can be camelCase or snake_case.
//
// Examples:
// - Filter by name:
// name =
// "projects/foo/locations/us-central1/previews/dep/resourceChanges/baz
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request message for the ListResourceChanges method.
func (*ListResourceChangesRequest) Descriptor
deprecated
added in
v1.4.0
func (*ListResourceChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceChangesRequest.ProtoReflect.Descriptor instead.
func (*ListResourceChangesRequest) GetFilter ¶ added in v1.4.0
func (x *ListResourceChangesRequest) GetFilter() string
func (*ListResourceChangesRequest) GetOrderBy ¶ added in v1.4.0
func (x *ListResourceChangesRequest) GetOrderBy() string
func (*ListResourceChangesRequest) GetPageSize ¶ added in v1.4.0
func (x *ListResourceChangesRequest) GetPageSize() int32
func (*ListResourceChangesRequest) GetPageToken ¶ added in v1.4.0
func (x *ListResourceChangesRequest) GetPageToken() string
func (*ListResourceChangesRequest) GetParent ¶ added in v1.4.0
func (x *ListResourceChangesRequest) GetParent() string
func (*ListResourceChangesRequest) ProtoMessage ¶ added in v1.4.0
func (*ListResourceChangesRequest) ProtoMessage()
func (*ListResourceChangesRequest) ProtoReflect ¶ added in v1.4.0
func (x *ListResourceChangesRequest) ProtoReflect() protoreflect.Message
func (*ListResourceChangesRequest) Reset ¶ added in v1.4.0
func (x *ListResourceChangesRequest) Reset()
func (*ListResourceChangesRequest) String ¶ added in v1.4.0
func (x *ListResourceChangesRequest) String() string
type ListResourceChangesResponse ¶ added in v1.4.0
type ListResourceChangesResponse struct {
// List of ResourceChanges.
ResourceChanges []*ResourceChange `protobuf:"bytes,1,rep,name=resource_changes,json=resourceChanges,proto3" json:"resource_changes,omitempty"`
// A token to request the next page of resources from the
// 'ListResourceChanges' method. The value of an empty string means that
//
// there are no more resources to return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources, if any.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
A response to a 'ListResourceChanges' call. Contains a list of ResourceChanges.
func (*ListResourceChangesResponse) Descriptor
deprecated
added in
v1.4.0
func (*ListResourceChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceChangesResponse.ProtoReflect.Descriptor instead.
func (*ListResourceChangesResponse) GetNextPageToken ¶ added in v1.4.0
func (x *ListResourceChangesResponse) GetNextPageToken() string
func (*ListResourceChangesResponse) GetResourceChanges ¶ added in v1.4.0
func (x *ListResourceChangesResponse) GetResourceChanges() []*ResourceChange
func (*ListResourceChangesResponse) GetUnreachable ¶ added in v1.4.0
func (x *ListResourceChangesResponse) GetUnreachable() []string
func (*ListResourceChangesResponse) ProtoMessage ¶ added in v1.4.0
func (*ListResourceChangesResponse) ProtoMessage()
func (*ListResourceChangesResponse) ProtoReflect ¶ added in v1.4.0
func (x *ListResourceChangesResponse) ProtoReflect() protoreflect.Message
func (*ListResourceChangesResponse) Reset ¶ added in v1.4.0
func (x *ListResourceChangesResponse) Reset()
func (*ListResourceChangesResponse) String ¶ added in v1.4.0
func (x *ListResourceChangesResponse) String() string
type ListResourceDriftsRequest ¶ added in v1.4.0
type ListResourceDriftsRequest struct {
// Required. The parent in whose context the ResourceDrifts are listed. The
// parent value is in the format:
// 'projects/{project_id}/locations/{location}/previews/{preview}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. When requesting a page of resource drifts, 'page_size' specifies
// number of resource drifts to return. If unspecified, at most 500 will be
// returned. The maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Token returned by previous call to 'ListResourceDrifts' which
// specifies the position in the list from where to continue listing the
// resource drifts.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Lists the resource drifts that match the filter expression. A
// filter expression filters the resource drifts listed in the response. The
// expression must be of the form '{field} {operator} {value}' where
// operators: '<', '>',
// '<=',
// '>=',
// '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
// roughly synonymous with equality). {field} can refer to a proto or JSON
// field, or a synthetic field. Field names can be camelCase or snake_case.
//
// Examples:
// - Filter by name:
// name =
// "projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request message for the ListResourceDrifts method.
func (*ListResourceDriftsRequest) Descriptor
deprecated
added in
v1.4.0
func (*ListResourceDriftsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceDriftsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceDriftsRequest) GetFilter ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) GetFilter() string
func (*ListResourceDriftsRequest) GetOrderBy ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) GetOrderBy() string
func (*ListResourceDriftsRequest) GetPageSize ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) GetPageSize() int32
func (*ListResourceDriftsRequest) GetPageToken ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) GetPageToken() string
func (*ListResourceDriftsRequest) GetParent ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) GetParent() string
func (*ListResourceDriftsRequest) ProtoMessage ¶ added in v1.4.0
func (*ListResourceDriftsRequest) ProtoMessage()
func (*ListResourceDriftsRequest) ProtoReflect ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceDriftsRequest) Reset ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) Reset()
func (*ListResourceDriftsRequest) String ¶ added in v1.4.0
func (x *ListResourceDriftsRequest) String() string
type ListResourceDriftsResponse ¶ added in v1.4.0
type ListResourceDriftsResponse struct {
// List of ResourceDrifts.
ResourceDrifts []*ResourceDrift `protobuf:"bytes,1,rep,name=resource_drifts,json=resourceDrifts,proto3" json:"resource_drifts,omitempty"`
// A token to request the next page of resources from the
// 'ListResourceDrifts' method. The value of an empty string means that
// there are no more resources to return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources, if any.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
A response to a 'ListResourceDrifts' call. Contains a list of ResourceDrifts.
func (*ListResourceDriftsResponse) Descriptor
deprecated
added in
v1.4.0
func (*ListResourceDriftsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceDriftsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceDriftsResponse) GetNextPageToken ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) GetNextPageToken() string
func (*ListResourceDriftsResponse) GetResourceDrifts ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) GetResourceDrifts() []*ResourceDrift
func (*ListResourceDriftsResponse) GetUnreachable ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) GetUnreachable() []string
func (*ListResourceDriftsResponse) ProtoMessage ¶ added in v1.4.0
func (*ListResourceDriftsResponse) ProtoMessage()
func (*ListResourceDriftsResponse) ProtoReflect ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceDriftsResponse) Reset ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) Reset()
func (*ListResourceDriftsResponse) String ¶ added in v1.4.0
func (x *ListResourceDriftsResponse) String() string
type ListResourcesRequest ¶
type ListResourcesRequest struct {
// Required. The parent in whose context the Resources are listed. The parent
// value is in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// When requesting a page of resources, 'page_size' specifies number of
// resources to return. If unspecified, at most 500 will be returned. The
// maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token returned by previous call to 'ListResources' which specifies the
// position in the list from where to continue listing the resources.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Lists the Resources that match the filter expression. A filter
// expression filters the resources listed in the response. The expression
// must be of the form '{field} {operator} {value}' where operators: '<', '>',
// '<=',
// '>=',
// '!=', '=', ':' are supported (colon ':' represents a HAS operator which is
// roughly synonymous with equality). {field} can refer to a proto or JSON
// field, or a synthetic field. Field names can be camelCase or snake_case.
//
// Examples:
// - Filter by name:
// name =
// "projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
A request to list Resources passed to a 'ListResources' call.
func (*ListResourcesRequest) Descriptor
deprecated
func (*ListResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.
func (*ListResourcesRequest) GetFilter ¶
func (x *ListResourcesRequest) GetFilter() string
func (*ListResourcesRequest) GetOrderBy ¶
func (x *ListResourcesRequest) GetOrderBy() string
func (*ListResourcesRequest) GetPageSize ¶
func (x *ListResourcesRequest) GetPageSize() int32
func (*ListResourcesRequest) GetPageToken ¶
func (x *ListResourcesRequest) GetPageToken() string
func (*ListResourcesRequest) GetParent ¶
func (x *ListResourcesRequest) GetParent() string
func (*ListResourcesRequest) ProtoMessage ¶
func (*ListResourcesRequest) ProtoMessage()
func (*ListResourcesRequest) ProtoReflect ¶
func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
func (*ListResourcesRequest) Reset ¶
func (x *ListResourcesRequest) Reset()
func (*ListResourcesRequest) String ¶
func (x *ListResourcesRequest) String() string
type ListResourcesResponse ¶
type ListResourcesResponse struct {
// List of [Resources][google.cloud.config.v1.Resource].
Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
// A token to request the next page of resources from the 'ListResources'
// method. The value of an empty string means that there are no more resources
// to return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
A response to a 'ListResources' call. Contains a list of Resources.
func (*ListResourcesResponse) Descriptor
deprecated
func (*ListResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.
func (*ListResourcesResponse) GetNextPageToken ¶
func (x *ListResourcesResponse) GetNextPageToken() string
func (*ListResourcesResponse) GetResources ¶
func (x *ListResourcesResponse) GetResources() []*Resource
func (*ListResourcesResponse) GetUnreachable ¶
func (x *ListResourcesResponse) GetUnreachable() []string
func (*ListResourcesResponse) ProtoMessage ¶
func (*ListResourcesResponse) ProtoMessage()
func (*ListResourcesResponse) ProtoReflect ¶
func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
func (*ListResourcesResponse) Reset ¶
func (x *ListResourcesResponse) Reset()
func (*ListResourcesResponse) String ¶
func (x *ListResourcesResponse) String() string
type ListRevisionsRequest ¶
type ListRevisionsRequest struct {
// Required. The parent in whose context the Revisions are listed. The parent
// value is in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// When requesting a page of resources, `page_size` specifies number of
// resources to return. If unspecified, at most 500 will be returned. The
// maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Token returned by previous call to 'ListRevisions' which specifies the
// position in the list from where to continue listing the resources.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Lists the Revisions that match the filter expression. A filter
// expression filters the resources listed in the response. The expression
// must be of the form '{field} {operator} {value}' where operators: '<', '>',
// '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
// operator which is roughly synonymous with equality). {field} can refer to a
// proto or JSON field, or a synthetic field. Field names can be camelCase or
// snake_case.
//
// Examples:
// - Filter by name:
// name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar
//
// - Filter by labels:
// - Resources that have a key called 'foo'
// labels.foo:*
// - Resources that have a key called 'foo' whose value is 'bar'
// labels.foo = bar
//
// - Filter by state:
// - Revisions in CREATING state.
// state=CREATING
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
A request to list Revisions passed to a 'ListRevisions' call.
func (*ListRevisionsRequest) Descriptor
deprecated
func (*ListRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListRevisionsRequest) GetFilter ¶
func (x *ListRevisionsRequest) GetFilter() string
func (*ListRevisionsRequest) GetOrderBy ¶
func (x *ListRevisionsRequest) GetOrderBy() string
func (*ListRevisionsRequest) GetPageSize ¶
func (x *ListRevisionsRequest) GetPageSize() int32
func (*ListRevisionsRequest) GetPageToken ¶
func (x *ListRevisionsRequest) GetPageToken() string
func (*ListRevisionsRequest) GetParent ¶
func (x *ListRevisionsRequest) GetParent() string
func (*ListRevisionsRequest) ProtoMessage ¶
func (*ListRevisionsRequest) ProtoMessage()
func (*ListRevisionsRequest) ProtoReflect ¶
func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
func (*ListRevisionsRequest) Reset ¶
func (x *ListRevisionsRequest) Reset()
func (*ListRevisionsRequest) String ¶
func (x *ListRevisionsRequest) String() string
type ListRevisionsResponse ¶
type ListRevisionsResponse struct {
// List of [Revision][google.cloud.config.v1.Revision]s.
Revisions []*Revision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"`
// A token to request the next page of resources from the 'ListRevisions'
// method. The value of an empty string means that there are no more resources
// to return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
A response to a 'ListRevisions' call. Contains a list of Revisions.
func (*ListRevisionsResponse) Descriptor
deprecated
func (*ListRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListRevisionsResponse) GetNextPageToken ¶
func (x *ListRevisionsResponse) GetNextPageToken() string
func (*ListRevisionsResponse) GetRevisions ¶
func (x *ListRevisionsResponse) GetRevisions() []*Revision
func (*ListRevisionsResponse) GetUnreachable ¶
func (x *ListRevisionsResponse) GetUnreachable() []string
func (*ListRevisionsResponse) ProtoMessage ¶
func (*ListRevisionsResponse) ProtoMessage()
func (*ListRevisionsResponse) ProtoReflect ¶
func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
func (*ListRevisionsResponse) Reset ¶
func (x *ListRevisionsResponse) Reset()
func (*ListRevisionsResponse) String ¶
func (x *ListRevisionsResponse) String() string
type ListTerraformVersionsRequest ¶ added in v0.3.0
type ListTerraformVersionsRequest struct {
// Required. The parent in whose context the TerraformVersions are listed. The
// parent value is in the format:
// 'projects/{project_id}/locations/{location}'.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. When requesting a page of terraform versions, 'page_size'
// specifies number of terraform versions to return. If unspecified, at most
// 500 will be returned. The maximum value is 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. Token returned by previous call to 'ListTerraformVersions' which
// specifies the position in the list from where to continue listing the
// terraform versions.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Lists the TerraformVersions that match the filter expression. A
// filter expression filters the resources listed in the response. The
// expression must be of the form '{field} {operator} {value}' where
// operators: '<', '>',
// '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
// operator which is roughly synonymous with equality). {field} can refer to a
// proto or JSON field, or a synthetic field. Field names can be camelCase or
// snake_case.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to use to sort the list.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
The request message for the ListTerraformVersions method.
func (*ListTerraformVersionsRequest) Descriptor
deprecated
added in
v0.3.0
func (*ListTerraformVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTerraformVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListTerraformVersionsRequest) GetFilter ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) GetFilter() string
func (*ListTerraformVersionsRequest) GetOrderBy ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) GetOrderBy() string
func (*ListTerraformVersionsRequest) GetPageSize ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) GetPageSize() int32
func (*ListTerraformVersionsRequest) GetPageToken ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) GetPageToken() string
func (*ListTerraformVersionsRequest) GetParent ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) GetParent() string
func (*ListTerraformVersionsRequest) ProtoMessage ¶ added in v0.3.0
func (*ListTerraformVersionsRequest) ProtoMessage()
func (*ListTerraformVersionsRequest) ProtoReflect ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListTerraformVersionsRequest) Reset ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) Reset()
func (*ListTerraformVersionsRequest) String ¶ added in v0.3.0
func (x *ListTerraformVersionsRequest) String() string
type ListTerraformVersionsResponse ¶ added in v0.3.0
type ListTerraformVersionsResponse struct {
// List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s.
TerraformVersions []*TerraformVersion `protobuf:"bytes,1,rep,name=terraform_versions,json=terraformVersions,proto3" json:"terraform_versions,omitempty"`
// Token to be supplied to the next ListTerraformVersions request via
// `page_token` to obtain the next set of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unreachable resources, if any.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
The response message for the `ListTerraformVersions` method.
func (*ListTerraformVersionsResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListTerraformVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTerraformVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListTerraformVersionsResponse) GetNextPageToken ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) GetNextPageToken() string
func (*ListTerraformVersionsResponse) GetTerraformVersions ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) GetTerraformVersions() []*TerraformVersion
func (*ListTerraformVersionsResponse) GetUnreachable ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) GetUnreachable() []string
func (*ListTerraformVersionsResponse) ProtoMessage ¶ added in v0.3.0
func (*ListTerraformVersionsResponse) ProtoMessage()
func (*ListTerraformVersionsResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListTerraformVersionsResponse) Reset ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) Reset()
func (*ListTerraformVersionsResponse) String ¶ added in v0.3.0
func (x *ListTerraformVersionsResponse) String() string
type LockDeploymentRequest ¶
type LockDeploymentRequest struct {
// Required. The name of the deployment in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
A request to lock a deployment passed to a 'LockDeployment' call.
func (*LockDeploymentRequest) Descriptor
deprecated
func (*LockDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use LockDeploymentRequest.ProtoReflect.Descriptor instead.
func (*LockDeploymentRequest) GetName ¶
func (x *LockDeploymentRequest) GetName() string
func (*LockDeploymentRequest) ProtoMessage ¶
func (*LockDeploymentRequest) ProtoMessage()
func (*LockDeploymentRequest) ProtoReflect ¶
func (x *LockDeploymentRequest) ProtoReflect() protoreflect.Message
func (*LockDeploymentRequest) Reset ¶
func (x *LockDeploymentRequest) Reset()
func (*LockDeploymentRequest) String ¶
func (x *LockDeploymentRequest) String() string
type LockInfo ¶
type LockInfo struct {
// Unique ID for the lock to be overridden with generation ID in the backend.
LockId int64 `protobuf:"varint,1,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
// Terraform operation, provided by the caller.
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
// Extra information to store with the lock, provided by the caller.
Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
// user@hostname when available
Who string `protobuf:"bytes,4,opt,name=who,proto3" json:"who,omitempty"`
// Terraform version
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
// Time that the lock was taken.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
Details about the lock which locked the deployment.
func (*LockInfo) Descriptor
deprecated
func (*LockInfo) GetCreateTime ¶
func (x *LockInfo) GetCreateTime() *timestamppb.Timestamp
func (*LockInfo) GetOperation ¶
func (*LockInfo) GetVersion ¶
func (*LockInfo) ProtoMessage ¶
func (*LockInfo) ProtoMessage()
func (*LockInfo) ProtoReflect ¶
func (x *LockInfo) ProtoReflect() protoreflect.Message
type OperationMetadata ¶
type OperationMetadata struct {
// Ephemeral metadata about the state of an operation for a particular
// resource.
//
// Types that are assignable to ResourceMetadata:
//
// *OperationMetadata_DeploymentMetadata
// *OperationMetadata_PreviewMetadata
ResourceMetadata isOperationMetadata_ResourceMetadata `protobuf_oneof:"resource_metadata"`
// Output only. Time when the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation of the
// operation. Operations that have successfully been cancelled have
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetDeploymentMetadata ¶
func (x *OperationMetadata) GetDeploymentMetadata() *DeploymentOperationMetadata
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetPreviewMetadata ¶ added in v0.2.0
func (x *OperationMetadata) GetPreviewMetadata() *PreviewOperationMetadata
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetResourceMetadata ¶
func (m *OperationMetadata) GetResourceMetadata() isOperationMetadata_ResourceMetadata
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type OperationMetadata_DeploymentMetadata ¶
type OperationMetadata_DeploymentMetadata struct {
// Output only. Metadata about the deployment operation state.
DeploymentMetadata *DeploymentOperationMetadata `protobuf:"bytes,8,opt,name=deployment_metadata,json=deploymentMetadata,proto3,oneof"`
}
type OperationMetadata_PreviewMetadata ¶ added in v0.2.0
type OperationMetadata_PreviewMetadata struct {
// Output only. Metadata about the preview operation state.
PreviewMetadata *PreviewOperationMetadata `protobuf:"bytes,9,opt,name=preview_metadata,json=previewMetadata,proto3,oneof"`
}
type Preview ¶ added in v0.2.0
type Preview struct {
// Blueprint to preview.
//
// Types that are assignable to Blueprint:
//
// *Preview_TerraformBlueprint
Blueprint isPreview_Blueprint `protobuf_oneof:"blueprint"`
// Identifier. Resource name of the preview. Resource name can be user
// provided or server generated ID if unspecified. Format:
// `projects/{project}/locations/{location}/previews/{preview}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time the preview was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Optional. User-defined labels for the preview.
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. Current state of the preview.
State Preview_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.config.v1.Preview_State" json:"state,omitempty"`
// Optional. Optional deployment reference. If specified, the preview will be
// performed using the provided deployment's current state and use any
// relevant fields from the deployment unless explicitly specified in the
// preview create request.
Deployment string `protobuf:"bytes,5,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Optional. Current mode of preview.
PreviewMode Preview_PreviewMode `` /* 144-byte string literal not displayed */
// Required. User-specified Service Account (SA) credentials to be used when
// previewing resources.
// Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
ServiceAccount string `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Optional. User-defined location of Cloud Build logs, artifacts, and
// in Google Cloud Storage.
// Format: `gs://{bucket}/{folder}`
// A default bucket will be bootstrapped if the field is not set or empty
// Default Bucket Format: `gs://<project number>-<region>-blueprint-config`
// Constraints:
// - The bucket needs to be in the same project as the deployment
// - The path cannot be within the path of `gcs_source`
// If omitted and deployment resource ref provided has artifacts_gcs_bucket
// defined, that artifact bucket is used.
ArtifactsGcsBucket *string `protobuf:"bytes,8,opt,name=artifacts_gcs_bucket,json=artifactsGcsBucket,proto3,oneof" json:"artifacts_gcs_bucket,omitempty"`
// Optional. The user-specified Worker Pool resource in which the Cloud Build
// job will execute. Format
// projects/{project}/locations/{location}/workerPools/{workerPoolId} If this
// field is unspecified, the default Cloud Build worker pool will be used. If
// omitted and deployment resource ref provided has worker_pool defined, that
// worker pool is used.
WorkerPool *string `protobuf:"bytes,9,opt,name=worker_pool,json=workerPool,proto3,oneof" json:"worker_pool,omitempty"`
// Output only. Code describing any errors that may have occurred.
ErrorCode Preview_ErrorCode `` /* 136-byte string literal not displayed */
// Output only. Additional information regarding the current state.
ErrorStatus *status.Status `protobuf:"bytes,11,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"`
// Output only. Cloud Build instance UUID associated with this preview.
Build string `protobuf:"bytes,12,opt,name=build,proto3" json:"build,omitempty"`
// Output only. Summary of errors encountered during Terraform preview.
// It has a size limit of 10, i.e. only top 10 errors will be summarized here.
TfErrors []*TerraformError `protobuf:"bytes,13,rep,name=tf_errors,json=tfErrors,proto3" json:"tf_errors,omitempty"`
// Output only. Link to tf-error.ndjson file, which contains the full list of
// the errors encountered during a Terraform preview.
// Format: `gs://{bucket}/{object}`.
ErrorLogs string `protobuf:"bytes,14,opt,name=error_logs,json=errorLogs,proto3" json:"error_logs,omitempty"`
// Output only. Artifacts from preview.
PreviewArtifacts *PreviewArtifacts `protobuf:"bytes,16,opt,name=preview_artifacts,json=previewArtifacts,proto3" json:"preview_artifacts,omitempty"`
// Output only. Location of preview logs in `gs://{bucket}/{object}` format.
Logs string `protobuf:"bytes,17,opt,name=logs,proto3" json:"logs,omitempty"`
// Output only. The current Terraform version set on the preview.
// It is in the format of "Major.Minor.Patch", for example, "1.3.10".
TfVersion string `protobuf:"bytes,18,opt,name=tf_version,json=tfVersion,proto3" json:"tf_version,omitempty"`
// Optional. The user-specified Terraform version constraint.
// Example: "=1.3.10".
TfVersionConstraint *string `` /* 127-byte string literal not displayed */
// Optional. Arbitrary key-value metadata storage e.g. to help client tools
// identify preview during automation. See
// https://google.aip.dev/148#annotations for details on format and size
// limitations.
Annotations map[string]string `` /* 164-byte string literal not displayed */
// Optional. This field specifies the provider configurations.
ProviderConfig *ProviderConfig `protobuf:"bytes,21,opt,name=provider_config,json=providerConfig,proto3" json:"provider_config,omitempty"`
// contains filtered or unexported fields
}
A preview represents a set of actions Infra Manager would perform to move the resources towards the desired state as specified in the configuration.
func (*Preview) Descriptor
deprecated
added in
v0.2.0
func (*Preview) GetAnnotations ¶ added in v1.2.0
func (*Preview) GetArtifactsGcsBucket ¶ added in v0.2.0
func (*Preview) GetBlueprint ¶ added in v0.2.0
func (m *Preview) GetBlueprint() isPreview_Blueprint
func (*Preview) GetCreateTime ¶ added in v0.2.0
func (x *Preview) GetCreateTime() *timestamppb.Timestamp
func (*Preview) GetDeployment ¶ added in v0.2.0
func (*Preview) GetErrorCode ¶ added in v0.2.0
func (x *Preview) GetErrorCode() Preview_ErrorCode
func (*Preview) GetErrorLogs ¶ added in v0.2.0
func (*Preview) GetErrorStatus ¶ added in v0.2.0
func (*Preview) GetPreviewArtifacts ¶ added in v0.2.0
func (x *Preview) GetPreviewArtifacts() *PreviewArtifacts
func (*Preview) GetPreviewMode ¶ added in v0.2.0
func (x *Preview) GetPreviewMode() Preview_PreviewMode
func (*Preview) GetProviderConfig ¶ added in v1.5.0
func (x *Preview) GetProviderConfig() *ProviderConfig
func (*Preview) GetServiceAccount ¶ added in v0.2.0
func (*Preview) GetState ¶ added in v0.2.0
func (x *Preview) GetState() Preview_State
func (*Preview) GetTerraformBlueprint ¶ added in v0.2.0
func (x *Preview) GetTerraformBlueprint() *TerraformBlueprint
func (*Preview) GetTfErrors ¶ added in v0.2.0
func (x *Preview) GetTfErrors() []*TerraformError
func (*Preview) GetTfVersion ¶ added in v0.4.0
func (*Preview) GetTfVersionConstraint ¶ added in v0.4.0
func (*Preview) GetWorkerPool ¶ added in v0.2.0
func (*Preview) ProtoMessage ¶ added in v0.2.0
func (*Preview) ProtoMessage()
func (*Preview) ProtoReflect ¶ added in v0.2.0
func (x *Preview) ProtoReflect() protoreflect.Message
type PreviewArtifacts ¶ added in v0.2.0
type PreviewArtifacts struct {
// Output only. Location of a blueprint copy and other content in Google Cloud
// Storage. Format: `gs://{bucket}/{object}`
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// Output only. Location of artifacts in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`
Artifacts string `protobuf:"bytes,2,opt,name=artifacts,proto3" json:"artifacts,omitempty"`
// contains filtered or unexported fields
}
Artifacts created by preview.
func (*PreviewArtifacts) Descriptor
deprecated
added in
v0.2.0
func (*PreviewArtifacts) Descriptor() ([]byte, []int)
Deprecated: Use PreviewArtifacts.ProtoReflect.Descriptor instead.
func (*PreviewArtifacts) GetArtifacts ¶ added in v0.2.0
func (x *PreviewArtifacts) GetArtifacts() string
func (*PreviewArtifacts) GetContent ¶ added in v0.2.0
func (x *PreviewArtifacts) GetContent() string
func (*PreviewArtifacts) ProtoMessage ¶ added in v0.2.0
func (*PreviewArtifacts) ProtoMessage()
func (*PreviewArtifacts) ProtoReflect ¶ added in v0.2.0
func (x *PreviewArtifacts) ProtoReflect() protoreflect.Message
func (*PreviewArtifacts) Reset ¶ added in v0.2.0
func (x *PreviewArtifacts) Reset()
func (*PreviewArtifacts) String ¶ added in v0.2.0
func (x *PreviewArtifacts) String() string
type PreviewOperationMetadata ¶ added in v0.2.0
type PreviewOperationMetadata struct {
// The current step the preview operation is running.
Step PreviewOperationMetadata_PreviewStep `` /* 127-byte string literal not displayed */
// Artifacts from preview.
PreviewArtifacts *PreviewArtifacts `protobuf:"bytes,2,opt,name=preview_artifacts,json=previewArtifacts,proto3" json:"preview_artifacts,omitempty"`
// Output only. Location of preview logs in `gs://{bucket}/{object}` format.
Logs string `protobuf:"bytes,3,opt,name=logs,proto3" json:"logs,omitempty"`
// Output only. Cloud Build instance UUID associated with this preview.
Build string `protobuf:"bytes,4,opt,name=build,proto3" json:"build,omitempty"`
// contains filtered or unexported fields
}
Ephemeral metadata content describing the state of a preview operation.
func (*PreviewOperationMetadata) Descriptor
deprecated
added in
v0.2.0
func (*PreviewOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PreviewOperationMetadata.ProtoReflect.Descriptor instead.
func (*PreviewOperationMetadata) GetBuild ¶ added in v0.2.0
func (x *PreviewOperationMetadata) GetBuild() string
func (*PreviewOperationMetadata) GetLogs ¶ added in v0.2.0
func (x *PreviewOperationMetadata) GetLogs() string
func (*PreviewOperationMetadata) GetPreviewArtifacts ¶ added in v0.2.0
func (x *PreviewOperationMetadata) GetPreviewArtifacts() *PreviewArtifacts
func (*PreviewOperationMetadata) GetStep ¶ added in v0.2.0
func (x *PreviewOperationMetadata) GetStep() PreviewOperationMetadata_PreviewStep
func (*PreviewOperationMetadata) ProtoMessage ¶ added in v0.2.0
func (*PreviewOperationMetadata) ProtoMessage()
func (*PreviewOperationMetadata) ProtoReflect ¶ added in v0.2.0
func (x *PreviewOperationMetadata) ProtoReflect() protoreflect.Message
func (*PreviewOperationMetadata) Reset ¶ added in v0.2.0
func (x *PreviewOperationMetadata) Reset()
func (*PreviewOperationMetadata) String ¶ added in v0.2.0
func (x *PreviewOperationMetadata) String() string
type PreviewOperationMetadata_PreviewStep ¶ added in v0.2.0
type PreviewOperationMetadata_PreviewStep int32
The possible steps a preview may be running.
const ( // Unspecified preview step. PreviewOperationMetadata_PREVIEW_STEP_UNSPECIFIED PreviewOperationMetadata_PreviewStep = 0 // Infra Manager is creating a Google Cloud Storage bucket to store // artifacts and metadata about the preview. PreviewOperationMetadata_PREPARING_STORAGE_BUCKET PreviewOperationMetadata_PreviewStep = 1 // Downloading the blueprint onto the Google Cloud Storage bucket. PreviewOperationMetadata_DOWNLOADING_BLUEPRINT PreviewOperationMetadata_PreviewStep = 2 // Initializing Terraform using `terraform init`. PreviewOperationMetadata_RUNNING_TF_INIT PreviewOperationMetadata_PreviewStep = 3 // Running `terraform plan`. PreviewOperationMetadata_RUNNING_TF_PLAN PreviewOperationMetadata_PreviewStep = 4 // Fetching a deployment. PreviewOperationMetadata_FETCHING_DEPLOYMENT PreviewOperationMetadata_PreviewStep = 5 // Locking a deployment. PreviewOperationMetadata_LOCKING_DEPLOYMENT PreviewOperationMetadata_PreviewStep = 6 // Unlocking a deployment. PreviewOperationMetadata_UNLOCKING_DEPLOYMENT PreviewOperationMetadata_PreviewStep = 7 // Operation was successful. PreviewOperationMetadata_SUCCEEDED PreviewOperationMetadata_PreviewStep = 8 // Operation failed. PreviewOperationMetadata_FAILED PreviewOperationMetadata_PreviewStep = 9 // Validating the provided repository. PreviewOperationMetadata_VALIDATING_REPOSITORY PreviewOperationMetadata_PreviewStep = 10 )
func (PreviewOperationMetadata_PreviewStep) Descriptor ¶ added in v0.2.0
func (PreviewOperationMetadata_PreviewStep) Descriptor() protoreflect.EnumDescriptor
func (PreviewOperationMetadata_PreviewStep) Enum ¶ added in v0.2.0
func (x PreviewOperationMetadata_PreviewStep) Enum() *PreviewOperationMetadata_PreviewStep
func (PreviewOperationMetadata_PreviewStep) EnumDescriptor
deprecated
added in
v0.2.0
func (PreviewOperationMetadata_PreviewStep) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreviewOperationMetadata_PreviewStep.Descriptor instead.
func (PreviewOperationMetadata_PreviewStep) Number ¶ added in v0.2.0
func (x PreviewOperationMetadata_PreviewStep) Number() protoreflect.EnumNumber
func (PreviewOperationMetadata_PreviewStep) String ¶ added in v0.2.0
func (x PreviewOperationMetadata_PreviewStep) String() string
func (PreviewOperationMetadata_PreviewStep) Type ¶ added in v0.2.0
func (PreviewOperationMetadata_PreviewStep) Type() protoreflect.EnumType
type PreviewResult ¶ added in v0.2.0
type PreviewResult struct {
// Output only. Plan binary signed URL
BinarySignedUri string `protobuf:"bytes,1,opt,name=binary_signed_uri,json=binarySignedUri,proto3" json:"binary_signed_uri,omitempty"`
// Output only. Plan JSON signed URL
JsonSignedUri string `protobuf:"bytes,2,opt,name=json_signed_uri,json=jsonSignedUri,proto3" json:"json_signed_uri,omitempty"`
// contains filtered or unexported fields
}
Contains a signed Cloud Storage URLs.
func (*PreviewResult) Descriptor
deprecated
added in
v0.2.0
func (*PreviewResult) Descriptor() ([]byte, []int)
Deprecated: Use PreviewResult.ProtoReflect.Descriptor instead.
func (*PreviewResult) GetBinarySignedUri ¶ added in v0.2.0
func (x *PreviewResult) GetBinarySignedUri() string
func (*PreviewResult) GetJsonSignedUri ¶ added in v0.2.0
func (x *PreviewResult) GetJsonSignedUri() string
func (*PreviewResult) ProtoMessage ¶ added in v0.2.0
func (*PreviewResult) ProtoMessage()
func (*PreviewResult) ProtoReflect ¶ added in v0.2.0
func (x *PreviewResult) ProtoReflect() protoreflect.Message
func (*PreviewResult) Reset ¶ added in v0.2.0
func (x *PreviewResult) Reset()
func (*PreviewResult) String ¶ added in v0.2.0
func (x *PreviewResult) String() string
type Preview_ErrorCode ¶ added in v0.2.0
type Preview_ErrorCode int32
Possible errors that can occur with previews.
const ( // No error code was specified. Preview_ERROR_CODE_UNSPECIFIED Preview_ErrorCode = 0 // Cloud Build failed due to a permissions issue. Preview_CLOUD_BUILD_PERMISSION_DENIED Preview_ErrorCode = 1 // Cloud Storage bucket failed to create due to a permissions issue. Preview_BUCKET_CREATION_PERMISSION_DENIED Preview_ErrorCode = 2 // Cloud Storage bucket failed for a non-permissions-related issue. Preview_BUCKET_CREATION_FAILED Preview_ErrorCode = 3 // Acquiring lock on provided deployment reference failed. Preview_DEPLOYMENT_LOCK_ACQUIRE_FAILED Preview_ErrorCode = 4 // Preview encountered an error when trying to access Cloud Build API. Preview_PREVIEW_BUILD_API_FAILED Preview_ErrorCode = 5 // Preview created a build but build failed and logs were generated. Preview_PREVIEW_BUILD_RUN_FAILED Preview_ErrorCode = 6 )
func (Preview_ErrorCode) Descriptor ¶ added in v0.2.0
func (Preview_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (Preview_ErrorCode) Enum ¶ added in v0.2.0
func (x Preview_ErrorCode) Enum() *Preview_ErrorCode
func (Preview_ErrorCode) EnumDescriptor
deprecated
added in
v0.2.0
func (Preview_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Preview_ErrorCode.Descriptor instead.
func (Preview_ErrorCode) Number ¶ added in v0.2.0
func (x Preview_ErrorCode) Number() protoreflect.EnumNumber
func (Preview_ErrorCode) String ¶ added in v0.2.0
func (x Preview_ErrorCode) String() string
func (Preview_ErrorCode) Type ¶ added in v0.2.0
func (Preview_ErrorCode) Type() protoreflect.EnumType
type Preview_PreviewMode ¶ added in v0.2.0
type Preview_PreviewMode int32
Preview mode provides options for customizing preview operations.
const ( // Unspecified policy, default mode will be used. Preview_PREVIEW_MODE_UNSPECIFIED Preview_PreviewMode = 0 // DEFAULT mode generates an execution plan for reconciling current resource // state into expected resource state. Preview_DEFAULT Preview_PreviewMode = 1 // DELETE mode generates as execution plan for destroying current resources. Preview_DELETE Preview_PreviewMode = 2 )
func (Preview_PreviewMode) Descriptor ¶ added in v0.2.0
func (Preview_PreviewMode) Descriptor() protoreflect.EnumDescriptor
func (Preview_PreviewMode) Enum ¶ added in v0.2.0
func (x Preview_PreviewMode) Enum() *Preview_PreviewMode
func (Preview_PreviewMode) EnumDescriptor
deprecated
added in
v0.2.0
func (Preview_PreviewMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Preview_PreviewMode.Descriptor instead.
func (Preview_PreviewMode) Number ¶ added in v0.2.0
func (x Preview_PreviewMode) Number() protoreflect.EnumNumber
func (Preview_PreviewMode) String ¶ added in v0.2.0
func (x Preview_PreviewMode) String() string
func (Preview_PreviewMode) Type ¶ added in v0.2.0
func (Preview_PreviewMode) Type() protoreflect.EnumType
type Preview_State ¶ added in v0.2.0
type Preview_State int32
Possible states of a preview.
const ( // The default value. This value is used if the state is unknown. Preview_STATE_UNSPECIFIED Preview_State = 0 // The preview is being created. Preview_CREATING Preview_State = 1 // The preview has succeeded. Preview_SUCCEEDED Preview_State = 2 // The preview is being applied. Preview_APPLYING Preview_State = 3 // The preview is stale. A preview can become stale if a revision has been // applied after this preview was created. Preview_STALE Preview_State = 4 // The preview is being deleted. Preview_DELETING Preview_State = 5 // The preview has encountered an unexpected error. Preview_FAILED Preview_State = 6 // The preview has been deleted. Preview_DELETED Preview_State = 7 )
func (Preview_State) Descriptor ¶ added in v0.2.0
func (Preview_State) Descriptor() protoreflect.EnumDescriptor
func (Preview_State) Enum ¶ added in v0.2.0
func (x Preview_State) Enum() *Preview_State
func (Preview_State) EnumDescriptor
deprecated
added in
v0.2.0
func (Preview_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Preview_State.Descriptor instead.
func (Preview_State) Number ¶ added in v0.2.0
func (x Preview_State) Number() protoreflect.EnumNumber
func (Preview_State) String ¶ added in v0.2.0
func (x Preview_State) String() string
func (Preview_State) Type ¶ added in v0.2.0
func (Preview_State) Type() protoreflect.EnumType
type Preview_TerraformBlueprint ¶ added in v0.2.0
type Preview_TerraformBlueprint struct {
// The terraform blueprint to preview.
TerraformBlueprint *TerraformBlueprint `protobuf:"bytes,6,opt,name=terraform_blueprint,json=terraformBlueprint,proto3,oneof"`
}
type PropertyChange ¶ added in v1.4.0
type PropertyChange struct {
// Output only. The path of the property change.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Output only. The paths of sensitive fields in `before`. Paths are relative
// to `path`.
BeforeSensitivePaths []string `protobuf:"bytes,2,rep,name=before_sensitive_paths,json=beforeSensitivePaths,proto3" json:"before_sensitive_paths,omitempty"`
// Output only. Representations of the object value before the actions.
Before *structpb.Value `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
// Output only. The paths of sensitive fields in `after`. Paths are relative
// to `path`.
AfterSensitivePaths []string `protobuf:"bytes,4,rep,name=after_sensitive_paths,json=afterSensitivePaths,proto3" json:"after_sensitive_paths,omitempty"`
// Output only. Representations of the object value after the actions.
After *structpb.Value `protobuf:"bytes,5,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
A property change represents a change to a property in the state file.
func (*PropertyChange) Descriptor
deprecated
added in
v1.4.0
func (*PropertyChange) Descriptor() ([]byte, []int)
Deprecated: Use PropertyChange.ProtoReflect.Descriptor instead.
func (*PropertyChange) GetAfter ¶ added in v1.4.0
func (x *PropertyChange) GetAfter() *structpb.Value
func (*PropertyChange) GetAfterSensitivePaths ¶ added in v1.4.0
func (x *PropertyChange) GetAfterSensitivePaths() []string
func (*PropertyChange) GetBefore ¶ added in v1.4.0
func (x *PropertyChange) GetBefore() *structpb.Value
func (*PropertyChange) GetBeforeSensitivePaths ¶ added in v1.4.0
func (x *PropertyChange) GetBeforeSensitivePaths() []string
func (*PropertyChange) GetPath ¶ added in v1.4.0
func (x *PropertyChange) GetPath() string
func (*PropertyChange) ProtoMessage ¶ added in v1.4.0
func (*PropertyChange) ProtoMessage()
func (*PropertyChange) ProtoReflect ¶ added in v1.4.0
func (x *PropertyChange) ProtoReflect() protoreflect.Message
func (*PropertyChange) Reset ¶ added in v1.4.0
func (x *PropertyChange) Reset()
func (*PropertyChange) String ¶ added in v1.4.0
func (x *PropertyChange) String() string
type PropertyDrift ¶ added in v1.4.0
type PropertyDrift struct {
// Output only. The path of the property drift.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Output only. The paths of sensitive fields in `before`. Paths are relative
// to `path`.
BeforeSensitivePaths []string `protobuf:"bytes,2,rep,name=before_sensitive_paths,json=beforeSensitivePaths,proto3" json:"before_sensitive_paths,omitempty"`
// Output only. Representations of the object value before the actions.
Before *structpb.Value `protobuf:"bytes,3,opt,name=before,proto3" json:"before,omitempty"`
// Output only. The paths of sensitive fields in `after`. Paths are relative
// to `path`.
AfterSensitivePaths []string `protobuf:"bytes,4,rep,name=after_sensitive_paths,json=afterSensitivePaths,proto3" json:"after_sensitive_paths,omitempty"`
// Output only. Representations of the object value after the actions.
After *structpb.Value `protobuf:"bytes,5,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
A property drift represents a drift to a property in the state file.
func (*PropertyDrift) Descriptor
deprecated
added in
v1.4.0
func (*PropertyDrift) Descriptor() ([]byte, []int)
Deprecated: Use PropertyDrift.ProtoReflect.Descriptor instead.
func (*PropertyDrift) GetAfter ¶ added in v1.4.0
func (x *PropertyDrift) GetAfter() *structpb.Value
func (*PropertyDrift) GetAfterSensitivePaths ¶ added in v1.4.0
func (x *PropertyDrift) GetAfterSensitivePaths() []string
func (*PropertyDrift) GetBefore ¶ added in v1.4.0
func (x *PropertyDrift) GetBefore() *structpb.Value
func (*PropertyDrift) GetBeforeSensitivePaths ¶ added in v1.4.0
func (x *PropertyDrift) GetBeforeSensitivePaths() []string
func (*PropertyDrift) GetPath ¶ added in v1.4.0
func (x *PropertyDrift) GetPath() string
func (*PropertyDrift) ProtoMessage ¶ added in v1.4.0
func (*PropertyDrift) ProtoMessage()
func (*PropertyDrift) ProtoReflect ¶ added in v1.4.0
func (x *PropertyDrift) ProtoReflect() protoreflect.Message
func (*PropertyDrift) Reset ¶ added in v1.4.0
func (x *PropertyDrift) Reset()
func (*PropertyDrift) String ¶ added in v1.4.0
func (x *PropertyDrift) String() string
type ProviderConfig ¶ added in v1.5.0
type ProviderConfig struct {
// Optional. ProviderSource specifies the source type of the provider.
SourceType *ProviderConfig_ProviderSource `` /* 156-byte string literal not displayed */
// contains filtered or unexported fields
}
ProviderConfig contains the provider configurations.
func (*ProviderConfig) Descriptor
deprecated
added in
v1.5.0
func (*ProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
func (*ProviderConfig) GetSourceType ¶ added in v1.5.0
func (x *ProviderConfig) GetSourceType() ProviderConfig_ProviderSource
func (*ProviderConfig) ProtoMessage ¶ added in v1.5.0
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) ProtoReflect ¶ added in v1.5.0
func (x *ProviderConfig) ProtoReflect() protoreflect.Message
func (*ProviderConfig) Reset ¶ added in v1.5.0
func (x *ProviderConfig) Reset()
func (*ProviderConfig) String ¶ added in v1.5.0
func (x *ProviderConfig) String() string
type ProviderConfig_ProviderSource ¶ added in v1.5.0
type ProviderConfig_ProviderSource int32
ProviderSource represents the source type of the provider.
const ( // Unspecified source type, default to public sources. ProviderConfig_PROVIDER_SOURCE_UNSPECIFIED ProviderConfig_ProviderSource = 0 // Service maintained provider source type. ProviderConfig_SERVICE_MAINTAINED ProviderConfig_ProviderSource = 1 )
func (ProviderConfig_ProviderSource) Descriptor ¶ added in v1.5.0
func (ProviderConfig_ProviderSource) Descriptor() protoreflect.EnumDescriptor
func (ProviderConfig_ProviderSource) Enum ¶ added in v1.5.0
func (x ProviderConfig_ProviderSource) Enum() *ProviderConfig_ProviderSource
func (ProviderConfig_ProviderSource) EnumDescriptor
deprecated
added in
v1.5.0
func (ProviderConfig_ProviderSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProviderConfig_ProviderSource.Descriptor instead.
func (ProviderConfig_ProviderSource) Number ¶ added in v1.5.0
func (x ProviderConfig_ProviderSource) Number() protoreflect.EnumNumber
func (ProviderConfig_ProviderSource) String ¶ added in v1.5.0
func (x ProviderConfig_ProviderSource) String() string
func (ProviderConfig_ProviderSource) Type ¶ added in v1.5.0
func (ProviderConfig_ProviderSource) Type() protoreflect.EnumType
type QuotaValidation ¶ added in v0.3.0
type QuotaValidation int32
Enum values to control quota checks for resources in terraform configuration files.
const ( // The default value. // QuotaValidation on terraform configuration files will be disabled in // this case. QuotaValidation_QUOTA_VALIDATION_UNSPECIFIED QuotaValidation = 0 // Enable computing quotas for resources in terraform configuration files to // get visibility on resources with insufficient quotas. QuotaValidation_ENABLED QuotaValidation = 1 // Enforce quota checks so deployment fails if there isn't sufficient quotas // available to deploy resources in terraform configuration files. QuotaValidation_ENFORCED QuotaValidation = 2 )
func (QuotaValidation) Descriptor ¶ added in v0.3.0
func (QuotaValidation) Descriptor() protoreflect.EnumDescriptor
func (QuotaValidation) Enum ¶ added in v0.3.0
func (x QuotaValidation) Enum() *QuotaValidation
func (QuotaValidation) EnumDescriptor
deprecated
added in
v0.3.0
func (QuotaValidation) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuotaValidation.Descriptor instead.
func (QuotaValidation) Number ¶ added in v0.3.0
func (x QuotaValidation) Number() protoreflect.EnumNumber
func (QuotaValidation) String ¶ added in v0.3.0
func (x QuotaValidation) String() string
func (QuotaValidation) Type ¶ added in v0.3.0
func (QuotaValidation) Type() protoreflect.EnumType
type Resource ¶
type Resource struct {
// Output only. Resource name.
// Format:
// `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Terraform-specific info if this resource was created using
// Terraform.
TerraformInfo *ResourceTerraformInfo `protobuf:"bytes,2,opt,name=terraform_info,json=terraformInfo,proto3" json:"terraform_info,omitempty"`
// Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
// ID). CAI type format follows
// https://cloud.google.com/asset-inventory/docs/supported-asset-types
CaiAssets map[string]*ResourceCAIInfo `` /* 176-byte string literal not displayed */
// Output only. Intent of the resource.
Intent Resource_Intent `protobuf:"varint,4,opt,name=intent,proto3,enum=google.cloud.config.v1.Resource_Intent" json:"intent,omitempty"`
// Output only. Current state of the resource.
State Resource_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.config.v1.Resource_State" json:"state,omitempty"`
// contains filtered or unexported fields
}
Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.
func (*Resource) Descriptor
deprecated
func (*Resource) GetCaiAssets ¶
func (x *Resource) GetCaiAssets() map[string]*ResourceCAIInfo
func (*Resource) GetIntent ¶
func (x *Resource) GetIntent() Resource_Intent
func (*Resource) GetState ¶
func (x *Resource) GetState() Resource_State
func (*Resource) GetTerraformInfo ¶
func (x *Resource) GetTerraformInfo() *ResourceTerraformInfo
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type ResourceCAIInfo ¶
type ResourceCAIInfo struct {
// CAI resource name in the format following
// https://cloud.google.com/apis/design/resource_names#full_resource_name
FullResourceName string `protobuf:"bytes,1,opt,name=full_resource_name,json=fullResourceName,proto3" json:"full_resource_name,omitempty"`
// contains filtered or unexported fields
}
CAI info of a Resource.
func (*ResourceCAIInfo) Descriptor
deprecated
func (*ResourceCAIInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCAIInfo.ProtoReflect.Descriptor instead.
func (*ResourceCAIInfo) GetFullResourceName ¶
func (x *ResourceCAIInfo) GetFullResourceName() string
func (*ResourceCAIInfo) ProtoMessage ¶
func (*ResourceCAIInfo) ProtoMessage()
func (*ResourceCAIInfo) ProtoReflect ¶
func (x *ResourceCAIInfo) ProtoReflect() protoreflect.Message
func (*ResourceCAIInfo) Reset ¶
func (x *ResourceCAIInfo) Reset()
func (*ResourceCAIInfo) String ¶
func (x *ResourceCAIInfo) String() string
type ResourceChange ¶ added in v1.4.0
type ResourceChange struct {
// Identifier. The name of the resource change.
// Format:
// 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Terraform info of the resource change.
TerraformInfo *ResourceChangeTerraformInfo `protobuf:"bytes,2,opt,name=terraform_info,json=terraformInfo,proto3" json:"terraform_info,omitempty"`
// Output only. The intent of the resource change.
Intent ResourceChange_Intent `protobuf:"varint,3,opt,name=intent,proto3,enum=google.cloud.config.v1.ResourceChange_Intent" json:"intent,omitempty"`
// Output only. The property changes of the resource change.
PropertyChanges []*PropertyChange `protobuf:"bytes,4,rep,name=property_changes,json=propertyChanges,proto3" json:"property_changes,omitempty"`
// contains filtered or unexported fields
}
A resource change represents a change to a resource in the state file.
func (*ResourceChange) Descriptor
deprecated
added in
v1.4.0
func (*ResourceChange) Descriptor() ([]byte, []int)
Deprecated: Use ResourceChange.ProtoReflect.Descriptor instead.
func (*ResourceChange) GetIntent ¶ added in v1.4.0
func (x *ResourceChange) GetIntent() ResourceChange_Intent
func (*ResourceChange) GetName ¶ added in v1.4.0
func (x *ResourceChange) GetName() string
func (*ResourceChange) GetPropertyChanges ¶ added in v1.4.0
func (x *ResourceChange) GetPropertyChanges() []*PropertyChange
func (*ResourceChange) GetTerraformInfo ¶ added in v1.4.0
func (x *ResourceChange) GetTerraformInfo() *ResourceChangeTerraformInfo
func (*ResourceChange) ProtoMessage ¶ added in v1.4.0
func (*ResourceChange) ProtoMessage()
func (*ResourceChange) ProtoReflect ¶ added in v1.4.0
func (x *ResourceChange) ProtoReflect() protoreflect.Message
func (*ResourceChange) Reset ¶ added in v1.4.0
func (x *ResourceChange) Reset()
func (*ResourceChange) String ¶ added in v1.4.0
func (x *ResourceChange) String() string
type ResourceChangeTerraformInfo ¶ added in v1.4.0
type ResourceChangeTerraformInfo struct {
// Output only. TF resource address that uniquely identifies the resource.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Output only. TF resource type.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Output only. TF resource name.
ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. TF resource provider.
Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
// Output only. TF resource actions.
Actions []string `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}
Terraform info of a ResourceChange.
func (*ResourceChangeTerraformInfo) Descriptor
deprecated
added in
v1.4.0
func (*ResourceChangeTerraformInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceChangeTerraformInfo.ProtoReflect.Descriptor instead.
func (*ResourceChangeTerraformInfo) GetActions ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) GetActions() []string
func (*ResourceChangeTerraformInfo) GetAddress ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) GetAddress() string
func (*ResourceChangeTerraformInfo) GetProvider ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) GetProvider() string
func (*ResourceChangeTerraformInfo) GetResourceName ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) GetResourceName() string
func (*ResourceChangeTerraformInfo) GetType ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) GetType() string
func (*ResourceChangeTerraformInfo) ProtoMessage ¶ added in v1.4.0
func (*ResourceChangeTerraformInfo) ProtoMessage()
func (*ResourceChangeTerraformInfo) ProtoReflect ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) ProtoReflect() protoreflect.Message
func (*ResourceChangeTerraformInfo) Reset ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) Reset()
func (*ResourceChangeTerraformInfo) String ¶ added in v1.4.0
func (x *ResourceChangeTerraformInfo) String() string
type ResourceChange_Intent ¶ added in v1.4.0
type ResourceChange_Intent int32
Possible intent of the resource change.
const ( // The default value. ResourceChange_INTENT_UNSPECIFIED ResourceChange_Intent = 0 // The resource will be created. ResourceChange_CREATE ResourceChange_Intent = 1 // The resource will be updated. ResourceChange_UPDATE ResourceChange_Intent = 2 // The resource will be deleted. ResourceChange_DELETE ResourceChange_Intent = 3 // The resource will be recreated. ResourceChange_RECREATE ResourceChange_Intent = 4 // The resource will be untouched. ResourceChange_UNCHANGED ResourceChange_Intent = 5 )
func (ResourceChange_Intent) Descriptor ¶ added in v1.4.0
func (ResourceChange_Intent) Descriptor() protoreflect.EnumDescriptor
func (ResourceChange_Intent) Enum ¶ added in v1.4.0
func (x ResourceChange_Intent) Enum() *ResourceChange_Intent
func (ResourceChange_Intent) EnumDescriptor
deprecated
added in
v1.4.0
func (ResourceChange_Intent) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceChange_Intent.Descriptor instead.
func (ResourceChange_Intent) Number ¶ added in v1.4.0
func (x ResourceChange_Intent) Number() protoreflect.EnumNumber
func (ResourceChange_Intent) String ¶ added in v1.4.0
func (x ResourceChange_Intent) String() string
func (ResourceChange_Intent) Type ¶ added in v1.4.0
func (ResourceChange_Intent) Type() protoreflect.EnumType
type ResourceDrift ¶ added in v1.4.0
type ResourceDrift struct {
// Identifier. The name of the resource drift.
// Format:
// 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Terraform info of the resource drift.
TerraformInfo *ResourceDriftTerraformInfo `protobuf:"bytes,2,opt,name=terraform_info,json=terraformInfo,proto3" json:"terraform_info,omitempty"`
// Output only. The property drifts of the resource drift.
PropertyDrifts []*PropertyDrift `protobuf:"bytes,3,rep,name=property_drifts,json=propertyDrifts,proto3" json:"property_drifts,omitempty"`
// contains filtered or unexported fields
}
A resource drift represents a drift to a resource in the state file.
func (*ResourceDrift) Descriptor
deprecated
added in
v1.4.0
func (*ResourceDrift) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDrift.ProtoReflect.Descriptor instead.
func (*ResourceDrift) GetName ¶ added in v1.4.0
func (x *ResourceDrift) GetName() string
func (*ResourceDrift) GetPropertyDrifts ¶ added in v1.4.0
func (x *ResourceDrift) GetPropertyDrifts() []*PropertyDrift
func (*ResourceDrift) GetTerraformInfo ¶ added in v1.4.0
func (x *ResourceDrift) GetTerraformInfo() *ResourceDriftTerraformInfo
func (*ResourceDrift) ProtoMessage ¶ added in v1.4.0
func (*ResourceDrift) ProtoMessage()
func (*ResourceDrift) ProtoReflect ¶ added in v1.4.0
func (x *ResourceDrift) ProtoReflect() protoreflect.Message
func (*ResourceDrift) Reset ¶ added in v1.4.0
func (x *ResourceDrift) Reset()
func (*ResourceDrift) String ¶ added in v1.4.0
func (x *ResourceDrift) String() string
type ResourceDriftTerraformInfo ¶ added in v1.4.0
type ResourceDriftTerraformInfo struct {
// Output only. The address of the drifted resource.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Output only. The type of the drifted resource.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Output only. TF resource name.
ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. The provider of the drifted resource.
Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
Terraform info of a ResourceChange.
func (*ResourceDriftTerraformInfo) Descriptor
deprecated
added in
v1.4.0
func (*ResourceDriftTerraformInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDriftTerraformInfo.ProtoReflect.Descriptor instead.
func (*ResourceDriftTerraformInfo) GetAddress ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) GetAddress() string
func (*ResourceDriftTerraformInfo) GetProvider ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) GetProvider() string
func (*ResourceDriftTerraformInfo) GetResourceName ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) GetResourceName() string
func (*ResourceDriftTerraformInfo) GetType ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) GetType() string
func (*ResourceDriftTerraformInfo) ProtoMessage ¶ added in v1.4.0
func (*ResourceDriftTerraformInfo) ProtoMessage()
func (*ResourceDriftTerraformInfo) ProtoReflect ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) ProtoReflect() protoreflect.Message
func (*ResourceDriftTerraformInfo) Reset ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) Reset()
func (*ResourceDriftTerraformInfo) String ¶ added in v1.4.0
func (x *ResourceDriftTerraformInfo) String() string
type ResourceTerraformInfo ¶
type ResourceTerraformInfo struct {
// TF resource address that uniquely identifies this resource within this
// deployment.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// TF resource type
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// ID attribute of the TF resource
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Terraform info of a Resource.
func (*ResourceTerraformInfo) Descriptor
deprecated
func (*ResourceTerraformInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTerraformInfo.ProtoReflect.Descriptor instead.
func (*ResourceTerraformInfo) GetAddress ¶
func (x *ResourceTerraformInfo) GetAddress() string
func (*ResourceTerraformInfo) GetId ¶
func (x *ResourceTerraformInfo) GetId() string
func (*ResourceTerraformInfo) GetType ¶
func (x *ResourceTerraformInfo) GetType() string
func (*ResourceTerraformInfo) ProtoMessage ¶
func (*ResourceTerraformInfo) ProtoMessage()
func (*ResourceTerraformInfo) ProtoReflect ¶
func (x *ResourceTerraformInfo) ProtoReflect() protoreflect.Message
func (*ResourceTerraformInfo) Reset ¶
func (x *ResourceTerraformInfo) Reset()
func (*ResourceTerraformInfo) String ¶
func (x *ResourceTerraformInfo) String() string
type Resource_Intent ¶
type Resource_Intent int32
Possible intent of the resource.
const ( // The default value. This value is used if the intent is omitted. Resource_INTENT_UNSPECIFIED Resource_Intent = 0 // Infra Manager will create this Resource. Resource_CREATE Resource_Intent = 1 // Infra Manager will update this Resource. Resource_UPDATE Resource_Intent = 2 // Infra Manager will delete this Resource. Resource_DELETE Resource_Intent = 3 // Infra Manager will destroy and recreate this Resource. Resource_RECREATE Resource_Intent = 4 // Infra Manager will leave this Resource untouched. Resource_UNCHANGED Resource_Intent = 5 )
func (Resource_Intent) Descriptor ¶
func (Resource_Intent) Descriptor() protoreflect.EnumDescriptor
func (Resource_Intent) Enum ¶
func (x Resource_Intent) Enum() *Resource_Intent
func (Resource_Intent) EnumDescriptor
deprecated
func (Resource_Intent) EnumDescriptor() ([]byte, []int)
Deprecated: Use Resource_Intent.Descriptor instead.
func (Resource_Intent) Number ¶
func (x Resource_Intent) Number() protoreflect.EnumNumber
func (Resource_Intent) String ¶
func (x Resource_Intent) String() string
func (Resource_Intent) Type ¶
func (Resource_Intent) Type() protoreflect.EnumType
type Resource_State ¶
type Resource_State int32
Possible states of a resource.
const ( // The default value. This value is used if the state is omitted. Resource_STATE_UNSPECIFIED Resource_State = 0 // Resource has been planned for reconcile. Resource_PLANNED Resource_State = 1 // Resource is actively reconciling into the intended state. Resource_IN_PROGRESS Resource_State = 2 // Resource has reconciled to intended state. Resource_RECONCILED Resource_State = 3 // Resource failed to reconcile. Resource_FAILED Resource_State = 4 )
func (Resource_State) Descriptor ¶
func (Resource_State) Descriptor() protoreflect.EnumDescriptor
func (Resource_State) Enum ¶
func (x Resource_State) Enum() *Resource_State
func (Resource_State) EnumDescriptor
deprecated
func (Resource_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Resource_State.Descriptor instead.
func (Resource_State) Number ¶
func (x Resource_State) Number() protoreflect.EnumNumber
func (Resource_State) String ¶
func (x Resource_State) String() string
func (Resource_State) Type ¶
func (Resource_State) Type() protoreflect.EnumType
type Revision ¶
type Revision struct {
// Blueprint that was deployed.
//
// Types that are assignable to Blueprint:
//
// *Revision_TerraformBlueprint
Blueprint isRevision_Blueprint `protobuf_oneof:"blueprint"`
// Revision name. Format:
// `projects/{project}/locations/{location}/deployments/{deployment}/
// revisions/{revision}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Time when the revision was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when the revision was last modified.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The action which created this revision
Action Revision_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.cloud.config.v1.Revision_Action" json:"action,omitempty"`
// Output only. Current state of the revision.
State Revision_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.config.v1.Revision_State" json:"state,omitempty"`
// Output only. Outputs and artifacts from applying a deployment.
ApplyResults *ApplyResults `protobuf:"bytes,7,opt,name=apply_results,json=applyResults,proto3" json:"apply_results,omitempty"`
// Output only. Additional info regarding the current state.
StateDetail string `protobuf:"bytes,8,opt,name=state_detail,json=stateDetail,proto3" json:"state_detail,omitempty"`
// Output only. Code describing any errors that may have occurred.
ErrorCode Revision_ErrorCode `` /* 136-byte string literal not displayed */
// Output only. Cloud Build instance UUID associated with this revision.
Build string `protobuf:"bytes,10,opt,name=build,proto3" json:"build,omitempty"`
// Output only. Location of Revision operation logs in
// `gs://{bucket}/{object}` format.
Logs string `protobuf:"bytes,11,opt,name=logs,proto3" json:"logs,omitempty"`
// Output only. Errors encountered when creating or updating this deployment.
// Errors are truncated to 10 entries, see `delete_results` and `error_logs`
// for full details.
TfErrors []*TerraformError `protobuf:"bytes,12,rep,name=tf_errors,json=tfErrors,proto3" json:"tf_errors,omitempty"`
// Output only. Location of Terraform error logs in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`.
ErrorLogs string `protobuf:"bytes,13,opt,name=error_logs,json=errorLogs,proto3" json:"error_logs,omitempty"`
// Output only. User-specified Service Account (SA) to be used as credential
// to manage resources. Format:
// `projects/{projectID}/serviceAccounts/{serviceAccount}`
ServiceAccount string `protobuf:"bytes,14,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Output only. By default, Infra Manager will return a failure when
// Terraform encounters a 409 code (resource conflict error) during actuation.
// If this flag is set to true, Infra Manager will instead
// attempt to automatically import the resource into the Terraform state (for
// supported resource types) and continue actuation.
//
// Not all resource types are supported, refer to documentation.
ImportExistingResources bool `` /* 134-byte string literal not displayed */
// Output only. The user-specified Cloud Build worker pool resource in which
// the Cloud Build job will execute. Format:
// `projects/{project}/locations/{location}/workerPools/{workerPoolId}`.
// If this field is unspecified, the default Cloud Build worker pool will be
// used.
WorkerPool string `protobuf:"bytes,17,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
// Output only. The user-specified Terraform version constraint.
// Example: "=1.3.10".
TfVersionConstraint string `protobuf:"bytes,18,opt,name=tf_version_constraint,json=tfVersionConstraint,proto3" json:"tf_version_constraint,omitempty"`
// Output only. The version of Terraform used to create the Revision.
// It is in the format of "Major.Minor.Patch", for example, "1.3.10".
TfVersion string `protobuf:"bytes,19,opt,name=tf_version,json=tfVersion,proto3" json:"tf_version,omitempty"`
// Output only. Cloud Storage path containing quota validation results. This
// field is set when a user sets Deployment.quota_validation field to ENABLED
// or ENFORCED. Format: `gs://{bucket}/{object}`.
QuotaValidationResults string `` /* 130-byte string literal not displayed */
// Optional. Input to control quota checks for resources in terraform
// configuration files. There are limited resources on which quota validation
// applies.
QuotaValidation QuotaValidation `` /* 152-byte string literal not displayed */
// Output only. This field specifies the provider configurations.
ProviderConfig *ProviderConfig `protobuf:"bytes,21,opt,name=provider_config,json=providerConfig,proto3" json:"provider_config,omitempty"`
// contains filtered or unexported fields
}
A child resource of a Deployment generated by a 'CreateDeployment' or 'UpdateDeployment' call. Each Revision contains metadata pertaining to a snapshot of a particular Deployment.
func (*Revision) Descriptor
deprecated
func (*Revision) GetAction ¶
func (x *Revision) GetAction() Revision_Action
func (*Revision) GetApplyResults ¶
func (x *Revision) GetApplyResults() *ApplyResults
func (*Revision) GetBlueprint ¶
func (m *Revision) GetBlueprint() isRevision_Blueprint
func (*Revision) GetCreateTime ¶
func (x *Revision) GetCreateTime() *timestamppb.Timestamp
func (*Revision) GetErrorCode ¶
func (x *Revision) GetErrorCode() Revision_ErrorCode
func (*Revision) GetErrorLogs ¶
func (*Revision) GetImportExistingResources ¶
func (*Revision) GetProviderConfig ¶ added in v1.5.0
func (x *Revision) GetProviderConfig() *ProviderConfig
func (*Revision) GetQuotaValidation ¶ added in v0.3.0
func (x *Revision) GetQuotaValidation() QuotaValidation
func (*Revision) GetQuotaValidationResults ¶ added in v0.3.0
func (*Revision) GetServiceAccount ¶
func (*Revision) GetState ¶
func (x *Revision) GetState() Revision_State
func (*Revision) GetStateDetail ¶
func (*Revision) GetTerraformBlueprint ¶
func (x *Revision) GetTerraformBlueprint() *TerraformBlueprint
func (*Revision) GetTfErrors ¶
func (x *Revision) GetTfErrors() []*TerraformError
func (*Revision) GetTfVersion ¶ added in v0.3.0
func (*Revision) GetTfVersionConstraint ¶ added in v0.3.0
func (*Revision) GetUpdateTime ¶
func (x *Revision) GetUpdateTime() *timestamppb.Timestamp
func (*Revision) GetWorkerPool ¶
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶
func (x *Revision) ProtoReflect() protoreflect.Message
type Revision_Action ¶
type Revision_Action int32
Actions that generate a revision.
const ( // The default value. This value is used if the action is omitted. Revision_ACTION_UNSPECIFIED Revision_Action = 0 // The revision was generated by creating a deployment. Revision_CREATE Revision_Action = 1 // The revision was generated by updating a deployment. Revision_UPDATE Revision_Action = 2 // The revision was deleted. Revision_DELETE Revision_Action = 3 )
func (Revision_Action) Descriptor ¶
func (Revision_Action) Descriptor() protoreflect.EnumDescriptor
func (Revision_Action) Enum ¶
func (x Revision_Action) Enum() *Revision_Action
func (Revision_Action) EnumDescriptor
deprecated
func (Revision_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use Revision_Action.Descriptor instead.
func (Revision_Action) Number ¶
func (x Revision_Action) Number() protoreflect.EnumNumber
func (Revision_Action) String ¶
func (x Revision_Action) String() string
func (Revision_Action) Type ¶
func (Revision_Action) Type() protoreflect.EnumType
type Revision_ErrorCode ¶
type Revision_ErrorCode int32
Possible errors if Revision could not be created or updated successfully.
const ( // No error code was specified. Revision_ERROR_CODE_UNSPECIFIED Revision_ErrorCode = 0 // Cloud Build failed due to a permission issue. Revision_CLOUD_BUILD_PERMISSION_DENIED Revision_ErrorCode = 1 // Cloud Build job associated with creating or updating a deployment could // not be started. Revision_APPLY_BUILD_API_FAILED Revision_ErrorCode = 4 // Cloud Build job associated with creating or updating a deployment was // started but failed. Revision_APPLY_BUILD_RUN_FAILED Revision_ErrorCode = 5 // quota validation failed for one or more resources in terraform // configuration files. Revision_QUOTA_VALIDATION_FAILED Revision_ErrorCode = 7 )
func (Revision_ErrorCode) Descriptor ¶
func (Revision_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (Revision_ErrorCode) Enum ¶
func (x Revision_ErrorCode) Enum() *Revision_ErrorCode
func (Revision_ErrorCode) EnumDescriptor
deprecated
func (Revision_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Revision_ErrorCode.Descriptor instead.
func (Revision_ErrorCode) Number ¶
func (x Revision_ErrorCode) Number() protoreflect.EnumNumber
func (Revision_ErrorCode) String ¶
func (x Revision_ErrorCode) String() string
func (Revision_ErrorCode) Type ¶
func (Revision_ErrorCode) Type() protoreflect.EnumType
type Revision_State ¶
type Revision_State int32
Possible states of a revision.
const ( // The default value. This value is used if the state is omitted. Revision_STATE_UNSPECIFIED Revision_State = 0 // The revision is being applied. Revision_APPLYING Revision_State = 1 // The revision was applied successfully. Revision_APPLIED Revision_State = 2 // The revision could not be applied successfully. Revision_FAILED Revision_State = 3 )
func (Revision_State) Descriptor ¶
func (Revision_State) Descriptor() protoreflect.EnumDescriptor
func (Revision_State) Enum ¶
func (x Revision_State) Enum() *Revision_State
func (Revision_State) EnumDescriptor
deprecated
func (Revision_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Revision_State.Descriptor instead.
func (Revision_State) Number ¶
func (x Revision_State) Number() protoreflect.EnumNumber
func (Revision_State) String ¶
func (x Revision_State) String() string
func (Revision_State) Type ¶
func (Revision_State) Type() protoreflect.EnumType
type Revision_TerraformBlueprint ¶
type Revision_TerraformBlueprint struct {
// Output only. A blueprint described using Terraform's HashiCorp
// Configuration Language as a root module.
TerraformBlueprint *TerraformBlueprint `protobuf:"bytes,6,opt,name=terraform_blueprint,json=terraformBlueprint,proto3,oneof"`
}
type Statefile ¶
type Statefile struct {
// Output only. Cloud Storage signed URI used for downloading or uploading the
// state file.
SignedUri string `protobuf:"bytes,1,opt,name=signed_uri,json=signedUri,proto3" json:"signed_uri,omitempty"`
// contains filtered or unexported fields
}
Contains info about a Terraform state file
func (*Statefile) Descriptor
deprecated
func (*Statefile) GetSignedUri ¶
func (*Statefile) ProtoMessage ¶
func (*Statefile) ProtoMessage()
func (*Statefile) ProtoReflect ¶
func (x *Statefile) ProtoReflect() protoreflect.Message
type TerraformBlueprint ¶
type TerraformBlueprint struct {
// Location of the source configs.
// Required.
//
// Types that are assignable to Source:
//
// *TerraformBlueprint_GcsSource
// *TerraformBlueprint_GitSource
Source isTerraformBlueprint_Source `protobuf_oneof:"source"`
// Optional. Input variable values for the Terraform blueprint.
InputValues map[string]*TerraformVariable `` /* 182-byte string literal not displayed */
// contains filtered or unexported fields
}
TerraformBlueprint describes the source of a Terraform root module which describes the resources and configs to be deployed.
func (*TerraformBlueprint) Descriptor
deprecated
func (*TerraformBlueprint) Descriptor() ([]byte, []int)
Deprecated: Use TerraformBlueprint.ProtoReflect.Descriptor instead.
func (*TerraformBlueprint) GetGcsSource ¶
func (x *TerraformBlueprint) GetGcsSource() string
func (*TerraformBlueprint) GetGitSource ¶
func (x *TerraformBlueprint) GetGitSource() *GitSource
func (*TerraformBlueprint) GetInputValues ¶
func (x *TerraformBlueprint) GetInputValues() map[string]*TerraformVariable
func (*TerraformBlueprint) GetSource ¶
func (m *TerraformBlueprint) GetSource() isTerraformBlueprint_Source
func (*TerraformBlueprint) ProtoMessage ¶
func (*TerraformBlueprint) ProtoMessage()
func (*TerraformBlueprint) ProtoReflect ¶
func (x *TerraformBlueprint) ProtoReflect() protoreflect.Message
func (*TerraformBlueprint) Reset ¶
func (x *TerraformBlueprint) Reset()
func (*TerraformBlueprint) String ¶
func (x *TerraformBlueprint) String() string
type TerraformBlueprint_GcsSource ¶
type TerraformBlueprint_GcsSource struct {
// URI of an object in Google Cloud Storage.
// Format: `gs://{bucket}/{object}`
//
// URI may also specify an object version for zipped objects.
// Format: `gs://{bucket}/{object}#{version}`
GcsSource string `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type TerraformBlueprint_GitSource ¶
type TerraformBlueprint_GitSource struct {
// URI of a public Git repo.
GitSource *GitSource `protobuf:"bytes,2,opt,name=git_source,json=gitSource,proto3,oneof"`
}
type TerraformError ¶
type TerraformError struct {
// Address of the resource associated with the error,
// e.g. `google_compute_network.vpc_network`.
ResourceAddress string `protobuf:"bytes,1,opt,name=resource_address,json=resourceAddress,proto3" json:"resource_address,omitempty"`
// HTTP response code returned from Google Cloud Platform APIs when Terraform
// fails to provision the resource. If unset or 0, no HTTP response code was
// returned by Terraform.
HttpResponseCode int32 `protobuf:"varint,2,opt,name=http_response_code,json=httpResponseCode,proto3" json:"http_response_code,omitempty"`
// A human-readable error description.
ErrorDescription string `protobuf:"bytes,3,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
// Output only. Original error response from underlying Google API, if
// available.
Error *status.Status `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
Errors encountered during actuation using Terraform
func (*TerraformError) Descriptor
deprecated
func (*TerraformError) Descriptor() ([]byte, []int)
Deprecated: Use TerraformError.ProtoReflect.Descriptor instead.
func (*TerraformError) GetError ¶
func (x *TerraformError) GetError() *status.Status
func (*TerraformError) GetErrorDescription ¶
func (x *TerraformError) GetErrorDescription() string
func (*TerraformError) GetHttpResponseCode ¶
func (x *TerraformError) GetHttpResponseCode() int32
func (*TerraformError) GetResourceAddress ¶
func (x *TerraformError) GetResourceAddress() string
func (*TerraformError) ProtoMessage ¶
func (*TerraformError) ProtoMessage()
func (*TerraformError) ProtoReflect ¶
func (x *TerraformError) ProtoReflect() protoreflect.Message
func (*TerraformError) Reset ¶
func (x *TerraformError) Reset()
func (*TerraformError) String ¶
func (x *TerraformError) String() string
type TerraformOutput ¶
type TerraformOutput struct {
// Identifies whether Terraform has set this output as a potential
// sensitive value.
Sensitive bool `protobuf:"varint,1,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
// Value of output.
Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Describes a Terraform output.
func (*TerraformOutput) Descriptor
deprecated
func (*TerraformOutput) Descriptor() ([]byte, []int)
Deprecated: Use TerraformOutput.ProtoReflect.Descriptor instead.
func (*TerraformOutput) GetSensitive ¶
func (x *TerraformOutput) GetSensitive() bool
func (*TerraformOutput) GetValue ¶
func (x *TerraformOutput) GetValue() *structpb.Value
func (*TerraformOutput) ProtoMessage ¶
func (*TerraformOutput) ProtoMessage()
func (*TerraformOutput) ProtoReflect ¶
func (x *TerraformOutput) ProtoReflect() protoreflect.Message
func (*TerraformOutput) Reset ¶
func (x *TerraformOutput) Reset()
func (*TerraformOutput) String ¶
func (x *TerraformOutput) String() string
type TerraformVariable ¶
type TerraformVariable struct {
// Optional. Input variable value.
InputValue *structpb.Value `protobuf:"bytes,5,opt,name=input_value,json=inputValue,proto3" json:"input_value,omitempty"`
// contains filtered or unexported fields
}
A Terraform input variable.
func (*TerraformVariable) Descriptor
deprecated
func (*TerraformVariable) Descriptor() ([]byte, []int)
Deprecated: Use TerraformVariable.ProtoReflect.Descriptor instead.
func (*TerraformVariable) GetInputValue ¶
func (x *TerraformVariable) GetInputValue() *structpb.Value
func (*TerraformVariable) ProtoMessage ¶
func (*TerraformVariable) ProtoMessage()
func (*TerraformVariable) ProtoReflect ¶
func (x *TerraformVariable) ProtoReflect() protoreflect.Message
func (*TerraformVariable) Reset ¶
func (x *TerraformVariable) Reset()
func (*TerraformVariable) String ¶
func (x *TerraformVariable) String() string
type TerraformVersion ¶ added in v0.3.0
type TerraformVersion struct {
// Identifier. The version name is in the format:
// 'projects/{project_id}/locations/{location}/terraformVersions/{terraform_version}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE.
State TerraformVersion_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.config.v1.TerraformVersion_State" json:"state,omitempty"`
// Output only. When the version is supported.
SupportTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=support_time,json=supportTime,proto3" json:"support_time,omitempty"`
// Output only. When the version is deprecated.
DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
// Output only. When the version is obsolete.
ObsoleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=obsolete_time,json=obsoleteTime,proto3,oneof" json:"obsolete_time,omitempty"`
// contains filtered or unexported fields
}
A TerraformVersion represents the support state the corresponding Terraform version.
func (*TerraformVersion) Descriptor
deprecated
added in
v0.3.0
func (*TerraformVersion) Descriptor() ([]byte, []int)
Deprecated: Use TerraformVersion.ProtoReflect.Descriptor instead.
func (*TerraformVersion) GetDeprecateTime ¶ added in v0.3.0
func (x *TerraformVersion) GetDeprecateTime() *timestamppb.Timestamp
func (*TerraformVersion) GetName ¶ added in v0.3.0
func (x *TerraformVersion) GetName() string
func (*TerraformVersion) GetObsoleteTime ¶ added in v0.3.0
func (x *TerraformVersion) GetObsoleteTime() *timestamppb.Timestamp
func (*TerraformVersion) GetState ¶ added in v0.3.0
func (x *TerraformVersion) GetState() TerraformVersion_State
func (*TerraformVersion) GetSupportTime ¶ added in v0.3.0
func (x *TerraformVersion) GetSupportTime() *timestamppb.Timestamp
func (*TerraformVersion) ProtoMessage ¶ added in v0.3.0
func (*TerraformVersion) ProtoMessage()
func (*TerraformVersion) ProtoReflect ¶ added in v0.3.0
func (x *TerraformVersion) ProtoReflect() protoreflect.Message
func (*TerraformVersion) Reset ¶ added in v0.3.0
func (x *TerraformVersion) Reset()
func (*TerraformVersion) String ¶ added in v0.3.0
func (x *TerraformVersion) String() string
type TerraformVersion_State ¶ added in v0.3.0
type TerraformVersion_State int32
Possible states of a TerraformVersion.
const ( // The default value. This value is used if the state is omitted. TerraformVersion_STATE_UNSPECIFIED TerraformVersion_State = 0 // The version is actively supported. TerraformVersion_ACTIVE TerraformVersion_State = 1 // The version is deprecated. TerraformVersion_DEPRECATED TerraformVersion_State = 2 // The version is obsolete. TerraformVersion_OBSOLETE TerraformVersion_State = 3 )
func (TerraformVersion_State) Descriptor ¶ added in v0.3.0
func (TerraformVersion_State) Descriptor() protoreflect.EnumDescriptor
func (TerraformVersion_State) Enum ¶ added in v0.3.0
func (x TerraformVersion_State) Enum() *TerraformVersion_State
func (TerraformVersion_State) EnumDescriptor
deprecated
added in
v0.3.0
func (TerraformVersion_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use TerraformVersion_State.Descriptor instead.
func (TerraformVersion_State) Number ¶ added in v0.3.0
func (x TerraformVersion_State) Number() protoreflect.EnumNumber
func (TerraformVersion_State) String ¶ added in v0.3.0
func (x TerraformVersion_State) String() string
func (TerraformVersion_State) Type ¶ added in v0.3.0
func (TerraformVersion_State) Type() protoreflect.EnumType
type UnimplementedConfigServer ¶
type UnimplementedConfigServer struct {
}
UnimplementedConfigServer should be embedded to have forward compatible implementations.
func (UnimplementedConfigServer) CreateDeployment ¶
func (UnimplementedConfigServer) CreateDeployment(context.Context, *CreateDeploymentRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) CreatePreview ¶ added in v0.2.0
func (UnimplementedConfigServer) CreatePreview(context.Context, *CreatePreviewRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) DeleteDeployment ¶
func (UnimplementedConfigServer) DeleteDeployment(context.Context, *DeleteDeploymentRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) DeletePreview ¶ added in v0.2.0
func (UnimplementedConfigServer) DeletePreview(context.Context, *DeletePreviewRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) DeleteStatefile ¶
func (UnimplementedConfigServer) DeleteStatefile(context.Context, *DeleteStatefileRequest) (*emptypb.Empty, error)
func (UnimplementedConfigServer) ExportDeploymentStatefile ¶
func (UnimplementedConfigServer) ExportDeploymentStatefile(context.Context, *ExportDeploymentStatefileRequest) (*Statefile, error)
func (UnimplementedConfigServer) ExportLockInfo ¶
func (UnimplementedConfigServer) ExportLockInfo(context.Context, *ExportLockInfoRequest) (*LockInfo, error)
func (UnimplementedConfigServer) ExportPreviewResult ¶ added in v0.2.0
func (UnimplementedConfigServer) ExportPreviewResult(context.Context, *ExportPreviewResultRequest) (*ExportPreviewResultResponse, error)
func (UnimplementedConfigServer) ExportRevisionStatefile ¶
func (UnimplementedConfigServer) ExportRevisionStatefile(context.Context, *ExportRevisionStatefileRequest) (*Statefile, error)
func (UnimplementedConfigServer) GetDeployment ¶
func (UnimplementedConfigServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
func (UnimplementedConfigServer) GetPreview ¶ added in v0.2.0
func (UnimplementedConfigServer) GetPreview(context.Context, *GetPreviewRequest) (*Preview, error)
func (UnimplementedConfigServer) GetResource ¶
func (UnimplementedConfigServer) GetResource(context.Context, *GetResourceRequest) (*Resource, error)
func (UnimplementedConfigServer) GetResourceChange ¶ added in v1.4.0
func (UnimplementedConfigServer) GetResourceChange(context.Context, *GetResourceChangeRequest) (*ResourceChange, error)
func (UnimplementedConfigServer) GetResourceDrift ¶ added in v1.4.0
func (UnimplementedConfigServer) GetResourceDrift(context.Context, *GetResourceDriftRequest) (*ResourceDrift, error)
func (UnimplementedConfigServer) GetRevision ¶
func (UnimplementedConfigServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
func (UnimplementedConfigServer) GetTerraformVersion ¶ added in v0.3.0
func (UnimplementedConfigServer) GetTerraformVersion(context.Context, *GetTerraformVersionRequest) (*TerraformVersion, error)
func (UnimplementedConfigServer) ImportStatefile ¶
func (UnimplementedConfigServer) ImportStatefile(context.Context, *ImportStatefileRequest) (*Statefile, error)
func (UnimplementedConfigServer) ListDeployments ¶
func (UnimplementedConfigServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
func (UnimplementedConfigServer) ListPreviews ¶ added in v0.2.0
func (UnimplementedConfigServer) ListPreviews(context.Context, *ListPreviewsRequest) (*ListPreviewsResponse, error)
func (UnimplementedConfigServer) ListResourceChanges ¶ added in v1.4.0
func (UnimplementedConfigServer) ListResourceChanges(context.Context, *ListResourceChangesRequest) (*ListResourceChangesResponse, error)
func (UnimplementedConfigServer) ListResourceDrifts ¶ added in v1.4.0
func (UnimplementedConfigServer) ListResourceDrifts(context.Context, *ListResourceDriftsRequest) (*ListResourceDriftsResponse, error)
func (UnimplementedConfigServer) ListResources ¶
func (UnimplementedConfigServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
func (UnimplementedConfigServer) ListRevisions ¶
func (UnimplementedConfigServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
func (UnimplementedConfigServer) ListTerraformVersions ¶ added in v0.3.0
func (UnimplementedConfigServer) ListTerraformVersions(context.Context, *ListTerraformVersionsRequest) (*ListTerraformVersionsResponse, error)
func (UnimplementedConfigServer) LockDeployment ¶
func (UnimplementedConfigServer) LockDeployment(context.Context, *LockDeploymentRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) UnlockDeployment ¶
func (UnimplementedConfigServer) UnlockDeployment(context.Context, *UnlockDeploymentRequest) (*longrunningpb.Operation, error)
func (UnimplementedConfigServer) UpdateDeployment ¶
func (UnimplementedConfigServer) UpdateDeployment(context.Context, *UpdateDeploymentRequest) (*longrunningpb.Operation, error)
type UnlockDeploymentRequest ¶
type UnlockDeploymentRequest struct {
// Required. The name of the deployment in the format:
// 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Lock ID of the lock file to be unlocked.
LockId int64 `protobuf:"varint,2,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
// contains filtered or unexported fields
}
A request to unlock a state file passed to a 'UnlockDeployment' call.
func (*UnlockDeploymentRequest) Descriptor
deprecated
func (*UnlockDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockDeploymentRequest.ProtoReflect.Descriptor instead.
func (*UnlockDeploymentRequest) GetLockId ¶
func (x *UnlockDeploymentRequest) GetLockId() int64
func (*UnlockDeploymentRequest) GetName ¶
func (x *UnlockDeploymentRequest) GetName() string
func (*UnlockDeploymentRequest) ProtoMessage ¶
func (*UnlockDeploymentRequest) ProtoMessage()
func (*UnlockDeploymentRequest) ProtoReflect ¶
func (x *UnlockDeploymentRequest) ProtoReflect() protoreflect.Message
func (*UnlockDeploymentRequest) Reset ¶
func (x *UnlockDeploymentRequest) Reset()
func (*UnlockDeploymentRequest) String ¶
func (x *UnlockDeploymentRequest) String() string
type UnsafeConfigServer ¶ added in v1.5.1
type UnsafeConfigServer interface {
// contains filtered or unexported methods
}
UnsafeConfigServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigServer will result in compilation errors.
type UpdateDeploymentRequest ¶
type UpdateDeploymentRequest struct {
// Optional. Field mask used to specify the fields to be overwritten in the
// Deployment resource by the update.
//
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. [Deployment][google.cloud.config.v1.Deployment] to update.
//
// The deployment's `name` field is used to identify the resource to be
// updated. Format:
// `projects/{project}/locations/{location}/deployments/{deployment}`
Deployment *Deployment `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDeploymentRequest) Descriptor
deprecated
func (*UpdateDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDeploymentRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeploymentRequest) GetDeployment ¶
func (x *UpdateDeploymentRequest) GetDeployment() *Deployment
func (*UpdateDeploymentRequest) GetRequestId ¶
func (x *UpdateDeploymentRequest) GetRequestId() string
func (*UpdateDeploymentRequest) GetUpdateMask ¶
func (x *UpdateDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDeploymentRequest) ProtoMessage ¶
func (*UpdateDeploymentRequest) ProtoMessage()
func (*UpdateDeploymentRequest) ProtoReflect ¶
func (x *UpdateDeploymentRequest) ProtoReflect() protoreflect.Message
func (*UpdateDeploymentRequest) Reset ¶
func (x *UpdateDeploymentRequest) Reset()
func (*UpdateDeploymentRequest) String ¶
func (x *UpdateDeploymentRequest) String() string