Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::Developerconnect::V1::InsightsConfig.
The InsightsConfig resource is the core configuration object to capture events from your Software Development Lifecycle. It acts as the central hub for managing how Developer Connect understands your application, its runtime environments, and the artifacts deployed within them.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User specified annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations.
#app_hub_application
def app_hub_application() -> ::String-
(::String) — Optional. The name of the App Hub Application.
Format:
projects/{project}/locations/{location}/applications/{application}
Note: The following fields are mutually exclusive:
app_hub_application,projects. If a field in that set is populated, all other fields in the set will automatically be cleared.
#app_hub_application=
def app_hub_application=(value) -> ::String-
value (::String) — Optional. The name of the App Hub Application.
Format:
projects/{project}/locations/{location}/applications/{application}
Note: The following fields are mutually exclusive:
app_hub_application,projects. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The name of the App Hub Application.
Format:
projects/{project}/locations/{location}/applications/{application}
Note: The following fields are mutually exclusive:
app_hub_application,projects. If a field in that set is populated, all other fields in the set will automatically be cleared.
#artifact_configs
def artifact_configs() -> ::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>- (::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>) — Optional. The artifact configurations of the artifacts that are deployed.
#artifact_configs=
def artifact_configs=(value) -> ::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>- value (::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>) — Optional. The artifact configurations of the artifacts that are deployed.
- (::Array<::Google::Cloud::Developerconnect::V1::ArtifactConfig>) — Optional. The artifact configurations of the artifacts that are deployed.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Create timestamp.
#errors
def errors() -> ::Array<::Google::Rpc::Status>-
(::Array<::Google::Rpc::Status>) — Output only. Any errors that occurred while setting up the InsightsConfig.
Each error will be in the format:
field_name: error_message, e.g. GetAppHubApplication: Permission denied while getting App Hub application. Please grant permissions to the P4SA.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with an InsightsConfig.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with an InsightsConfig.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with an InsightsConfig.
#name
def name() -> ::String- (::String) — Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
#name=
def name=(value) -> ::String- value (::String) — Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
- (::String) — Identifier. The name of the InsightsConfig. Format: projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
#projects
def projects() -> ::Google::Cloud::Developerconnect::V1::Projects-
(::Google::Cloud::Developerconnect::V1::Projects) — Optional. The projects to track with the InsightsConfig.
Note: The following fields are mutually exclusive:
projects,app_hub_application. If a field in that set is populated, all other fields in the set will automatically be cleared.
#projects=
def projects=(value) -> ::Google::Cloud::Developerconnect::V1::Projects-
value (::Google::Cloud::Developerconnect::V1::Projects) — Optional. The projects to track with the InsightsConfig.
Note: The following fields are mutually exclusive:
projects,app_hub_application. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Developerconnect::V1::Projects) — Optional. The projects to track with the InsightsConfig.
Note: The following fields are mutually exclusive:
projects,app_hub_application. If a field in that set is populated, all other fields in the set will automatically be cleared.
#reconciling
def reconciling() -> ::Boolean- (::Boolean) — Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of InsightsConfig does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
#runtime_configs
def runtime_configs() -> ::Array<::Google::Cloud::Developerconnect::V1::RuntimeConfig>- (::Array<::Google::Cloud::Developerconnect::V1::RuntimeConfig>) — Output only. The runtime configurations where the application is deployed.
#state
def state() -> ::Google::Cloud::Developerconnect::V1::InsightsConfig::State- (::Google::Cloud::Developerconnect::V1::InsightsConfig::State) — Optional. Output only. The state of the InsightsConfig.
#state=
def state=(value) -> ::Google::Cloud::Developerconnect::V1::InsightsConfig::State- value (::Google::Cloud::Developerconnect::V1::InsightsConfig::State) — Optional. Output only. The state of the InsightsConfig.
- (::Google::Cloud::Developerconnect::V1::InsightsConfig::State) — Optional. Output only. The state of the InsightsConfig.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Update timestamp.