GithubEnterpriseConfigArgs class
The set of arguments for GithubEnterpriseConfig. The set of arguments for GithubEnterpriseConfig.
Constructors
-
GithubEnterpriseConfigArgs({required Input<
String> appId, Input<String> ? displayName, Input<String> ? gheConfigId, Input<String> ? hostUrl, Input<String> ? location, Input<String> ? name, Input<String> ? peeredNetwork, Input<String> ? project, Input<String> ? projectId, Input<GitHubEnterpriseSecrets> ? secrets, Input<String> ? sslCa, Input<String> ? webhookKey}) -
Creates a new GithubEnterpriseConfigArgs.
appIdThe GitHub app id of the Cloud Build app on the GitHub Enterprise server.displayNameName to display for this config.gheConfigIdOptional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric characterhostUrlThe URL of the github enterprise host the configuration is for.locationOptional.nameOptional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"peeredNetworkOptional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the formatprojects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.projectOptional.projectIdID of the project.secretsNames of secrets in Secret Manager.sslCaOptional. SSL certificate to use for requests to GitHub Enterprise.webhookKeyThe key that should be attached to webhook calls to the ReceiveWebhook endpoint.const -
GithubEnterpriseConfigArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appId
→ Input<
String> -
The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
final
-
displayName
→ Input<
String> ? -
Name to display for this config.
final
-
gheConfigId
→ Input<
String> ? -
Optional. The ID to use for the GithubEnterpriseConfig, which will become the final component of the GithubEnterpriseConfig's resource name. ghe_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostUrl
→ Input<
String> ? -
The URL of the github enterprise host the configuration is for.
final
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
final
-
peeredNetwork
→ Input<
String> ? -
Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format
projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.final -
project
→ Input<
String> ? -
final
-
projectId
→ Input<
String> ? -
ID of the project.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
→ Input<
GitHubEnterpriseSecrets> ? -
Names of secrets in Secret Manager.
final
-
sslCa
→ Input<
String> ? -
Optional. SSL certificate to use for requests to GitHub Enterprise.
final
-
webhookKey
→ Input<
String> ? -
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited