DEVELOPERCONNECT

developerconnect.projects.locations.connections.create

enum_GitHubConfigGithubApp := [ "GIT_HUB_APP_UNSPECIFIED", "DEVELOPER_CONNECT", "FIREBASE" ]

valid {
    input.Body.annotations.STRING == STRING
    input.Body.cryptoKeyConfig.keyReference == STRING
    input.Body.disabled == BOOLEAN
    input.Body.etag == STRING
    input.Body.githubConfig.appInstallationId == STRING
    input.Body.githubConfig.authorizerCredential.oauthTokenSecretVersion == STRING
    input.Body.githubConfig.githubApp == enum_GitHubConfigGithubApp[_]
    input.Body.githubEnterpriseConfig.appId == STRING
    input.Body.githubEnterpriseConfig.appInstallationId == STRING
    input.Body.githubEnterpriseConfig.hostUri == STRING
    input.Body.githubEnterpriseConfig.privateKeySecretVersion == STRING
    input.Body.githubEnterpriseConfig.serviceDirectoryConfig.service == STRING
    input.Body.githubEnterpriseConfig.sslCaCertificate == STRING
    input.Body.githubEnterpriseConfig.webhookSecretSecretVersion == STRING
    input.Body.gitlabConfig.authorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabConfig.readAuthorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabConfig.webhookSecretSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.authorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.hostUri == STRING
    input.Body.gitlabEnterpriseConfig.readAuthorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.serviceDirectoryConfig.service == STRING
    input.Body.gitlabEnterpriseConfig.sslCaCertificate == STRING
    input.Body.gitlabEnterpriseConfig.webhookSecretSecretVersion == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.connectionId == STRING
    input.Qs.requestId == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.etag == STRING
    input.Qs.requestId == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.fetchGitHubInstallations

valid {
    input.ReqMap.connection == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.fetchLinkableGitRepositories

valid {
    input.ReqMap.connection == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.create

valid {
    input.Body.annotations.STRING == STRING
    input.Body.cloneUri == STRING
    input.Body.etag == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.gitRepositoryLinkId == STRING
    input.Qs.requestId == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.etag == STRING
    input.Qs.requestId == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.fetchGitRefs

enum_RefTypeParameter := [ "REF_TYPE_UNSPECIFIED", "TAG", "BRANCH" ]

valid {
    input.ReqMap.gitRepositoryLink == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.refType == enum_RefTypeParameter[_]
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadToken

valid {
    input.Body.STRING == STRING
    input.ReqMap.gitRepositoryLink == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadWriteToken

valid {
    input.Body.STRING == STRING
    input.ReqMap.gitRepositoryLink == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.gitRepositoryLinks.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.orderBy == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.connections.patch

enum_GitHubConfigGithubApp := [ "GIT_HUB_APP_UNSPECIFIED", "DEVELOPER_CONNECT", "FIREBASE" ]

valid {
    input.Body.annotations.STRING == STRING
    input.Body.cryptoKeyConfig.keyReference == STRING
    input.Body.disabled == BOOLEAN
    input.Body.etag == STRING
    input.Body.githubConfig.appInstallationId == STRING
    input.Body.githubConfig.authorizerCredential.oauthTokenSecretVersion == STRING
    input.Body.githubConfig.githubApp == enum_GitHubConfigGithubApp[_]
    input.Body.githubEnterpriseConfig.appId == STRING
    input.Body.githubEnterpriseConfig.appInstallationId == STRING
    input.Body.githubEnterpriseConfig.hostUri == STRING
    input.Body.githubEnterpriseConfig.privateKeySecretVersion == STRING
    input.Body.githubEnterpriseConfig.serviceDirectoryConfig.service == STRING
    input.Body.githubEnterpriseConfig.sslCaCertificate == STRING
    input.Body.githubEnterpriseConfig.webhookSecretSecretVersion == STRING
    input.Body.gitlabConfig.authorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabConfig.readAuthorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabConfig.webhookSecretSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.authorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.hostUri == STRING
    input.Body.gitlabEnterpriseConfig.readAuthorizerCredential.userTokenSecretVersion == STRING
    input.Body.gitlabEnterpriseConfig.serviceDirectoryConfig.service == STRING
    input.Body.gitlabEnterpriseConfig.sslCaCertificate == STRING
    input.Body.gitlabEnterpriseConfig.webhookSecretSecretVersion == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.allowMissing == BOOLEAN
    input.Qs.requestId == STRING
    input.Qs.updateMask == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.operations.cancel

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.operations.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.operations.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

developerconnect.projects.locations.operations.list

valid {
    input.ReqMap.name == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}