Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::Developerconnect::V1::DeploymentEvent.
The DeploymentEvent resource represents the deployment of the artifact within the InsightsConfig resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#artifact_deployments
def artifact_deployments() -> ::Array<::Google::Cloud::Developerconnect::V1::ArtifactDeployment>
Returns
- (::Array<::Google::Cloud::Developerconnect::V1::ArtifactDeployment>) — Output only. The artifact deployments of the DeploymentEvent. Each artifact deployment contains the artifact uri and the runtime configuration uri. For GKE, this would be all the containers images that are deployed in the pod.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The create time of the DeploymentEvent.
#deploy_time
def deploy_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which the DeploymentEvent was deployed. This would be the min of all ArtifactDeployment deploy_times.
#name
def name() -> ::String
Returns
- (::String) — Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
Returns
- (::String) — Identifier. The name of the DeploymentEvent. This name is provided by Developer Connect insights. Format: projects/{project}/locations/{location}/insightsConfigs/{insights_config}/deploymentEvents/{uuid}
#runtime_config
def runtime_config() -> ::Google::Cloud::Developerconnect::V1::RuntimeConfig
Returns
- (::Google::Cloud::Developerconnect::V1::RuntimeConfig) — Output only. The runtime configurations where the DeploymentEvent happened.
#runtime_deployment_uri
def runtime_deployment_uri() -> ::String
Returns
- (::String) — Output only. The runtime assigned URI of the DeploymentEvent. For GKE, this is the fully qualified replica set uri. e.g. container.googleapis.com/projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/apps/replicasets/{replica-set-id} For Cloud Run, this is the revision name.
#state
def state() -> ::Google::Cloud::Developerconnect::V1::DeploymentEvent::State
Returns
- (::Google::Cloud::Developerconnect::V1::DeploymentEvent::State) — Output only. The state of the DeploymentEvent.
#undeploy_time
def undeploy_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which the DeploymentEvent was undeployed, all artifacts are considered undeployed once this time is set. This would be the max of all ArtifactDeployment undeploy_times. If any ArtifactDeployment is still active (i.e. does not have an undeploy_time), this field will be empty.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The update time of the DeploymentEvent.