func projectResourceName()

in pkg/plugin/cloudlogging/client.go [346:353]


func projectResourceName(projectId string, bucketId string, viewId string) string {
	if viewId != "" {
		return fmt.Sprintf("projects/%s/locations/%s/views/%s", projectId, bucketId, viewId)
	} else {
		// Use default `_AllLogs` view
		return fmt.Sprintf("projects/%s/locations/%s/views/_AllLogs", projectId, bucketId)
	}
}